pub unsafe extern "C" fn bt_le_per_adv_sync_lookup_index(
index: u8,
) -> *mut bt_le_per_adv_sync
Expand description
@brief Get a periodic advertising sync object from the array index.
This function is to get the periodic advertising sync object from the array index. The array has @kconfig{CONFIG_BT_PER_ADV_SYNC_MAX} elements.
@param index The index of the periodic advertising sync object. The range of the index value is 0..@kconfig{CONFIG_BT_PER_ADV_SYNC_MAX}-1
@return The periodic advertising sync object of the array index or NULL if invalid index.