Parameters for legacy scanning. More...

#include <ble_gapm.h>

Data Fields

gap_scan_type_t scan_type
 
gap_scan_mode_t scan_mode
 
gap_scan_dup_filt_policy_t scan_dup_filt
 
bool use_whitelist
 
uint16_t interval
 
uint16_t window
 
uint16_t timeout
 

Detailed Description

Parameters for legacy scanning.

Field Documentation

◆ interval

uint16_t gap_scan_param_t::interval

Scan interval between 0x0004 and 0x4000 in 0.625 ms (range: 2.5 ms to 10.24s).

◆ scan_dup_filt

gap_scan_dup_filt_policy_t gap_scan_param_t::scan_dup_filt

Duplicate filter policy.

◆ scan_mode

gap_scan_mode_t gap_scan_param_t::scan_mode

Scan mode.

◆ scan_type

gap_scan_type_t gap_scan_param_t::scan_type

Active scanning or passive scanning.

◆ timeout

uint16_t gap_scan_param_t::timeout

Scan timeout should be a value between 0x0001 and 0xFFFF(unit: 10 ms). 0x0000 indicates that the timeout has no effect.

◆ use_whitelist

bool gap_scan_param_t::use_whitelist

Filter policy.

◆ window

uint16_t gap_scan_param_t::window

Scan window between 0x0004 and 0x4000 in 0.625 ms (range: 2.5 ms to 10.24s).


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