String manufacturer;
String product;
String version;
+ int log_format;
int serial;
/* Strings returned */
public AltosConfigData(AltosSerial serial_line) throws InterruptedException, TimeoutException {
serial_line.printf("c s\nv\n");
lines = new LinkedList<String>();
+ radio_setting = 0;
for (;;) {
String line = serial_line.get_reply();
if (line == null)
continue;
lines.add(line);
try { serial = get_int(line, "serial-number"); } catch (Exception e) {}
+ try { log_format = get_int(line, "log-format"); } catch (Exception e) {}
try { main_deploy = get_int(line, "Main deploy:"); } catch (Exception e) {}
try { apogee_delay = get_int(line, "Apogee delay:"); } catch (Exception e) {}
try { radio_channel = get_int(line, "Radio channel:"); } catch (Exception e) {}