This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

missing ADV events while scanning

I am using nrf52DK board as an observer to test my beacons. I have kept scanning enabled all the time (scanning interval & scanning window same), but the scan_evt_handler() is missing beacons many times, it is not able to capture all the beacons. I am setting filter while scanning to receive beacons only from the intended device.

#define SCAN_INTERVAL 0x00A0 /**< Determines scan interval in units of 0.625 millisecond. */
#define SCAN_WINDOW 0x00A0 /**< Determines scan window in units of 0.625 millisecond. */
#define SCAN_DURATION 0x0000 /**< Timout when scanning. 0x0000 disables timeout. */

nrf_ble_scan_filters_enable(&m_scan, SCAN_ADDR_FILTER, false);

What can I do to make sure that my nrf52DK board is receiving all the beacons sent by the peripheral. Both peripheral and scanner are kept near by. will connecting an antenna to nrf52 DK board (as given below)  help it to receive all the ADV events.

Parents Reply Children
Related