#[repr(C)]pub struct bt_le_scan_recv_info {
    pub addr: *const bt_addr_le_t,
    pub sid: u8,
    pub rssi: i8,
    pub tx_power: i8,
    pub adv_type: u8,
    pub adv_props: u16,
    pub interval: u16,
    pub primary_phy: u8,
    pub secondary_phy: u8,
}Expand description
LE advertisement and scan response packet information
Fields§
§addr: *const bt_addr_le_t@brief Advertiser LE address and type.
If advertiser is anonymous then this address will be @ref BT_ADDR_LE_ANY.
sid: u8Advertising Set Identifier, valid range @ref BT_GAP_SID_MIN to @ref BT_GAP_SID_MAX.
rssi: i8Strength of advertiser signal.
tx_power: i8Transmit power of the advertiser.
adv_type: u8@brief Advertising packet type.
Uses the @ref bt_gap_adv_type value.
May indicate that this is a scan response if the type is @ref BT_GAP_ADV_TYPE_SCAN_RSP.
adv_props: u16@brief Advertising packet properties bitfield.
Uses the @ref bt_gap_adv_prop values. May indicate that this is a scan response if the value contains the @ref BT_GAP_ADV_PROP_SCAN_RESPONSE bit.
interval: u16@brief Periodic advertising interval (N * 1.25 ms).
If 0 there is no periodic advertising.
primary_phy: u8Primary advertising channel PHY.
secondary_phy: u8Secondary advertising channel PHY.