Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
LE advertisement and scan response packet information. More...
#include <bluetooth.h>
Data Fields | |
const bt_addr_le_t * | addr |
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. | |
LE advertisement and scan response packet information.
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.
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.
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.
uint16_t bt_le_scan_recv_info::interval |
Periodic advertising interval (N * 1.25 ms).
If 0 there is no periodic advertising.
uint8_t bt_le_scan_recv_info::primary_phy |
Primary advertising channel PHY.
int8_t bt_le_scan_recv_info::rssi |
Strength of advertiser signal.
uint8_t bt_le_scan_recv_info::secondary_phy |
Secondary advertising channel PHY.
uint8_t bt_le_scan_recv_info::sid |
Advertising Set Identifier.
int8_t bt_le_scan_recv_info::tx_power |
Transmit power of the advertiser.