nrf_ble_scan_init_t

nRF5 SDK v17.0.2

Structure for Scanning Module initialization. More...

#include <nrf_ble_scan.h>

Detailed Description

Structure for Scanning Module initialization.

Field Documentation

uint8_t nrf_ble_scan_init_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.

bool nrf_ble_scan_init_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.

ble_gap_conn_params_t const* nrf_ble_scan_init_t::p_conn_param

Connection parameters. Can be initialized as NULL. If NULL, the default static configuration is used.

ble_gap_scan_params_t const* nrf_ble_scan_init_t::p_scan_param

BLE GAP scan parameters required to initialize the module. Can be initialized as NULL. If NULL, the parameters required to initialize the module are loaded from the static configuration.

  • components/ble/nrf_ble_scan/nrf_ble_scan.h