Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_IDLE_SLEEP_PLUGIN_IDLE_SLEEP_AWAKE_WHEN_NOT_JOINED
 plugin idle-sleep awake-when-not-joined [stayAwakeWhenNotJoined:1]
 
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_IDLE_SLEEP_PLUGIN_IDLE_SLEEP_FORCE_AWAKE
 plugin idle-sleep force-awake [stayAwake:1]
 
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_IDLE_SLEEP_PLUGIN_IDLE_SLEEP_STATUS
 plugin idle-sleep status

Detailed Description

The Sleep plugin contributes several commands to the application framework's CLI. These commands are used to control the idling and sleeping behavior of the device.

Macro Definition Documentation

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_IDLE_SLEEP_PLUGIN_IDLE_SLEEP_AWAKE_WHEN_NOT_JOINED

plugin idle-sleep awake-when-not-joined [stayAwakeWhenNotJoined:1]

  • Sets whether the device stays awake when not joined to a ZigBee network.
    • stayAwakeWhenNotJoined - BOOLEAN - The value indicating whether the device should stay awake when not joined to a ZigBee network.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_IDLE_SLEEP_PLUGIN_IDLE_SLEEP_FORCE_AWAKE

plugin idle-sleep force-awake [stayAwake:1]

  • Sets whether the device is forced to stay awake.
    • stayAwake - BOOLEAN - The value indicating whether the device should stay awake.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_IDLE_SLEEP_PLUGIN_IDLE_SLEEP_STATUS

plugin idle-sleep status

  • Display the status of the sleeping behavior.