altosui: Add support for parsing list of flights from the 'l' command
[fw/altos] / altosui / AltosSerial.java
index b19143e58b7080070457d606a93e8798deaf9a71..6dce6f3d284c3b2326f6990a561dbe80c153a217 100644 (file)
@@ -242,6 +242,16 @@ public class AltosSerial implements Runnable {
                }
        }
 
+       public void start_remote() {
+               set_radio();
+               printf("p\nE 0\n");
+               flush_input();
+       }
+
+       public void stop_remote() {
+               printf ("~");
+       }
+
        public AltosSerial(AltosDevice in_device) throws FileNotFoundException, AltosSerialInUseException {
                device = in_device;
                line = "";