Function esp_idf_svc::hal::sys::esp_ble_gap_config_adv_data_raw
source · pub unsafe extern "C" fn esp_ble_gap_config_adv_data_raw(
raw_data: *mut u8,
raw_data_len: u32,
) -> i32
Expand description
@brief This function is called to set raw advertising data. User need to fill ADV data by self.
@param[in] raw_data : raw advertising data with the format: [Length 1][Data Type 1][Data 1][Length 2][Data Type 2][Data 2] … @param[in] raw_data_len : raw advertising data length , less than 31 bytes
@return - ESP_OK : success - other : failed