Hi,
I'm having some problems with sporadic disconnects with reason 8 (timeout) although the RSSI values are in a good range.
The disconnects are very rare, I would say maybe every 1-2 hours; if there is more interference, then maybe more.
As peripheral and central I'm using a NRF52840; my RTOS is Zephyr and my NCS Version is 2.5.1
Details:
- I'm using coded PHY S8
- RSSI values are all about -70dbm
- Connection parameter:
- Interval: 400ms
- Latency: 4 (means every 2 seconds the sensor must awake and send
- Timeout 8 seconds
- External LF crystal, 20ppm
I've already tried to play around with the PPM settings and tried CONFIG_CLOCK_CONTROL_NRF_K32SRC_150PPM, but there was no improvement. Also the crystal is rated with 20ppm, so I think that should not be the problem.
I've chooses the connection parameter like this, because I really do not have to send much data and want to keep the battery consumption on a minimum.
What could be the problem and how could I improve the connection? What can I try?
Thanks a lot,
Phobios