forked from scream3r/java-simple-serial-connector
-
Notifications
You must be signed in to change notification settings - Fork 57
Latest version not working on Windows #192
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
JSSC 2.10.1 is not able to receive serial data on Windows 11.
| List Ports | Open Port | Send Data | Receive Data | |
|---|---|---|---|---|
| Linux | ✅ | ✅ | ✅ | ✅ |
| macOS | ✅ | ✅ | ✅ | ✅ |
| Windows | ✅ | ✅ | ✅ | 🚫 |
- I'm testing using a Mettler Toledo P90 scale.
- In previous versions of JSSC, sending
W\nwould return the weight value on this scale. This still works on Linux, and macOS but Windows no longer returns a value. - As a baseline for sending data, I testested
Z\nto zero the scale and that works to "ZERO" the scale for all platforms so I believe JSSC is sending data just fine but unable to receive data on Windows.
- In previous versions of JSSC, sending
Workaround:
- Downgrade to JSSC 2.9.6
Possible causes:
- Handle some IllegalArgument cases in readBytes #175
- Some error handling in get serial port names #171
@hiddenalpha FYI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed