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:

ValueMeaningHex
SERIAL_DTR_CONTROLEnables the DTR line when the device is opened and leaves it on.
0x01
SERIAL_DTR_HANDSHAKEUse 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_HANDSHAKEUse 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_SENSITIVITYIgnore any character arriving when the DSR line is not set.
0x40
SERIAL_ERROR_ABORTIf 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