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 |
Parameters for legacy scanning.
uint16_t gap_scan_param_t::interval |
Scan interval between 0x0004 and 0x4000 in 0.625 ms (range: 2.5 ms to 10.24s).
gap_scan_dup_filt_policy_t gap_scan_param_t::scan_dup_filt |
Duplicate filter policy.
gap_scan_mode_t gap_scan_param_t::scan_mode |
Scan mode.
gap_scan_type_t gap_scan_param_t::scan_type |
Active scanning or passive scanning.
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.
bool gap_scan_param_t::use_whitelist |
Filter policy.
uint16_t gap_scan_param_t::window |
Scan window between 0x0004 and 0x4000 in 0.625 ms (range: 2.5 ms to 10.24s).