Hi,
I am seeing a strange issue with nRF52840 Dongle when I run a custom BLE connection test repeatedly. Below is my configuration:
FW in nRF52840 was programmed using nRF Connect for Desktop v5.0.2
nRF52840 Dongle is configured as Peripheral with 2 custom GATT services.
Another custom HW board is configured as Central.
Pytest is used for test framework i.e. it configures the dongle and custom board.
Test case is to start nRF52840 Dongle to advertise and custom board to connect to the dongle and discover available GATT services.
The test case fails 1 out of 20 iterations, or sometimes even sooner. The problem seems like nRF52840 Dongle does not respond after receiving CONNECT_IND packet. The dongle still remains in ADVertising state which means it didn't process the CONNECT_IND for some reason. I can clearly see CONNECT_IND in the BLE sniffer logs so there is nothing wrong with this. I don't know how to check on the dongle side what went wrong. Can anyone please give me some pointers? I have the wireshark sniffer logs and can share it if required.
FYI, I ran this test in RF chamber(with zero noise/interference). The test seems to pass. It only fails when I do it outside the RF chamber.
Regards,
Rudhir