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

Android: Error writing to characteristic

Open brunovollmer opened this issue 3 years ago • 2 comments

Describe the bug

When writing to a characteristic on Android (this bug does not seem to appear on IOS) the write is successful but shortly after it I receive this error: ERROR Error writing eeee2a38-0000-1000-8000-00805f9b34fb status=14

Expected behavior No error message.

Smartphone (please complete the following information):

  • Device: [Pixel 6]
  • OS: [Android 12]
  • react-native-ble-manager version: ^8.4.1
  • react-native version: 0.67.4

I've researched this a bit and it seems that some people have the problem but I could not find a explanation or solution to it.

brunovollmer avatar Aug 04 '22 13:08 brunovollmer

The error code seems to stand for "unlikely error" which does not really help either.

brunovollmer avatar Aug 04 '22 13:08 brunovollmer

Note: I've also asked this question on StackOverflow: https://stackoverflow.com/questions/73236773/react-native-ble-manager-android-status-code-14-on-write-to-characteristic

brunovollmer avatar Aug 04 '22 13:08 brunovollmer

The problem is caused by a bug in Bluez. Upgrading to 5.65 fixes it.

brunovollmer avatar Aug 25 '22 07:08 brunovollmer