Function esp_idf_sys::esp_bt_controller_deinit

source ยท
pub unsafe extern "C" fn esp_bt_controller_deinit() -> esp_err_t
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. @return ESP_OK - success, other - failed