Use new BLE scan parameter option to filter

This commit is contained in:
Patrick Rathje 2021-04-23 15:23:56 +02:00
parent 45de4666c8
commit 2ba3ded232
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ K_TIMER_DEFINE(my_timer, my_timer_handler, NULL);
static const struct bt_le_scan_param scan_param = {
.type = BT_HCI_LE_SCAN_PASSIVE,
.filter_dup = BT_HCI_LE_SCAN_FILTER_DUP_DISABLE,
.options = BT_LE_SCAN_OPT_FILTER_DUPLICATE,
.interval = 0x0010, //Scan Interval (N * 0.625 ms), TODO: set to correct interval
.window = 0x0010, //Scan Window (N * 0.625 ms), TODO: set to correct interval
};