diff options
author | Keith Packard <keithp@keithp.com> | 2017-02-19 17:36:04 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-02-20 11:16:53 -0800 |
commit | 1029a6e4a61b20698e00e29fc0c8c3877f1e7b0f (patch) | |
tree | 68afb87e3cb0a2f75a5a1c8c61899e54a9281be3 /altoslib/AltosTelemetry.java | |
parent | 5c272d8e50d0b23f31a6a9ebdad81fc514936222 (diff) |
altoslib: Add TeleMini v3 support
eeprom, telemetry and monitor idle. This is just like TeleMini v2,
except the ADC ranges are all difference as the voltage dividers are
different and the ADC itself has a different range.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosTelemetry.java')
-rw-r--r-- | altoslib/AltosTelemetry.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/altoslib/AltosTelemetry.java b/altoslib/AltosTelemetry.java index 0caefcd6..f830bf35 100644 --- a/altoslib/AltosTelemetry.java +++ b/altoslib/AltosTelemetry.java @@ -67,7 +67,8 @@ public abstract class AltosTelemetry implements AltosStateUpdate { final static int packet_type_mega_data = 0x09; final static int packet_type_metrum_sensor = 0x0a; final static int packet_type_metrum_data = 0x0b; - final static int packet_type_mini = 0x10; + final static int packet_type_mini2 = 0x10; + final static int packet_type_mini3 = 0x11; static AltosTelemetry parse_hex(String hex) throws ParseException, AltosCRCException { AltosTelemetry telem = null; |