cordova-plugin-bluetoothle icon indicating copy to clipboard operation
cordova-plugin-bluetoothle copied to clipboard

Unable to read from Device

Open ari-sarkar opened this issue 3 years ago • 2 comments

image_2022_10_26T11_08_22_736Z

I am trying to read from a Flic button but getting the error "Unable to read" while trying to read().

The process is as follows:

  1. Calling the scan() to discover devices.
  2. Connect() to the device using UUID.
  3. Checking for Bluetooth permission and moving to the next step accordingly.
  4. Calling discover() to check device info.
  5. In this step attaching a subscription to a service using subscribe().
  6. Inside the response of subscribe() calling read() to read button press with correct service, characteristic & UUID.

error: read, message: unable to read

ari-sarkar avatar Oct 26 '22 11:10 ari-sarkar

Hi, how are you? I have the same problem, were you able to solve that?

marcui13 avatar Feb 08 '23 15:02 marcui13

no

ari-sarkar avatar Feb 11 '23 05:02 ari-sarkar