SerialPortChannel Constructor
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.SerialPort.dll (version 7.0.9147)
SerialPortChannel(SerialPort)
Initialize a new instance of Serial
Declaration
public SerialPortChannel(SerialPort port)
Parameters
Type | Name | Description |
---|---|---|
Serial |
port | Serial port to communicate with. |
SerialPortChannel(String)
Initialize a new instance of Serial
Declaration
public SerialPortChannel(string portName)
Parameters
Type | Name | Description |
---|---|---|
String | portName | Port name to use. |
SerialPortChannel(String, Int32)
Initialize a new instance of Serial
Declaration
public SerialPortChannel(string portName, int baudRate)
Parameters
SerialPortChannel(String, Int32, Parity, Int32, StopBits)
Initialize a new instance of Serial
Declaration
public SerialPortChannel(string portName, int baudRate, Parity parity, int dataBits, StopBits stopBits)