serialport-rs
serialport-rs copied to clipboard
[WIP]: Implement WebSerial/wasm
Resolves https://github.com/serialport/serialport-rs/issues/165. As stated in that issue it's not supported on all browsers although it has been 'stable' on those browsers since 2021.
Since WebSerial is entirely Promise based there is a lot of block_on to make it sync.
Currently status:
- [x] Core serial operations and options
- [ ] Timeouts
- [ ] Flow-control Inputs
- [ ]
*_to_read(see inline comment)