TCnSerialPort.Handshake Property

Gets or sets the handshaking protocol for serial port transmission of data using a value from Handshake.

Namespace: CNClrLib.Component.SerialPort
published
 property Handshake: THandshake read GetHandshake write SetHandshake default THandshake.hsNone;

Property Value

 

When handshaking is used, the device connected to the SerialPort object is instructed to stop sending data when there is at least ( ReadBufferSize-1024) bytes in the buffer. The device is instructed to start sending data again when there are 1024 or fewer bytes in the buffer. If the device is sending data in blocks that are larger than 1024 bytes, this may cause the buffer to overflow.

If the Handshake property is set to RequestToSendXOnXOff and CtsHolding is set to false, the XOff character will not be sent. If CtsHolding is then set to true, more data must be sent before the XOff character will be sent.