Serial |
public class SerialPortConfig : ConfigBase
The SerialPortConfig type exposes the following members.
Name | Description | |
---|---|---|
SerialPortConfig | Creates a new instance of this configuration initialized with default values. |
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. |
Name | Description | |
---|---|---|
Load | Loads a new configuration instance from the specified file. | |
Save | Saves the configuration to the specified file. If the specified file exists, this method overwrites it. |