Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
tr_sleep.h
Go to the documentation of this file.
1
10#ifndef TR_SLEEP_H
11#define TR_SLEEP_H
12
18
22zb_bool_t tr_pre_sleep_cb(zb_uint32_t sleep_duration_ms);
23
25void tr_post_wake_cb(void);
26
28
34
37void tr_allow_sleep(zb_bool_t allow);
38
42zb_bool_t tr_check_for_sleep(zb_uint32_t sleep_time_ms);
43
45
46#endif // TR_SLEEP_H
void tr_allow_sleep(zb_bool_t allow)
API to allow app to disable or enable sleep.
zb_bool_t tr_check_for_sleep(zb_uint32_t sleep_time_ms)
API to check to see if sleep is allowed.
void tr_post_wake_cb(void)
Callback that fires after waking from sleep.
zb_bool_t tr_pre_sleep_cb(zb_uint32_t sleep_duration_ms)
Callback that fires before going to sleep.