BangleJS disconnection while streaming data #7701
Unanswered
JackHack96
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment 1 reply
-
Have you tried any other Windows PCs, or is it just that one PC? It could just be an issue with that one PC's bluetooth adaptor. Or it could be due to low signal strength? Are you using a Bangle.js 2? But yes, you can reconnect. In the callback for
and I believe that should work ok |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm tinkering on a BangleJS project which streams sensors data to the PC (or the smartphone), based on the proposed tutorial https://www.espruino.com/Bangle.js+Data+Streaming.
Along with the accelerometers, the project also uses NRF.setScan() to send RSSI data of some BLE beacons.
On my Linux desktop PC it seems to work fine and also on my smartphone, but on a Windows PC it quickly disconnects after some seconds, both with Chrome or Edge. I also checked with another BangleJS and it's even worse.
Looking at the console log, I get this following line:
right after the last print (as the example, I use Bluetooth.println() to stream data).
Could it be because of too much data? Could it be related to poor driver quality of the Windows PC?
And most importantly, is it possible to do something about this? Like some reconnection mechanism..
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions