Creates new serial port instance.
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.
InvalidParametersException, InvalidDeviceException
See Implementation
Creates new serial port instance.