Accept frequency data from UDP input packets.

pull/308/head
Mark Jessop 2020-10-26 21:34:15 +10:30
rodzic 6614acba6b
commit 2c7c623513
3 zmienionych plików z 9 dodań i 2 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.3-beta1"
__version__ = "1.3.3-beta2"
# Global Variables

Wyświetl plik

@ -802,9 +802,13 @@ class SondeDecoder(object):
if self.sonde_type == 'UDP':
# If we are accepting sondes via UDP, we make use of the 'type' field provided by
# the decoder.
# Note that the types returned by the
self.sonde_type = _telemetry['type']
# If frequency has been provided, make used of it.
# Frequency must be supplied in Hz!
if 'freq' in _telemetry:
self.sonde_freq = _telemetry['freq']
# Add in the sonde type field.
if 'subtype' in _telemetry:
if self.sonde_type == 'RS41':

Wyświetl plik

@ -20,6 +20,9 @@ sdr_quantity = 1
# If using multiple SDRs, you MUST allocate each SDR a unique serial number using rtl_eeprom
# i.e. to set the serial number of a (single) connected RTLSDR: rtl_eeprom -s 00000002
# Then set the device_idx below to 00000002, and repeat for the other [sdr_n] sections below
#
# For the special case when auto_rx is used entirely with a JSON-via-UDP input, set the below to TCP001
# This will bypass all RTLSDR checks and allow auto_rx to continue running.
device_idx = 0
# Frequency Correction (ppm offset)