nRF5 SDK v15.3.0
Data Fields
scan_evt_t Struct Reference

Structure for Scanning Module event data. More...

#include <nrf_ble_scan.h>

Data Fields

nrf_ble_scan_evt_t scan_evt_id
 
union {
   nrf_ble_scan_evt_filter_match_t   filter_match
 
   ble_gap_evt_scan_req_report_t   req_report
 
   ble_gap_evt_timeout_t   timeout
 
   ble_gap_evt_adv_report_t const *   p_whitelist_adv_report
 
   ble_gap_evt_adv_report_t const *   p_not_found
 
   nrf_ble_scan_evt_connected_t   connected
 
   nrf_ble_scan_evt_connecting_err_t   connecting_err
 
params
 
ble_gap_scan_params_t const * p_scan_params
 

Detailed Description

Structure for Scanning Module event data.

This structure is used to send module event data to the main application when an event occurs.

Field Documentation

nrf_ble_scan_evt_connected_t scan_evt_t::connected

Connected event parameters.

nrf_ble_scan_evt_connecting_err_t scan_evt_t::connecting_err

Error event when connecting. Propagates the error code returned by the SoftDevice API sd_ble_gap_scan_start.

nrf_ble_scan_evt_filter_match_t scan_evt_t::filter_match

Scan filter match.

ble_gap_evt_adv_report_t const* scan_evt_t::p_not_found

Advertising report event parameters when filter is not found.

ble_gap_scan_params_t const* scan_evt_t::p_scan_params

GAP scanning parameters. These parameters are needed to establish connection.

ble_gap_evt_adv_report_t const* scan_evt_t::p_whitelist_adv_report

Advertising report event parameters for whitelist.

ble_gap_evt_scan_req_report_t scan_evt_t::req_report

Scan request report parameters.

nrf_ble_scan_evt_t scan_evt_t::scan_evt_id

Type of event propagated to the main application.

ble_gap_evt_timeout_t scan_evt_t::timeout

Timeout event parameters.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated