pub unsafe extern "C" fn bt_le_ext_adv_get_index(
adv: *mut bt_le_ext_adv,
) -> u8
Expand description
@brief Get array index of an advertising set.
This function is used to map bt_adv to index of an array of advertising sets. The array has CONFIG_BT_EXT_ADV_MAX_ADV_SET elements.
@param adv Advertising set.
@return Index of the advertising set object. The range of the returned value is 0..CONFIG_BT_EXT_ADV_MAX_ADV_SET-1