From 2ba3ded232e84aa37a234e6df438e676098c479a Mon Sep 17 00:00:00 2001 From: Patrick Rathje Date: Fri, 23 Apr 2021 15:23:56 +0200 Subject: [PATCH] Use new BLE scan parameter option to filter --- src/covid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/covid.c b/src/covid.c index cd9d8db..1e18024 100644 --- a/src/covid.c +++ b/src/covid.c @@ -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 };