63,7 → 63,7 |
} |
|
private static ConfigSet readConfiguration(String portIdentifier, int parameterSetNumber) throws IOException { |
MKConnection port = new MKTCPConnection(); //new RXTXSerialPort();// |
MKConnection port = new RXTXSerialPort(); |
port.init(portIdentifier); |
FrameQueue q = new FrameQueue(port); |
ConfigSet cs = null; |
245,7 → 245,7 |
if ("w".equals(args[0]) && (args.length!=3 && args.length!=4)) help(); |
if ("r".equals(args[0]) && (args.length!=3 && args.length!=4)) help(); |
|
String portIdentifier = "8080"; |
String portIdentifier = null; |
|
if ("r".equals(args[0])) { |
readConfiguration(portIdentifier, Integer.parseInt(args[1])); |