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 sleeping and allows the system to sleep. |
| false | The Bluetooth system is not sleeping or disallows the system to sleep. |
