Serial |
The SerialPortConfig type exposes the following members.
| Name | Description | |
|---|---|---|
| BaudRate | Line speed of the serial port. | |
| DataBits | Number of data bits used in the serial port protocol. | |
| Enabled | Whether the serial port is enabled | |
| Handshake | Flow control method used in the serial port protocol. | |
| NewLine |
The message terminator sequence used for line-oriented text messages when reading from or writing to the serial port.
Note that it is only applied automatically to messages sent using the following commands and methods: | |
| Parity | Parity setting of the serial port. | |
| ReadTimeout | Timeout period in ms used when reading from the serial port. | |
| StopBits | Number of stop bits used in the serial port protocol. | |
| WriteTimeout | Timeout period in ms used when writing to the serial port. |