esp_idf_hal::sys

Function 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