Hello,
I have a running system constituted of a central and 15 peripherals using nRF52840 devices. The central is set to scan the peripherals for 5 seconds then stop and restart the scanning 30 seconds after and so on. After 5 seconds, the scan callback should receive a "NRF_BLE_SCAN_EVT_SCAN_TIMEOUT" event from the softdevice which should trigger a scan completed event in my code. However, after I let the system run for multiple hours, randomly at some point (sometimes after 5 hours, 12 hours, 1 hour), the scan callback is not called at all at the end of the 5 seconds and I don't understand why. I have tried to stop an on-going scan when the system wants to start scanning again for peripherals with the previous scanning sequence not officially completed. Unfortunately the software is not able to get out of the previous uncompleted scanning and is not able to perform device discoveries anymore even if I stopped the previous scan. Can somebody help me with this problem? Thanks.