Menu

#2 Error in JSerialComm implementation

1.2.8
closed
nobody
None
2018-02-28
2018-02-23
struwea
No

Not opening the serial port.
See SerialPortJSerialComm.java. In method open().
Line port.openPort(); seems to be missing.

Read timeout not working. Blocking indefinitely.
See SerialPortJSerialComm.java. In methodread().
Use
c = in.read(byte[], int, int)
instead of
in.read().
Refer to: https://github.com/Fazecast/jSerialComm/issues/32

Discussion

  • Vladislav Y. Kochedykov

    Fixed, thank you.

     
  • Vladislav Y. Kochedykov

    • status: open --> accepted
     
  • Vladislav Y. Kochedykov

    • status: accepted --> closed
     

Log in to post a comment.