close() method actually leaves seial device open, making it impossible to use it any more.
Sibling classes have this bug also.
Correct code is:
public void close() throws IOException { m_InputStream.close(); m_OutputStream.close(); m_CommPort.close(); }
Thanks -- I'll take a look at the code and verify that the device can be repeatedly opened and closed with whatever changes I make.
Is there a suggestion on a timeline for fixing this?
This is fixed in v2.0 where the whole serial interface has been re-written to use jSerialComm. v2.0 rc1 should be available on Maven Central this week
Log in to post a comment.
close() method actually leaves seial device open, making it impossible to use it any more.
Sibling classes have this bug also.
Correct code is:
Thanks -- I'll take a look at the code and verify that the device can be repeatedly opened and closed with whatever changes I make.
Is there a suggestion on a timeline for fixing this?
This is fixed in v2.0 where the whole serial interface has been re-written to use jSerialComm.
v2.0 rc1 should be available on Maven Central this week