SerialHandshake SerialHandshake SerialHandshake SerialHandshake Enum

Definition

Defines values for hardware and software flow control protocols used in serial communication. The values are used by Handshake property on the SerialDevice object.

public : enum class SerialHandshakepublic enum SerialHandshakePublic Enum SerialHandshake// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

None None None None

No protocol is used for the handshake.

RequestToSend RequestToSend RequestToSend RequestToSend

When the port is receiving data and if the read buffer is full, the Request-to-Send (RTS) line is set to false. When buffer is available, the line is set to true. When the serial port is transmitting data, CTS line is set to false and the port does not send data until there is room in the write buffer.

RequestToSendXOnXOff RequestToSendXOnXOff RequestToSendXOnXOff RequestToSendXOnXOff

Both RequestToSend and XOnXOff controls are used for flow control.

XOnXOff XOnXOff XOnXOff XOnXOff

The serial port sends an Xoff control to inform the sender to stop sending data. When ready, the port sends an Xon control to inform he sender that the port is now ready to receive data.