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

Unexpected connection termination

We are developing BLE 5.0 products using the nRF52832 running the Nordic S132 v6.0.0 softdevice and SDK version 15.0.0.

We noticed that one of our test devices, a Huawei Nexus 6P, would be disconnected after about 30 seconds from the microcontroller with a timeout error code (0x08). The error code that the microcontroller presented on disconnect was BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT (0x22). At first we thought it was an issue with our Android app, so we used the nRF Connect app for debugging and got the same result.

We experience this issue seemingly only with the Huawei Nexus 6P (Android 8.1). We tried to reproduce the issue on a Samsung Galaxy Tab S4 (Android 8.1), Pixel XL (Android 7.1.2) and Pixel 2 (Android 9.0) and had stable connections.

What causes this error code to be used? Are we incorrectly setting up our connection to handle devices that do not support BLE 5.0?

Related