NeuronRobotics / nrjavaserial

A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
Other
344 stars 143 forks source link

Error 0x5 at src/windows/termios.c(889): Accès refusé. #185

Open pseudo555 opened 4 years ago

pseudo555 commented 4 years ago

Hello,

I'm using 5.2.1 on Win 10 x64 and java 8 (32 bit).

When i try to connect on a port already in used, i'll get the following error at the end of the application: Error 0x5 at src/windows/termios.c(889): Accès refusé.

By the "end of the application", i mean that error is the last thing that appears in the console output. I also got this error as many times as i try to use an already in use serial port.

consoleOutput.txt

Context: For each serial port found on my computer, i try to connect onto and send a bunch of data.

In my pov, such error should be inhibited, as the exception already took care of that.