I'm using an nfr52840 board.
I noticed that when using The 'zephry-sdk' v3.5.99-ncs1-1, when doing a passive scan using:
BT_LE_SCAN_PASSIVE
which sets:
BT_LE_SCAN_PARAM(BT_LE_SCAN_TYPE_PASSIVE, BT_LE_SCAN_OPT_FILTER_DUPLICATE, BT_GAP_SCAN_FAST_INTERVAL, BT_GAP_SCAN_FAST_WINDOW)
I get continuous duplicate advertisement packets
However using the upstream zephyr with exactly the same configuration, I only get each advertisement once (until the scan is stopped/restarted)
Note that I am not using any NRF connect specific code...This is pure zephyr.
Is there any way to get the upstream behavior when using the nordic zephyr-sdk branch?