BT_SYS_AllowSystemSleep

C

bool BT_SYS_AllowSystemSleep(uint32_t ulRtcFrequency, uint32_t ulRtcCurrentCnt);

Description

Check if the Bluetooth system allows the system to enter sleep mode.

Parameters

ParameterDescription
[in] ulRtcFrequencyThe frequency of the RTC used for timing sleep duration.
[in] ulRtcCurrentCntThe current count value of the RTC.

Return values

Return valueDescription
trueThe Bluetooth system is sleeping and allows the system to sleep.
falseThe Bluetooth system is not sleeping or disallows the system to sleep.