Function esp_idf_svc::sys::esp_ble_gap_config_adv_data

source ยท
pub unsafe extern "C" fn esp_ble_gap_config_adv_data(
    adv_data: *mut esp_ble_adv_data_t,
) -> i32
Expand description

@brief This function is called to override the BTA default ADV parameters.

@param[in] adv_data: Pointer to User defined ADV data structure. This memory space can not be freed until callback of config_adv_data is received.

@return - ESP_OK : success - other : failed