TwclSerialConfig Record
The structure describes a serial device (COM port) configuration settings that is used to open the COM port.
The TwclSerialConfig type exposes the following members.
Name | Description | |
---|---|---|
AbortOnError | Specifies whether read and write operations are terminated if an error occurs. If this member is | |
BaudRate | Specifies the baud at which the communications device operates. This member can be an actual baud value, or a baud index. | |
ByteSize | The number of bits in the bytes transmitted and received. | |
DsrSensitivity | Specifies whether the communications driver is sensitive to the state of the DSR signal. If this member is | |
DtrControl | Specifies the DTR (data-terminal-ready) input flow control. | |
EofChar | Specifies the value of the character used to signal the end of data. | |
ErrorChar | Specifies the value of the character used to replace bytes received with a parity error. | |
ErrorCharReplace | Specifies whether bytes received with parity errors are replaced with the character specified by the | |
EvtChar | Specifies the value of the character used to cause the | |
InX | Specifies whether XON/XOFF flow control is used during reception. If this member is | |
NullStrip | Specifies whether null bytes are discarded. If this member is | |
OutX | Specifies whether XON/XOFF flow control is used during transmission. If this member is | |
OutxCtsFlow | Specifies whether the CTS (clear-to-send) signal is monitored for output flow control. If this member is | |
OutxDsrFlow | Specifies whether the DSR (data-set-ready) signal is monitored for output flow control. If this member is | |
Parity | Specifies the parity scheme to be used. | |
ParityCheck | Specifies whether parity checking is enabled. If this member is | |
RtsControl | Specifies the RTS (request-to-send) input flow control. | |
StopBits | Specifies the number of stop bits to be used. | |
TXContinueOnXoff | Specifies whether transmission stops when the input buffer is full and the driver has transmitted the XOFF character. If this member is | |
XoffChar | Specifies the value of the XOFF character for both transmission and reception. | |
XoffLim | Specifies the maximum number of bytes allowed in the input buffer before the XOFF character is sent. The maximum number of bytes allowed is calculated by subtracting this value from the size, in bytes, of the input buffer. | |
XonChar | Specifies the value of the XON character for both transmission and reception. | |
XonLim | Specifies the minimum number of bytes allowed in the input buffer before the XON character is sent. |