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

Central device disconnects BLE connection after 30 seconds

I have problem with BLE connection being constantly disconnected after 30 seconds. It is always disconnected by central device. It doesn't matter if it is iOS, Android or Windows 10 PC. It doesn't matter if my device is paired or not. I think that my code could be somehow not compatible with BLE standard requirements. How can I check the specific reason of disconnection? All I see now is reason 0x13 Remote User Terminated Connection. But it doesn't help much. My code is based on ANCS and HRS FreeRTOS examples.

Here is complete over the air log captured with Wireshark:

disconnect.pcapng

Related