Skip to content
Discussion options

You must be logged in to vote

I just checked, and it's flow control.

  • 0x13 = char code 19 - XOFF
  • 0x11=char code 17 - XON

It's what happens when your app sends data to the Bangle faster than it's able to process it, and the Bangle asks the app to stop sending for a bit.

I'm actually kind of surprised we haven't hit this with Android. The intention was that we used the UART.js library which handles this natively: https://github.com/espruino/EspruinoWebTools/blob/master/uart.js#L494-L500

But at least on the Android version (which I guess you're copying) we instead create a fake Puck.js library (which is the old one).

You should be able to use the UART library but overwrite the endpoint, so then you're able to use all th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RKBoss6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants