Java serial comm - IllegatStateException - port is closed
I have some existing device driver software I'm working with in Java that uses JavaCOMM for serial I/O. I saw it throw an exception yesterday where it thew an IllegalState开发者_如何学编程Exception - port is closed from inside the public void serialEvent(SerialPortEvent event) callback method. I did not see any log messages that the application had explicity closed the port. Can anyone think of why I'd be seeing this error?
Thank you. Sean
I was never able to get JavaCOMM working. I ended up using serialio.jar.
精彩评论