Disconnect BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED

Subject: Assistance Required: Troubleshooting nRF52840 and nRF52832 Connection Issues

Hi,

I am currently working on a project involving a nRF52840 (S140) serving as the central device, attempting to connect to a nRF52832 (S113), which functions as a peripheral. We occasionally encounter an issue where the connection fails with the error: BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED. Although the connection is initially successful, it abruptly stops working after a few successful attempts.

In my troubleshooting efforts, I have monitored the communication between the two devices and observed that the peripheral does not respond to the CONNECT_REQ from the client.

Given this situation, I have several questions:
1. Do the scan parameters of the central device influence this issue? I believe they shouldn't, but I would like to confirm.
2. Could the advertising parameters of the peripheral be impacting the connection stability?
3. Are the connection parameters set on both devices contributing to this problem?
4. Could you provide some insight into what might be causing this issue, and suggest where we should focus our troubleshooting efforts in our application? Which SoftDevice calls could potentially be impacting this situation?

For a clearer understanding, I am attaching a Wireshark trace. At second 163, there is a successful connection establishment, and at second 176, the connection attempt fails.

Thank you for your help.

Parents Reply Children
Related