openthread_sys::spinel

Constant SPINEL_PROP_BASE_EXT__BEGIN

Source
pub const SPINEL_PROP_BASE_EXT__BEGIN: _bindgen_ty_24 = 4096;
Expand description

NCP’s MCU Power State ** Format: ’C`

  • Required capability: CAP_MCU_POWER_SAVE
  • This property specifies the desired power state of NCP’s micro-controller
  • (MCU) when the underlying platform’s operating system enters idle mode (i.e.,
  • all active tasks/events are processed and the MCU can potentially enter a
  • energy-saving power state).
  • The power state primarily determines how the host should interact with the NCP
  • and whether the host needs an external trigger (a “poke”) to NCP before it can
  • communicate with the NCP or not. After a reset, the MCU power state MUST be
  • SPINEL_MCU_POWER_STATE_ON.
  • Enumeration spinel_mcu_power_state_t defines the valid values
  • (SPINEL_MCU_POWER_STATE_* constants):
  • SPINEL_MCU_POWER_STATE_ON: NCP’s MCU stays on and active all the time.
  • When the NCP’s desired power state is set to this value, host can send
  • messages to NCP without requiring any “poke” or external triggers. MCU is
  • expected to stay on and active. Note that the ON power state only
  • determines the MCU’s power mode and is not related to radio’s state.
  • SPINEL_MCU_POWER_STATE_LOW_POWER: NCP’s MCU can enter low-power
  • (energy-saving) state. When the NCP’s desired power state is set to
  • LOW_POWER, host is expected to “poke” the NCP (e.g., an external trigger
  • like an interrupt) before it can communicate with the NCP (send a message
  • to the NCP). The “poke” mechanism is determined by the platform code (based
  • on NCP’s interface to the host).
  • While power state is set to LOW_POWER, NCP can still (at any time) send
  • messages to host. Note that receiving a message from the NCP does NOT
  • indicate that the NCP’s power state has changed, i.e., host is expected to
  • continue to “poke” NCP when it wants to talk to the NCP until the power
  • state is explicitly changed (by setting this property to ON).
  • Note that the LOW_POWER power state only determines the MCU’s power mode
  • and is not related to radio’s state.
  • SPINEL_MCU_POWER_STATE_OFF: NCP is fully powered off.
  • An NCP hardware reset (via a RESET pin) is required to bring the NCP back
  • to SPINEL_MCU_POWER_STATE_ON. RAM is not retained after reset.

*/