But I'm getting the following exception:
com.fazecast.jSerialComm.SerialPortIOException: This port appears to have been shutdown or disconnected.
If I replace the os.write by "comPort.writeBytes(command.getBytes(), command.length());" I don't get any exception, but it seems that nothing is sent. I tested with picocom from the command line to make sure the receiver is well receiving and it works. Any guidance?
Hi,
I seem to face a situation that others faced in the past and which should be fixed, but running the last version of jSerialComm I'm still facing it.
I have this very simple code:
But I'm getting the following exception:
com.fazecast.jSerialComm.SerialPortIOException: This port appears to have been shutdown or disconnected.
If I replace the os.write by "comPort.writeBytes(command.getBytes(), command.length());" I don't get any exception, but it seems that nothing is sent. I tested with picocom from the command line to make sure the receiver is well receiving and it works. Any guidance?
Thanks.