Function esp_idf_sys::esp_bt_sleep_disable
source ยท pub unsafe extern "C" fn esp_bt_sleep_disable() -> esp_err_t
Expand description
@brief Disable Bluetooth modem sleep
@note
1. Bluetooth Controller will not be allowed to enter modem sleep after calling this function.
2. In ORIG modem sleep mode, calling this function may not immediately wake up the Controller if it is currently dormant.
In this case, esp_bt_controller_wakeup_request()
can be used to shorten the wake-up time.
3. This function shall not be invoked before esp_bt_controller_enable()
.
@return - ESP_OK: Success - ESP_ERR_INVALID_STATE: Invalid Bluetooth Controller state - ESP_ERR_NOT_SUPPORTED: Operation or feature not supported