sl_bt_evt_scanner_extended_advertisement_reportScanner
Reports an advertising or scan response packet from an advertising device that uses extended advertising PDUs.
Data Structures | |
struct | sl_bt_evt_scanner_extended_advertisement_report_s |
Data structure of the extended_advertisement_report event. | |
Macros | |
#define | sl_bt_evt_scanner_extended_advertisement_report_id 0x020500a0 |
Identifier of the extended_advertisement_report event. | |
Detailed Description
Reports an advertising or scan response packet from an advertising device that uses extended advertising PDUs.
Multiple events may be reported for single advertisement train.
This event is used to report advertisements only if the application includes the bluetooth_feature_extended_scanner component. Otherwise, the sl_bt_evt_scanner_scan_report event is used for maintaining the backwards compatibility.
Data Structure Documentation
◆ sl_bt_evt_scanner_extended_advertisement_report_s
struct sl_bt_evt_scanner_extended_advertisement_report_s |
Data structure of the extended_advertisement_report event.
Data Fields | ||
---|---|---|
uint8_t | event_flags |
The event type flag(s) in the advertisement packet. Value: One or more flags defined in Event Type Flags of Advertisement Reports |
bd_addr | address |
Advertiser address |
uint8_t | address_type |
Advertiser address type. Values:
|
uint8_t | bonding |
Bonding handle if the remote advertising device has previously bonded with the local device. Values:
|
int8_t | rssi |
Signal strength indicator (RSSI) in the last received packet. Units: dBm
|
uint8_t | channel |
The channel number on which the last packet was received |
bd_addr | target_address |
The target address if this is directed advertising, otherwise ignored |
uint8_t | target_address_type |
The target address type if this is directed advertising, otherwise ignored. Values:
|
uint8_t | adv_sid |
Advertising set identifier |
uint8_t | primary_phy |
Enum sl_bt_gap_phy_t. The PHY on which advertising packets are transmitted on the primary advertising channel Values:
|
uint8_t | secondary_phy |
Enum sl_bt_gap_phy_t. The PHY on which advertising packets are transmitted on the secondary advertising channel Values:
|
int8_t | tx_power |
TX power value in the received packet header. Units: dBm
|
uint16_t | periodic_interval |
The periodic advertising interval. Value 0 indicates no periodic advertising. Otherwise,
|
uint8_t | data_completeness |
Enum sl_bt_scanner_data_status_t. The data completeness status. Values:
|
uint8_t | counter |
The monotonically increasing counter as the sequence number of the event. This counter is specific to sl_bt_evt_scanner_extended_advertisement_report_id. It can be used to detect if one more sl_bt_evt_scanner_extended_advertisement_report events were dropped due to temporarily out of resources or other reasons. Ignore this field if event loss is not a concern. |
uint8array | data |
Advertising or scan response data |