Skip to content

Commit

Permalink
fix: missing packages for serialport
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Feb 3, 2022
1 parent 5283451 commit e98b0c7
Show file tree
Hide file tree
Showing 3 changed files with 395 additions and 186 deletions.
1 change: 1 addition & 0 deletions UPGRADE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Upgading from 9x to 10x
- `SerialPortStream` from `@serialport/stream` no longer has a `list()` method as that was a direct call to the bindings.
- `SerialPort` class from the `serialport` package no longer has a static `Bindings` property as it provides the OS specific bindings from `@serialport/bindings-cpp` if you need control of the bindings use `SerialPortStream`.
- `SerialPortStream` methods (and by extension `SerialPort` methods) no longer throw when called with invalid input, their callbacks or the error event will convey input errors. This is because the binding layer now handles input validation as it's different on each platform.
- `SerialPort` is now delivering a few more parsers

TODO
- stop bits are incorrect
Expand Down
Loading

0 comments on commit e98b0c7

Please sign in to comment.