Add comments about LMS6-1680 decoding with fsk_demod, update beta version

pull/276/head
Mark Jessop 2020-06-06 14:22:13 +09:30
rodzic 062c89a1be
commit 35746558c0
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ except ImportError:
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
# PATCH - Small changes, or minor feature additions.
__version__ = "1.3.2-beta1"
__version__ = "1.3.2-beta2"
# Global Variables

Wyświetl plik

@ -363,6 +363,8 @@ class SondeDecoder(object):
elif self.sonde_type == "MK2LMS":
# 1680 MHz LMS6 sondes, using 9600 baud MK2A-format telemetry.
# TODO: see if we need to use a high-pass filter, and how much it degrades telemetry reception.
# This fsk_demod command *almost* works (using the updated fsk_demod)
# rtl_fm -p 0 -d 0 -M raw -F9 -s 307712 -f 1676000000 2>/dev/null |~/Dev/codec2-upstream/build/src/fsk_demod --cs16 -p 32 --mask=100000 --stats=5 2 307712 9616 - - 2> stats.txt | python ./test/bit_to_samples.py 48080 9616 | sox -t raw -r 48080 -e unsigned-integer -b 8 -c 1 - -r 48080 -b 8 -t wav - 2>/dev/null| ./mk2a_lms1680 --json
decode_cmd = "%s %s-p %d -d %s %s-M fm -F9 -s 200k -f %d 2>/dev/null |" % (self.sdr_fm, bias_option, int(self.ppm), str(self.device_idx), gain_param, self.sonde_freq)
decode_cmd += "sox -t raw -r 200k -e s -b 16 -c 1 - -r 48000 -b 8 -t wav - highpass 20 2>/dev/null |"