esp_ble_gap_config_adv_data() function
This function is called to override the BTA default ADV parameters.
Arguments
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 value
- ESP_OK : success - other : failed
Examples
esp_ble_gap_config_adv_data() is referenced by 10 libraries and example projects: