Android app disconnects when from device receiving notifications from multiple devices

Hello everyone,

I am currently developing an Android app, where I have 2 BLE custom boards with the nRF52832 as a BLE chip. Each board has the same firmware running on it and is configured to send notification of 20 bytes in a 50Hz frequency. I am using the the Nordic BLE library to connect and communicate with the devices.

The connection to both devices works without any issues. Initially the phone is receiving data from both sensors but after a short time (between 1 - 5 seconds) the phone disconnects itself from one sensor. The Logcat for the app doe not provide any useful information either. The only thing i can see there is, that the device has been disconnected (only onConnectionUpdated is shown. No disconnect request).

Connecting the same devices with the equivalent iOS app does work. So I assume the error has to be in some way, how I handle it on Android.

If you need any additional information please let me know.

Thank you all in advance.

Parents Reply Children
Related