private static SerialPort createSerialPort(String comPortName, SerialNewResultListener listener){
		SerialPort serialPort = new SerialPort(comPortName);
		listener.setPort(serialPort);
		try {
			serialPort.openPort();
			serialPort.addEventListener(listener);
			serialPort.setParams(115200, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
			return serialPort;
		} catch (SerialPortException e) {
			return null;
		}
	}