Zephyr API 3.6.99
Loading...
Searching...
No Matches
bt_le_scan_recv_info Struct Reference

LE advertisement and scan response packet information. More...

#include <bluetooth.h>

Data Fields

const bt_addr_le_taddr
 Advertiser LE address and type.
 
uint8_t sid
 Advertising Set Identifier.
 
int8_t rssi
 Strength of advertiser signal.
 
int8_t tx_power
 Transmit power of the advertiser.
 
uint8_t adv_type
 Advertising packet type.
 
uint16_t adv_props
 Advertising packet properties bitfield.
 
uint16_t interval
 Periodic advertising interval (N * 1.25 ms).
 
uint8_t primary_phy
 Primary advertising channel PHY.
 
uint8_t secondary_phy
 Secondary advertising channel PHY.
 

Detailed Description

LE advertisement and scan response packet information.

Field Documentation

◆ addr

const bt_addr_le_t* bt_le_scan_recv_info::addr

Advertiser LE address and type.

If advertiser is anonymous then this address will be BT_ADDR_LE_ANY.

◆ adv_props

uint16_t bt_le_scan_recv_info::adv_props

Advertising packet properties bitfield.

Uses the BT_GAP_ADV_PROP_* values. May indicate that this is a scan response if the value contains the BT_GAP_ADV_PROP_SCAN_RESPONSE bit.

◆ adv_type

uint8_t bt_le_scan_recv_info::adv_type

Advertising packet type.

Uses the BT_GAP_ADV_TYPE_* value.

May indicate that this is a scan response if the type is BT_GAP_ADV_TYPE_SCAN_RSP.

◆ interval

uint16_t bt_le_scan_recv_info::interval

Periodic advertising interval (N * 1.25 ms).

If 0 there is no periodic advertising.

◆ primary_phy

uint8_t bt_le_scan_recv_info::primary_phy

Primary advertising channel PHY.

◆ rssi

int8_t bt_le_scan_recv_info::rssi

Strength of advertiser signal.

◆ secondary_phy

uint8_t bt_le_scan_recv_info::secondary_phy

Secondary advertising channel PHY.

◆ sid

uint8_t bt_le_scan_recv_info::sid

Advertising Set Identifier.

◆ tx_power

int8_t bt_le_scan_recv_info::tx_power

Transmit power of the advertiser.


The documentation for this struct was generated from the following file: