Collaboration diagram for Sleep API References:Functions | |
| 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_allow_sleep | ( | zb_bool_t | allow | ) |
API to allow app to disable or enable sleep.
| allow | ZB_TRUE to allow device to sleep, ZB_FALSE to prevent sleep |
| zb_bool_t tr_check_for_sleep | ( | zb_uint32_t | sleep_time_ms | ) |
API to check to see if sleep is allowed.
| sleep_time_ms | sleep duration in milliseconds |