Function esp_idf_svc::sys::esp_bluedroid_init_with_cfg
source ยท pub unsafe extern "C" fn esp_bluedroid_init_with_cfg(
cfg: *mut esp_bluedroid_config_t,
) -> i32
Expand description
@brief Init and alloc the resource for bluetooth, must be prior to every bluetooth stuff.
@param cfg Initial configuration of ESP Bluedroid stack.
@return - ESP_OK : Succeed - Other : Failed