nRF5 SDK v15.3.0
Data Fields
nrf_ble_scan_t Struct Reference

Scan module instance. Options for the different scanning modes. More...

#include <nrf_ble_scan.h>

Data Fields

nrf_ble_scan_filters_t scan_filters
 
bool connect_if_match
 
ble_gap_conn_params_t conn_params
 
uint8_t conn_cfg_tag
 
ble_gap_scan_params_t scan_params
 
nrf_ble_scan_evt_handler_t evt_handler
 
uint8_t scan_buffer_data [NRF_BLE_SCAN_BUFFER]
 
ble_data_t scan_buffer
 

Detailed Description

Scan module instance. Options for the different scanning modes.

This structure stores all module settings. It is used to enable or disable scanning modes and to configure filters.

Field Documentation

uint8_t nrf_ble_scan_t::conn_cfg_tag

Variable to keep track of what connection settings will be used if a filer match or a whitelist match results in a connection.

ble_gap_conn_params_t nrf_ble_scan_t::conn_params

Connection parameters.

bool nrf_ble_scan_t::connect_if_match

If set to true, the module automatically connects after a filter match or successful identification of a device from the whitelist.

nrf_ble_scan_evt_handler_t nrf_ble_scan_t::evt_handler

Handler for the scanning events. Can be initialized as NULL if no handling is implemented in the main application.

ble_data_t nrf_ble_scan_t::scan_buffer

Structure-stored pointer to the buffer where advertising reports will be stored by the SoftDevice.

uint8_t nrf_ble_scan_t::scan_buffer_data[NRF_BLE_SCAN_BUFFER]

Buffer where advertising reports will be stored by the SoftDevice.

nrf_ble_scan_filters_t nrf_ble_scan_t::scan_filters

Filter data.

ble_gap_scan_params_t nrf_ble_scan_t::scan_params

GAP scanning parameters.


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

Documentation feedback | Developer Zone | Subscribe | Updated