public static AbstractSerialConnection getCommPort ( String commPort ) { SerialConnection jSerialCommPort = new SerialConnection ( ) ; jSerialCommPort . serialPort = SerialPort . getCommPort ( commPort ) ; return jSerialCommPort ; }
Returns a JSerialComm implementation for the given comms port