Data structure of the extended_advertisement_report event.
Public Attributes#
Public Attribute Documentation#
event_flags#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::event_flags
The event type flag(s) in the advertisement packet. Value: One or more flags defined in Event Type Flags of Advertisement Reports
3465
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
address#
bd_addr sl_bt_evt_scanner_extended_advertisement_report_s::address
Advertiser address
3469
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
address_type#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::address_type
Enum sl_bt_gap_address_type_t.
Advertiser address type.
If the application does not include the bluetooth_feature_use_accurate_api_address_types component, address_type
uses the following values:
0: Public address
1: Random address
255: No address provided (anonymous advertising)
If the application includes the bluetooth_feature_use_accurate_api_address_types component, address_type
uses enum sl_bt_gap_address_type_t values:
sl_bt_gap_public_address (0x0): Public device address
sl_bt_gap_static_address (0x1): Static device address
sl_bt_gap_random_resolvable_address (0x2): Resolvable private random address
sl_bt_gap_random_nonresolvable_address (0x3): Non-resolvable private random address
sl_bt_gap_anonymous_address (0xff): No address provided (anonymous advertising)
sl_bt_gap_public_address_resolved_from_rpa (0x4): Public identity address resolved from a resolvable private address (RPA)
sl_bt_gap_static_address_resolved_from_rpa (0x5): Static identity address resolved from a resolvable private address (RPA)
3470
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
bonding#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::bonding
Bonding handle if the remote advertising device has previously bonded with the local device. Values:
SL_BT_INVALID_BONDING_HANDLE (0xff): No bonding
Other: Bonding handle
3508
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
rssi#
int8_t sl_bt_evt_scanner_extended_advertisement_report_s::rssi
Signal strength indicator (RSSI) in the last received packet. Units: dBm
Range: -127 to +20
3514
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
channel#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::channel
The channel number on which the last packet was received
3517
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
target_address#
bd_addr sl_bt_evt_scanner_extended_advertisement_report_s::target_address
The target address if this is directed advertising, otherwise ignored
3519
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
target_address_type#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::target_address_type
Enum sl_bt_gap_address_type_t.
The target address type if the advertisement is from directed advertising, otherwise ignored.
If the application does not include the bluetooth_feature_use_accurate_api_address_types component, target_address_type
uses the following values:
0: Public address
1: Random address
If the application includes the bluetooth_feature_use_accurate_api_address_types component, target_address_type
uses enum sl_bt_gap_address_type_t values:
sl_bt_gap_public_address (0x0): Public device address
sl_bt_gap_static_address (0x1): Static device address
sl_bt_gap_random_resolvable_address (0x2): Resolvable private random address
sl_bt_gap_random_nonresolvable_address (0x3): Non-resolvable private random address
sl_bt_gap_public_address_resolved_from_rpa (0x4): Public identity address resolved from a resolvable private address (RPA)
sl_bt_gap_static_address_resolved_from_rpa (0x5): Static identity address resolved from a resolvable private address (RPA)
3521
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
adv_sid#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::adv_sid
Advertising set identifier
3557
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
primary_phy#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::primary_phy
Enum sl_bt_gap_phy_t. The PHY on which advertising packets are transmitted on the primary advertising channel Values:
sl_bt_gap_phy_1m (0x1): 1M PHY
sl_bt_gap_phy_coded (0x4): Coded PHY, 125k (S=8) or 500k (S=2)
3558
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
secondary_phy#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::secondary_phy
Enum sl_bt_gap_phy_t. The PHY on which advertising packets are transmitted on the secondary advertising channel Values:
sl_bt_gap_phy_1m (0x1): 1M PHY
sl_bt_gap_phy_2m (0x2): 2M PHY
sl_bt_gap_phy_coded (0x4): Coded PHY, 125k (S=8) or 500k (S=2)
3565
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
tx_power#
int8_t sl_bt_evt_scanner_extended_advertisement_report_s::tx_power
TX power value in the received packet header. Units: dBm
Range: -127 to 126
Value 127: information unavailable
3573
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
periodic_interval#
uint16_t sl_bt_evt_scanner_extended_advertisement_report_s::periodic_interval
The periodic advertising interval. Value 0 indicates no periodic advertising. Otherwise,
Range: 0x06 to 0xFFFF
Unit: 1.25 ms
Time range: 7.5 ms to 81.92 s
3578
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
data_completeness#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::data_completeness
Enum sl_bt_scanner_data_status_t. The data completeness status. Values:
sl_bt_scanner_data_status_complete (0x0): All data of the advertisement has been reported.
sl_bt_scanner_data_status_incomplete_more (0x1): Data of the advertisement is incomplete in this event, and more data will come in new events.
sl_bt_scanner_data_status_incomplete_nomore (0x2): Data of the advertisement is incomplete in this event, but no more data will come, i.e., the data of the advertisement is truncated.
3585
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
counter#
uint8_t sl_bt_evt_scanner_extended_advertisement_report_s::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.
3599
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
data#
uint8array sl_bt_evt_scanner_extended_advertisement_report_s::data
Advertising or scan response data
3609
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h