Skip to content

Unable to read from Device #737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ari-sarkar opened this issue Oct 26, 2022 · 2 comments
Open

Unable to read from Device #737

ari-sarkar opened this issue Oct 26, 2022 · 2 comments

Comments

@ari-sarkar
Copy link

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

@marcui13
Copy link

marcui13 commented Feb 8, 2023

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

@ari-sarkar
Copy link
Author

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants