summaryrefslogtreecommitdiff
path: root/altoslib/AltosFlightReader.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-02 22:48:13 -0700
committerKeith Packard <keithp@keithp.com>2014-07-05 00:38:10 -0700
commit55e6558fa7cb23fb1363a86c83fbd6abf67ea324 (patch)
tree45f14786b0c165bdb6d7249f70bf0626aad4a500 /altoslib/AltosFlightReader.java
parent292cb8380b478542555b5f370e8252eafa2f74ac (diff)
altoslib: Support multiple telemetry rates
Altos now supports 2400 and 9600 baud in addition to the classic 38400 baud rate. Add support to altoslib for these as well Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosFlightReader.java')
-rw-r--r--altoslib/AltosFlightReader.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/altoslib/AltosFlightReader.java b/altoslib/AltosFlightReader.java
index ac151396..c0565e88 100644
--- a/altoslib/AltosFlightReader.java
+++ b/altoslib/AltosFlightReader.java
@@ -38,12 +38,18 @@ public class AltosFlightReader {
public void set_telemetry(int telemetry) { }
+ public void set_telemetry_rate(int telemetry_rate) throws InterruptedException, TimeoutException { }
+
public void save_telemetry() { }
+ public void save_telemetry_rate() { }
+
public void update(AltosState state) throws InterruptedException { }
public boolean supports_telemetry(int telemetry) { return false; }
+ public boolean supports_telemetry_rate(int telemetry_rate) { return false; }
+
public File backing_file() { return null; }
public boolean has_monitor_battery() throws InterruptedException { return false; }