5.1.2.24 ZDO_WakeUpReq Function
Syntax
void ZDO_WakeUpReq(ZDO_WakeUpReq_t *req);
Description
This function forces the stack to wake up from the Sleep mode. The application must use this function to wake up the stack if the wake-up occurred not due to the sleep timer, but rather due to an external interrupt.
In this case, when the callback for the interrupt executes, the stack is not yet operational and the application initiates an asynchronous wake-up request via this function.
The response statuses, accessed via the
ZDO_WakeUpConf_t-status
field of the ZDO_WakeUpReq_t-ZDO_WakeUpConf
callback’ s argument, are as follows:- ZDO_SUCCESS_STATUS (0x00) – Successful completion of operation, the stack is functional
- ZDO_INVALID_REQUEST_STATUS (0x80) – The stack is awake.
Parameter Name | Description |
---|---|
req | Wake-up request parameters |
Return Type and Values
- None