esp_idf_hal::sys

Function esp_ble_resolve_adv_data

Source
pub unsafe extern "C" fn esp_ble_resolve_adv_data(
    adv_data: *mut u8,
    type_: u8,
    length: *mut u8,
) -> *mut u8
Expand description

@brief This function is called to get ADV data for a specific type.

@param[in] adv_data - pointer of ADV data which to be resolved @param[in] type - finding ADV data type @param[out] length - return the length of ADV data not including type

@return pointer of ADV data