BLE Connected but onDataChanged not called

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
mobile

Research direction

Start by reproducing the BLE connection described in the issue and trace when onDataChanged is expected to run after the status reaches "CONNECTED, GOT ALL CHARACTERISTICS." Compare behavior before and after connecting with another app; done means data is received through onDataChanged without that workaround.

Written by the indexing model from the issue text.

Description

Hi Michael,
when I use the code you created and connect to the BLE device the app returns me the status "CONNECTED, GOT ALL CHARACTERISTICS" but the onDataChanged method is never invoked so I can not receive anything.
If I start another app and I connect it to the device and then I disconnect at this point by restarting your code the data are read.
Do you have any suggestions?
Thank you,
Michele.

Dominant language
JavaScript
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.