Replies: 2 comments 1 reply
-
I'll start with the easy one. All reads are async, they return promises and guarantee at least one byte. Writes are async too, they resolve when all bytes have been written to the os. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@reconbot (or anyone else) do you have any input on the other items? |
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
-
I have a WIP implementation of the Web Serial API built on @serialport/bindings. I've run into a few issues. I'm not sure if these are gaps in the serialport bindings, or if I'm just missing things.
All of the issues are called out in TODO comments in this file that mention the bindings layer. The current issues are:
open()
API.getSignals()
API.As a side note, if this implementation could get to a good state, I'd be happy to turn it over to the serialport project.
Beta Was this translation helpful? Give feedback.
All reactions