add support for active scanning.
This commit is contained in:
parent
7d0cc16975
commit
459e83e03b
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ public:
|
|||
if ((onAdvertisementReport = callback) != NULL) {
|
||||
|
||||
ble_gap_scan_params_t scanParams = {
|
||||
.active = 0, /**< If 1, perform active scanning (scan requests). */
|
||||
.active = scanningParams.getActiveScanning(), /**< If 1, perform active scanning (scan requests). */
|
||||
.selective = 0, /**< If 1, ignore unknown devices (non whitelisted). */
|
||||
.p_whitelist = NULL, /**< Pointer to whitelist, NULL if none is given. */
|
||||
.interval = scanningParams.getInterval(), /**< Scan interval between 0x0004 and 0x4000 in 0.625ms units (2.5ms to 10.24s). */
|
||||
|
|
Loading…
Reference in a new issue