#[repr(C)]pub struct bt_le_per_adv_sync_transfer_param {
pub skip: u16,
pub timeout: u16,
pub options: u32,
}
Expand description
@brief Parameters for periodic advertising sync transfer.
@details This struct defines the parameters for configuring periodic advertising sync transfers (PASTs). It includes settings for the maximum event skip, synchronization timeout, and options for sync transfer.
@note Used in the @ref bt_le_per_adv_sync_transfer_subscribe function to configure sync transfer settings.
Fields§
§skip: u16
@brief Maximum event skip
The number of periodic advertising packets that can be skipped after a successful receive.
timeout: u16
@brief Synchronization timeout (N * 10 ms)
Synchronization timeout for the periodic advertising sync. Range 0x000A to 0x4000 (100 ms to 163840 ms)
options: u32
Periodic Advertising Sync Transfer options
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_per_adv_sync_transfer_param
impl RefUnwindSafe for bt_le_per_adv_sync_transfer_param
impl Send for bt_le_per_adv_sync_transfer_param
impl Sync for bt_le_per_adv_sync_transfer_param
impl Unpin for bt_le_per_adv_sync_transfer_param
impl UnwindSafe for bt_le_per_adv_sync_transfer_param
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more