nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gap_evt_adv_report_t Struct Reference

Event data for advertising report event. More...

#include <ble_gap.h>

Data Fields

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

Detailed Description

Event data for advertising report event.

Field Documentation

uint8_t ble_gap_evt_adv_report_t::data[31]

Advertising or scan response data.

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.

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 BLE_GAP_ADV_TYPES. Only valid if the scan_rsp field is 0.