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

can't read Characteristic

Open blood-romantic opened this issue 1 year ago • 5 comments

Prerequisites

  • [X] I checked the documentation and FAQ without finding a solution
  • [X] I checked to make sure that this issue has not already been filed
  • [X] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow.
  • [X] I'm running the latest version

Question

got this error when I try to read

[BleError: Characteristic f0e60004-4b8c-41d8-a61c-eeafa4eb6077 read failed for device 94:54:93:17:63:73 and service f0e60001-4b8c-41d8-a61c-eeafa4eb6077]

blood-romantic avatar May 06 '24 07:05 blood-romantic

React native: 0.73.3 react-native-ble-plx: 3.1.2

blood-romantic avatar May 07 '24 06:05 blood-romantic

Looks like you're using the same ID for the service and the characteristic.

Nevermind, one digit is different.

josmithua avatar May 20 '24 15:05 josmithua

Hi @blood-romantic Could you provide more context? I would need information on how your ble service looks like and how you try to write to it. The more code and context will you provide the easier it will be to find the issue.

Hey @blood-romantic

If your problem is solved can you please close the issue? It sparks joy for maintainers ✨

flexbox avatar Jun 17 '24 13:06 flexbox

Hi @blood-romantic Do you still need help with the issue?

may i know how the issue is solved

niharika-141 avatar Dec 13 '24 07:12 niharika-141

even i getting the same issue

Error reading characteristic: [BleError: Characteristic 233bf001-5a34-1b6d-975c-000d5690abe4 read failed for device 00:09:1F:87:DF:1B and service 233bf000-5a34-1b6d-975c-000d5690abe4]

ERROR Error reading characteristic: [BleError: Device 00:09:1F:87:DF:1B is not connected] ERROR Connection failed: [TypeError: Cannot read property 'charCodeAt' of undefined]

niharika-141 avatar Dec 13 '24 07:12 niharika-141