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_opt_scan_req_report_t Struct Reference

ble_gap_opt_scan_req_report_t Struct Reference

Scan request report option. More...

#include <ble_gap.h>

Data Fields

uint8_t enable: 1
 Enable scan request reports.

Detailed Description

Scan request report option.

This can be used with sd_ble_opt_set to make the SoftDevice send BLE_GAP_EVT_SCAN_REQ_REPORT events.

Due to the limited space reserved for scan request report events, not all received scan requests will be reported.
If whitelisting is used, only whitelisted requests are reported.
Return values:
NRF_SUCCESSSet successfully.
NRF_ERROR_INVALID_STATEWhen advertising is ongoing while the option is set.

Definition at line 863 of file ble_gap.h.

Field Documentation

uint8_t enable

Enable scan request reports.

Definition at line 865 of file ble_gap.h.