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

Relay with buttonless dfu code stop scanning beacon with random event

In our project nrf52 device scans for nrf52 beacon device throughout the day. It scans number of beacons available and send it to esp32 device on serial. that is how its working. The problem is sometimes it stop scanning beacon and sends number of beacon 0 even if beacons are available it happens continue until restart.I have tested from hardware side and its okay but i think there is a problem from BLE Stack side.

i am using following scan parameter,

.extended = 1,
.active = 1,
.interval = SCAN_INTERVAL(0x640),
.window = SCAN_WINDOW(0x640),
.timeout = SCAN_DURATION(0),
.scan_phys = BLE_GAP_PHY_1MBPS,
.filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,

please suggest probable issue,(sdk 15)

Related