int databits = Integer.parseInt(p[2]);
int parity = convertCharParity(p[3]);
int stopbits = Integer.parseInt(p[4]);
int timeout = Integer.parseInt(p[5]);
RpSerialPort port = new RpSerialPortRXTX();
port.setPortParameters(p[0], baud, databits, parity, stopbits, timeout);
ports.put(portnum, port);
}
catch (NumberFormatException e) {
JRoboUtils.logError(
JRoboStrings.INVALID_SERIAL_CFG + m.getKey() +