Function esp_idf_svc::sys::esp_bt_controller_deinit
source ยท pub unsafe extern "C" fn esp_bt_controller_deinit() -> i32
Expand description
@brief De-initialize BT controller to free resource and delete task. You should stop advertising and scanning, as well as disconnect all existing connections before de-initializing BT controller.
This function should be called only once, after any other BT functions are called. This function is not whole completed, esp_bt_controller_init cannot called after this function. @return ESP_OK - success, other - failed