BT_SYS_EnterSleepMode
C
bool BT_SYS_EnterSleepMode(uint32_t ulRtcFrequency, uint32_t ulRtcCurrentCnt);
Description
Request the Bluetooth system to enter sleep mode.
Parameters
Parameter | Description |
---|---|
[in] ulRtcFrequency | The frequency of the RTC used for timing sleep duration. |
[in] ulRtcCurrentCnt | The current count value of the RTC. |
Return values
Return value | Description |
---|---|
true | The Bluetooth system is ready for idle and entering sleep mode. |
false | The Bluetooth system is not ready for idle or already sleeping. |