-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for serialport v6 #20
Comments
Here is the recently updated h5.modbus with support only for serialport > 6: I made a branch to support 'data' event temporarily here: Please help to make some necessary changes to make it work with the latest h5.modbus. Thank you. |
Also the parsers have changed and a lot more ... |
Additionally: Maybe an update for serialport 6.x is not needed at all ... |
Indeed, this lib is no longer necesseray: https://serialport.io/docs/api-binding-mock |
@Lucas-C Really? What about
I think this is even not changed in the MockBinding |
I introduced a |
That indeed could work |
When would be the timeline for virtual-serialport to support serialport v6? According to node-serialport documentation, 'data' event is not a preferable way to read from the serial port. Instead, it suggests to use .read().
So, when I use other libraries that support serialport v6, they mostly don't listen to 'data' event anymore. The virtual-serialport is broken in this regard. I have no idea how to move forward to fix this issue.
The text was updated successfully, but these errors were encountered: