SerialPort.Handshake Property
Gets or sets the handshaking protocol for serial port transmission of data.
Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public Handshake Handshake { get; set; }
Property Value
One of the Handshake values. The default is None.
Remarks
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.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.
See Also
Reference
SerialPort Class
SerialPort Members
System.IO.Ports Namespace