Force sleep and Wakeup#
API and Callbacks for the Zigbee Force sleep and Wakeup Component.
This component can put the zigbee device to sleep immediately through CLI and wakeup with a GPIO interrupt (by pressing Button 1 of WSTK)
Modules#
Functions#
API Documentation#
sl_zigbee_app_framework_force_stop#
void sl_zigbee_app_framework_force_stop (void )
Puts Zigbee device to sleep immediately.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
This API will purge queues, cancel all polls & events and calls rail idle to satisfy all conditions needed to go to EM2. Removes EM1 requirement if set which allows power manager to sleep.
sl_zigbee_app_framework_force_wakeup#
void sl_zigbee_app_framework_force_wakeup (void )
Makes Zigbee device to undo force sleep.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
This API will check all conditions, bring back the radio in RX mode, then calls the power manager and makes sure the correct EM requirements are set which will cause a proper wakeup