Function esp_idf_svc::sys::esp_bt_controller_is_sleeping
source ยท pub unsafe extern "C" fn esp_bt_controller_is_sleeping() -> bool
Expand description
@brief to check whether bluetooth controller is sleeping at the instant, if modem sleep is enabled
Note that this function shall not be invoked before esp_bt_controller_enable() This function is supposed to be used ORIG mode of modem sleep
@return true if in modem sleep state, false otherwise