Commit 64e4b6b
committed
SerialImp.c:configure_port: for hidraw devices tcgetattr failure is OK
Before this change the error message for opening /dev/hidraw0 was:
CommPortIdentifier id = CommPortIdentifier.getPortIdentifier("/dev/hidraw0");
id.open(NRJavaSerialTest.class.getSimpleName(), 5000);
→
Port /dev/hidraw0 in use by another application
Exception in thread "main" gnu.io.PortInUseException: Unknown Owner
at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:476)
at test.NRJavaSerialTest.main(NRJavaSerialTest.java:86)1 parent b1da316 commit 64e4b6b
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
377 | 381 | | |
378 | 382 | | |
379 | 383 | | |
| |||
0 commit comments