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 baud rate in bits per second. Default value is 9600
Gets the state of the Clear-to-Send line. true if the Clear-to-Send line is detected; otherwise, false.
Gets the state of the Data Set Ready (DSR) signal. true if a Data Set Ready signal has been sent to the port; otherwise, false.
Sets a value that enables the Data Terminal Ready (DTR) signal.
Gets whether the port is open.
Gets or sets the serial port name, for example COM1. Default value is "COM1"
Gets or sets the serial port name, for example COM1. Default value is "COM1"
Sets a value that enables the Request to Send (RTS) signal.
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.