espruino / EspruinoTools

JavaScript library of tools for Espruino - used for the Web IDE, CLI, etc.
Apache License 2.0
150 stars 89 forks source link

Implement XON/XOFF flow control #109

Closed gfwilliams closed 4 years ago

gfwilliams commented 5 years ago

Bluetooth LE UARTs don't support flow control, but we could add the standard XON/XOFF flow control over them reasonably easily. Espruino has support for this on Serial devices and it shouldn't be too hard to make it handle BLE using the same code.

Rather than hacking around reset/save/etc to ensure there's enough delay, we should just do it properly. Pretty sure this could be handled in serial.js

gfwilliams commented 4 years ago

This is now done