SerialPort.this

Creates new serial port instance.

Parameters

port string

Port name. On Posix, it should be reffer to device file like /dev/ttyS<N>. On Windows, port name should be like COM<N> or any other.

Throws

InvalidParametersException, InvalidDeviceException

Meta