R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

ble_gap_evt_adv_report_t Struct Reference

ble_gap_evt_adv_report_t Struct Reference
[Structures]

Event structure for BLE_GAP_EVT_ADV_REPORT. More...

#include <ble_gap.h>

Data Fields

ble_gap_addr_t peer_addr
 Bluetooth address of the peer device.
int8_t rssi
 Received Signal Strength Indication in dBm.
uint8_t scan_rsp: 1
 If 1, the report corresponds to a scan response and the type field may be ignored.
uint8_t type: 2
 See GAP Advertising types.
uint8_t dlen: 5
 Advertising or scan response data length.
uint8_t data [BLE_GAP_ADV_MAX_SIZE]
 Advertising or scan response data.

Detailed Description

Event structure for BLE_GAP_EVT_ADV_REPORT.

Definition at line 686 of file ble_gap.h.


Field Documentation

uint8_t data[BLE_GAP_ADV_MAX_SIZE]

Advertising or scan response data.

Definition at line 693 of file ble_gap.h.

uint8_t dlen

Advertising or scan response data length.

Definition at line 692 of file ble_gap.h.

Bluetooth address of the peer device.

Definition at line 688 of file ble_gap.h.

int8_t rssi

Received Signal Strength Indication in dBm.

Definition at line 689 of file ble_gap.h.

uint8_t scan_rsp

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

Definition at line 690 of file ble_gap.h.

uint8_t type

See GAP Advertising types.

Only valid if the scan_rsp field is 0.

Definition at line 691 of file ble_gap.h.