[Rxtx] error 0x5 - when disconnect USB
Kustaa.Nyholm at planmeca.com
Mon Nov 14 13:34:31 MST 2011
On 11/14/11 21:38, "Leucir Marin" <leucir at gmail.com> wrote:
>I'm running on a problema that was opened discussed on this forum, but
>yet without answers.
>When I'm reading data from Arduino and disconnect the USB cable, the Java
>client (using rxtx) began to throw a LOT of error 0x5 (access denied)
>Is there any way to catch that error in Java and treat it? I already
>tried to use event listener, but it seems the outside Java's control.
>Maybe one of you can help to address this issue.
>Thanks in advance.
Maybe try PureJavaComm:
at least you have a chance catch pretty much everything in Java then.
More information about the Rxtx