SetParity -- set parity mode for serial port connection (V8.0)
This command can be used to set the parity mode for the serial port connection specified
id. This serial port connection must have been opened using OpenSerialPort() before.
You have to pass the desired parity mode in the
parity parameter. This must be one of
the following special constants:
Do not use any parity bit.
Use 1 bit of even parity.
Use 1 bit of odd parity.
- identifier of the serial port connection to use
- desired parity mode