|API|bool MiApp_ReadyToSleep(uint32_t* sleepTime)| |Description|This API helps to know if the stack is ready to sleep and how much time stack allows to sleep if it is ready| |Pre-Condition|None| |Parameters|uint32_t* sleep Time – pointer to sleep time which gets filled with the sleep time if the stack is ready to sleep| |Returns|A boolean to indicate if the stack is ready to sleep or not| |Example|-| |Remarks|-|
Parent topic:MiApp API Description