Data structure of the legacy_advertisement_report event.
Public Attribute Documentation#
event_flags#
uint8_t sl_bt_evt_scanner_legacy_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
3853
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
address#
bd_addr sl_bt_evt_scanner_legacy_advertisement_report_s::address
Advertiser address
3857
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
address_type#
uint8_t sl_bt_evt_scanner_legacy_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
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_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)
3858
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
bonding#
uint8_t sl_bt_evt_scanner_legacy_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
3891
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
rssi#
int8_t sl_bt_evt_scanner_legacy_advertisement_report_s::rssi
Signal strength indicator (RSSI) in the last received packet. Units: dBm
Range: -127 to +20
3897
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
channel#
uint8_t sl_bt_evt_scanner_legacy_advertisement_report_s::channel
The channel number on which the last packet was received
3900
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
target_address#
bd_addr sl_bt_evt_scanner_legacy_advertisement_report_s::target_address
The target address if the advertisement is from directed advertising, otherwise ignored
3902
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
target_address_type#
uint8_t sl_bt_evt_scanner_legacy_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)
3905
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
data#
uint8array sl_bt_evt_scanner_legacy_advertisement_report_s::data
Advertising or scan response data. Ignore if this is directed advertising.
3941
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h