Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
+ Collaboration diagram for Sleep Callbacks:

Functions

zb_bool_t tr_pre_sleep_cb (zb_uint32_t sleep_duration_ms)
 Callback that fires before going to sleep.
 
void tr_post_wake_cb (void)
 Callback that fires after waking from sleep.
 

Detailed Description



Function Documentation

◆ tr_post_wake_cb()

void tr_post_wake_cb ( void )

Callback that fires after waking from sleep.

◆ tr_pre_sleep_cb()

zb_bool_t tr_pre_sleep_cb ( zb_uint32_t sleep_duration_ms)

Callback that fires before going to sleep.

Parameters
sleep_duration_mssleep duration in milliseconds
Returns
ZB_TRUE if ok to sleep, ZB_FALSE if not