Hi,
I'm new to java. There is a problem to write java program which sets comm port parameters and then reads them into command line.
This operation is performed correctly but the following message appears:
javax.comm.UnsupportedCommOperationException: Win32 Comm Driver: Error 0
I read that "Error 0" means that the operation completed successfully.
My question is if it is OK that the message mentioned above is reported, or there is a problem? What problem it could be?
Below is the code that throws an exception:
Thanks in advance.
I'm new to java. There is a problem to write java program which sets comm port parameters and then reads them into command line.
This operation is performed correctly but the following message appears:
javax.comm.UnsupportedCommOperationException: Win32 Comm Driver: Error 0
I read that "Error 0" means that the operation completed successfully.
My question is if it is OK that the message mentioned above is reported, or there is a problem? What problem it could be?
Below is the code that throws an exception:
try {
serialPort.setSerialPortParams(19200, DATABITS_5, STOPBITS_1, PARITY_EVEN);
} catch (UnsupportedCommOperationException e) {
System.out.println(e);
}
Thanks in advance.