// Command - write and read string
if (cmd[1].equals("str") || cmd[1].equals("s")) {
RpSerialPort port = getPortForConsoleCommand(cmd);
svcConsole.write(JRoboStrings.SVCSERIAL_WRITE_TO + port.getName()+": "+cmd[3]+"\n" );
port.writeString(cmd[3]+"\n");
Thread.sleep(500);
svcConsole.write(JRoboStrings.SVCSERIAL_READ_FROM + port.getName()+": "+ port.readAllString() +"\n" );
} else
// Command - write and read hex