Skip to content
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

sometimes _connectionManager will not recognize connection state change #11

Open
Intellithings opened this issue Jul 25, 2021 · 0 comments

Comments

@Intellithings
Copy link

file: blePeripheral.js

connectionManager checks if strData starts with **'/org/bluez/hci0/dev'**
in many cases, packets are linked together (i guess it depends on the processing power). when grouped together, this condition fails.

a simple solution, split strData by \n and scan all packets.

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

1 participant