#[repr(C)]pub struct bt_le_per_adv_sync_synced_info {
pub addr: *const bt_addr_le_t,
pub sid: u8,
pub interval: u16,
pub phy: u8,
pub recv_enabled: bool,
pub service_data: u16,
pub conn: *mut bt_conn,
}
Fields§
§addr: *const bt_addr_le_t
Advertiser LE address and type.
sid: u8
Advertiser SID
interval: u16
Periodic advertising interval (N * 1.25 ms)
phy: u8
Advertiser PHY
recv_enabled: bool
True if receiving periodic advertisements, false otherwise.
service_data: u16
@brief Service Data provided by the peer when sync is transferred
Will always be 0 when the sync is locally created.
conn: *mut bt_conn
@brief Peer that transferred the periodic advertising sync
Will always be 0 when the sync is locally created.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_per_adv_sync_synced_info
impl RefUnwindSafe for bt_le_per_adv_sync_synced_info
impl !Send for bt_le_per_adv_sync_synced_info
impl !Sync for bt_le_per_adv_sync_synced_info
impl Unpin for bt_le_per_adv_sync_synced_info
impl UnwindSafe for bt_le_per_adv_sync_synced_info
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