Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
tr_sleep.h File Reference

plugin for allowing sleep and getting alerted about pre/post sleep More...

Go to the source code of this file.

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.
 
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.
 

Detailed Description

plugin for allowing sleep and getting alerted about pre/post sleep


SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com