Function esp_idf_sys::esp_bt_controller_init
source ยท pub unsafe extern "C" fn esp_bt_controller_init(
cfg: *mut esp_bt_controller_config_t,
) -> esp_err_t
Expand description
@brief Initialize the Bluetooth Controller to allocate tasks and other resources
@note This function should be called only once, before any other Bluetooth functions.
@param[in] cfg Initial Bluetooth Controller configuration
@return - ESP_OK: Success - ESP_ERR_INVALID_STATE: Invalid Bluetooth Controller state