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

UART.js improvements #6

Open
gfwilliams opened this issue Apr 22, 2021 · 0 comments
Open

UART.js improvements #6

gfwilliams opened this issue Apr 22, 2021 · 0 comments

Comments

@gfwilliams
Copy link
Member

gfwilliams commented Apr 22, 2021

As per http://forum.espruino.com/conversations/362281/#comment15950235

  • write/eval should be per-connection (so if using connections the user doesn't have to split the data up themselves)
  • When I register a customconnection.on('data', ...) callback, it overwrites the on('data', ...) callback defined within UART.write
  • Also, it'd be nice to implement promises like @benfoxall did with the Puck.js lib
  • Could also add a WebRTC connection option to allow you to connect on your phone and then use UART.js on a different PC
@gfwilliams gfwilliams changed the title UART.js UART.js improvements Apr 22, 2021
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