T
tapsto
I am openning a COM port and reading data. The data coming to the COM port
is "Odd parity". When I read the data from the COM port the parity bit is
stripped. How to I configure it such that the parity bit is preserved.
Thanks
psuedo code:
CreateFile( "COM1", GENERIC_READ, .....)
....
SetCommState(....
SetCommTimeouts(...
.....
WaitCommEvent( .....
....
ReadFile(
is "Odd parity". When I read the data from the COM port the parity bit is
stripped. How to I configure it such that the parity bit is preserved.
Thanks
psuedo code:
CreateFile( "COM1", GENERIC_READ, .....)
....
SetCommState(....
SetCommTimeouts(...
.....
WaitCommEvent( .....
....
ReadFile(