pub unsafe extern "C" fn bt_le_per_adv_sync_get_index(
per_adv_sync: *mut bt_le_per_adv_sync,
) -> u8
Expand description
@brief Get array index of an periodic advertising sync object.
This function is to get the index of an array of periodic advertising sync objects. The array has @kconfig{CONFIG_BT_PER_ADV_SYNC_MAX} elements.
@param per_adv_sync The periodic advertising sync object.
@return Index of the periodic advertising sync object. The range of the returned value is 0..@kconfig{CONFIG_BT_PER_ADV_SYNC_MAX}-1