samples: bluetooth: Fix scan filter

We should use no filter filter to process adv data
according to code comment above.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
Lingao Meng 2021-09-02 08:53:06 +08:00 committed by Anas Nashif
commit 34a1d676c9

View file

@ -228,7 +228,7 @@ static int scan_start(void)
*/ */
struct bt_le_scan_param scan_param = { struct bt_le_scan_param scan_param = {
.type = BT_LE_SCAN_TYPE_ACTIVE, .type = BT_LE_SCAN_TYPE_ACTIVE,
.options = BT_LE_SCAN_OPT_FILTER_DUPLICATE, .options = BT_LE_SCAN_OPT_NONE,
.interval = BT_GAP_SCAN_FAST_INTERVAL, .interval = BT_GAP_SCAN_FAST_INTERVAL,
.window = BT_GAP_SCAN_FAST_WINDOW, .window = BT_GAP_SCAN_FAST_WINDOW,
}; };