#[repr(C)]pub struct bt_le_per_adv_sync_param {
pub addr: bt_addr_le_t,
pub sid: u8,
pub options: u32,
pub skip: u16,
pub timeout: u16,
}
Expand description
@brief Parameters for creating a periodic advertising sync object.
@details This struct contains the parameters required to create a periodic advertising sync object, which allows the system to synchronize with periodic advertising reports from an advertiser. It includes the advertiser’s address, SID, sync options, event skip, and synchronization timeout.
@note bt_le_per_adv_sync_param is used as a parameter in the @ref bt_le_per_adv_sync_create function to configure synchronization behavior.
Fields§
§addr: bt_addr_le_t
@brief Periodic Advertiser Address
Only valid if not using the periodic advertising list (BT_LE_PER_ADV_SYNC_OPT_USE_PER_ADV_LIST)
sid: u8
@brief Advertiser SID
Only valid if not using the periodic advertising list (BT_LE_PER_ADV_SYNC_OPT_USE_PER_ADV_LIST)
options: u32
Bit-field of periodic advertising sync options.
skip: u16
@brief Maximum event skip
Maximum number of periodic advertising events that can be skipped after a successful receive. Range: 0x0000 to 0x01F3
timeout: u16
@brief Synchronization timeout (N * 10 ms)
Synchronization timeout for the periodic advertising sync. Range 0x000A to 0x4000 (100 ms to 163840 ms)