-
Notifications
You must be signed in to change notification settings - Fork 53
Description
The library won't enable parity check on Windows 10 x64.
I've tried this example that you provided https://github.com/RishiGupta12/SerialPundit/tree/master/applications/d1-blocking-read-com
with enabling ParFraError like this:
scm.configureComPortControl(handle, FLOWCONTROL.NONE, 'x', 'x', true, false);
after this i printed:
System.out.println(Arrays.toString(scm.getCurrentConfiguration(handle)));
and i got this:
[DCBlength : 28, BaudRate : 19200, fBinary : TRUE, fParity : FALSE, fOutxCtsFlow : FALSE, fOutxDsrFlow : FALSE, fDtrControl : DTR_CONTROL_ENABLE, fDsrSensitivity : FALSE, fTXContinueOnXoff : TRUE, fOutX : FALSE, fInX : FALSE, fErrorChar : FALSE, fNull : FALSE, fRtsControl : RTS_CONTROL_ENABLE, fAbortOnError : FALSE, fDummy2 : NA, wReserved : NA, XonLim : 2048, XoffLim : 2048, ByteSize : 5, Parity : 1, StopBits : 0, XonChar : �, XoffChar : �, ErrorChar : , EofChar : , EvtChar : , wReserved1 : NA]
fParity is false, but it should be true