Function riot_sys::bluetil_ad_find

source ·
pub unsafe extern "C" fn bluetil_ad_find(
    ad: *const bluetil_ad_t,
    type_: u8,
    data: *mut bluetil_ad_data_t
) -> c_int
Expand description

@brief Find a specific field in the given advertising data

@param[in] ad advertising data descriptor @param[in] type field type to look for @param[out] data position and length of the field’s payload

@return BLUETIL_AD_OK if field was found @return BLUETIL_AD_NOTFOUND if field was not found