| S332 SoftDevice v2.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gap_opt_scan_req_report_t Struct Reference
Structures

Scan request report option. More...

`#include <ble_gap.h>`

## Data Fields
uint8_t | enable: 1

## Detailed Description

Scan request report option.

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

Note
  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_SUCCESS | Set successfully.
  NRF_ERROR_INVALID_STATE | When advertising is ongoing while the option is set.

## Field Documentation

uint8_t ble_gap_opt_scan_req_report_t::enable

Enable scan request reports.