react-native-ble-manager icon indicating copy to clipboard operation
react-native-ble-manager copied to clipboard

Getting unexpected connection error on Android

Open ndebartha opened this issue 3 years ago • 0 comments

Trying to connect multiple BLE simultaneously (2-3 BLE at a time) and writing data to the respective BLE.

But the BLEManager is returning connection error or Peripheral not found exception when I'm trying to connect to the BLE or trying to retrieve services etc.

This is not always replicable but sometimes out of 3, 1 BLE is throwing the exception.

Adding a retry resolves the problem but still there is a case where it throws the same exception and mobile never gets connected to that particular BLE (I can confirm the BLE is not connected to any other devices and available to connect).

Is there any limitation in Android as in iOS I never had this problem.

Thanks.

ndebartha avatar Jun 30 '22 14:06 ndebartha