Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorbjörn SVENSSON2019-09-03 07:22:04 -0400
committerTorbjörn SVENSSON2019-09-03 11:41:53 -0400
commit1c4271836b484b6926809fe3542448bdd970af3d (patch)
tree58c549af473d7752cad360c8fb08f3a4e25b28be /native/org.eclipse.cdt.native.serial/os/macosx
parent2109a6d28314edf0a7f5bc98ab23ed4062fa3410 (diff)
downloadorg.eclipse.cdt-1c4271836b484b6926809fe3542448bdd970af3d.tar.gz
org.eclipse.cdt-1c4271836b484b6926809fe3542448bdd970af3d.tar.xz
org.eclipse.cdt-1c4271836b484b6926809fe3542448bdd970af3d.zip
Bug 550697: Also set DCB.Parity=NOPARITY on Windows
Some serial port drivers on Windows, notably usbser.sys, does not care about DCB.fParity and only relies on DCB.Parity to contain the correct value. In the case where we need to configure it for no parity, the DCB.Parity field needs to be explicitly set to NOPARITY. The above statment has been checked using Wireshark and look at the SET LINE CODING Request package (it contained ODDPARITY although DCB.fParity=FALSE). The statement was also somewhat confirmed by this post: https://stackoverflow.com/questions/36411498. Change-Id: I2e2ab3da5da547e0420e3e61f91452ef0edeb755 Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
Diffstat (limited to 'native/org.eclipse.cdt.native.serial/os/macosx')
-rwxr-xr-xnative/org.eclipse.cdt.native.serial/os/macosx/x86_64/libserial.jnilibbin13620 -> 13620 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/native/org.eclipse.cdt.native.serial/os/macosx/x86_64/libserial.jnilib b/native/org.eclipse.cdt.native.serial/os/macosx/x86_64/libserial.jnilib
index 1631744a7c0..2c88702add3 100755
--- a/native/org.eclipse.cdt.native.serial/os/macosx/x86_64/libserial.jnilib
+++ b/native/org.eclipse.cdt.native.serial/os/macosx/x86_64/libserial.jnilib
Binary files differ

Back to the top