HandShake

Set or get flags that define the modem lines that are used for flow control  

LONG HandShake;

Property Value

    HandShake can be set to one of the following values:

Value Meaning Hex
SERIAL_DTR_CONTROL Enables the DTR line when the device is opened and leaves it on.
0x01
SERIAL_DTR_HANDSHAKE Use the modem signal DTR for input flow control. For the real serial port the DTR line is cleared by
the controller if the receive buffer reaches the programmed high water mark.
See also description of XonLimit and XoffLimit.
0x02
SERIAL_CTS_HANDSHAKE Use the modem signal CTS, DCD or DSR respectively for output flow control.
For the real serial port if the corresponding modem line(s) found as cleared, the controller will hold
data transmission.
0x08
SERIAL_DCD_HANDSHAKE
0x20
SERIAL_DSR_HANDSHAKE
0x10
SERIAL_DSR_SENSITIVITY Ignore any character arriving when the DSR line is not set.
0x40
SERIAL_ERROR_ABORT If there exists an error condition the driver abort all read and writes to or from
this port.
0x80000000

 


See also

FlowReplace properties, XOnLimit properties, XOffLimit properties