m1ga / m1ga/hyperloop.bluetooth
BLE Connected but onDataChanged not called
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100