#[repr(C)]pub struct bt_le_per_adv_sync_term_info {
pub addr: *const bt_addr_le_t,
pub sid: u8,
pub reason: u8,
}
Expand description
@brief Information about the termination of a periodic advertising sync.
@details This struct provides information about the termination of a periodic advertising sync. It includes the advertiser’s address and SID, along with the reason for the sync termination. This information is provided in the callback when the sync is terminated, either due to a local or remote request, or due to missing data (e.g., out of range or lost sync).
@note Used in @ref bt_le_per_adv_sync_cb structure.
Fields§
§addr: *const bt_addr_le_t
Advertiser LE address and type.
sid: u8
Advertiser SID
reason: u8
Cause of periodic advertising termination
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_per_adv_sync_term_info
impl RefUnwindSafe for bt_le_per_adv_sync_term_info
impl !Send for bt_le_per_adv_sync_term_info
impl !Sync for bt_le_per_adv_sync_term_info
impl Unpin for bt_le_per_adv_sync_term_info
impl UnwindSafe for bt_le_per_adv_sync_term_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