S132 SoftDevice v5.0.0
Data Fields
ble_gap_evt_adv_report_t Struct Reference

Event structure for BLE_GAP_EVT_ADV_REPORT. More...

#include <ble_gap.h>

Data Fields

ble_gap_addr_t peer_addr
ble_gap_addr_t direct_addr
int8_t rssi
uint8_t scan_rsp: 1
uint8_t type: 2
uint8_t dlen: 5
uint8_t data [(31)]

Detailed Description

Event structure for BLE_GAP_EVT_ADV_REPORT.

Field Documentation

uint8_t ble_gap_evt_adv_report_t::data[(31)]

Advertising or scan response data.

ble_gap_addr_t ble_gap_evt_adv_report_t::direct_addr
                   Set when the scanner is unable to resolve the private resolvable address of the initiator

field of a directed advertisement packet and the scanner has been enabled to report this in ble_gap_scan_params_t::adv_dir_report.

uint8_t ble_gap_evt_adv_report_t::dlen

Advertising or scan response data length.

ble_gap_addr_t ble_gap_evt_adv_report_t::peer_addr
                     Bluetooth address of the peer device. If the peer_addr resolved: @ref ble_gap_addr_t::addr_id_peer is set to 1

and the address is the device's identity address.

int8_t ble_gap_evt_adv_report_t::rssi

Received Signal Strength Indication in dBm.

uint8_t ble_gap_evt_adv_report_t::scan_rsp

If 1, the report corresponds to a scan response and the type field may be ignored.

uint8_t ble_gap_evt_adv_report_t::type

See GAP Advertising types. Only valid if the scan_rsp field is 0.

Documentation feedback | Developer Zone | Subscribe | Updated