#[repr(C)]pub struct bt_le_per_adv_sync_recv_info {
pub addr: *const bt_addr_le_t,
pub sid: u8,
pub tx_power: i8,
pub rssi: i8,
pub cte_type: u8,
}
Expand description
@brief Information about a received periodic advertising report.
@details This struct holds information about a periodic advertising event that has been received. It contains details such as the advertiser’s address, SID, transmit power, RSSI, CTE type, and additional information depending on the configuration (e.g., event counter and subevent in case of a subevent indication). This information is provided in the callback when periodic advertising data is received.
@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
tx_power: i8
The TX power of the advertisement.
rssi: i8
The RSSI of the advertisement excluding any CTE.
cte_type: u8
The Constant Tone Extension (CTE) of the advertisement (@ref bt_df_cte_type)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_per_adv_sync_recv_info
impl RefUnwindSafe for bt_le_per_adv_sync_recv_info
impl !Send for bt_le_per_adv_sync_recv_info
impl !Sync for bt_le_per_adv_sync_recv_info
impl Unpin for bt_le_per_adv_sync_recv_info
impl UnwindSafe for bt_le_per_adv_sync_recv_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