Creates an instance of the SerialComm class wiht the specified information.
The serial port name, for example COM1.
The serial port baud rate in bits per second.
The serial port parity-checking protocol.
The serial port standard number of stopbits per byte.
The serial port standard length of data bits per byte.
The handshaking protocol for serial port transmission of data.
Gets or sets the serial port baud rate in bits per second. Default value is 9600
Gets or sets the serial port standard length of data bits per byte. Default value is Serial.DataBits.Eight
Gets or sets the handshaking protocol for serial port transmission of data. Default value is Serial.Handshake.XOnXOff
Gets or sets the serial port parity-checking protocol. Default value is Serial.Parity.None
Gets or sets the serial port name, for example COM1. Default value is "COM1"
Gets or sets the serial port standard number of stopbits per byte. Default value is Serial.StopBits.One
Closes the port connection
Occurs when communication is close.
The callback function
Occurs when data is received.
The callback function
Occurs when an error is thrown.
The callback function
Opens a new serial port connection
Sends the specified string to the serial port.
The string to send to the serial port.
It represents a serial port resource at the client side.