diff --git a/auto_rx/autorx/__init__.py b/auto_rx/autorx/__init__.py index 03faa25..ebe773d 100644 --- a/auto_rx/autorx/__init__.py +++ b/auto_rx/autorx/__init__.py @@ -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 diff --git a/auto_rx/autorx/decode.py b/auto_rx/autorx/decode.py index 06f56d1..bb4d862 100644 --- a/auto_rx/autorx/decode.py +++ b/auto_rx/autorx/decode.py @@ -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': diff --git a/auto_rx/station.cfg.example b/auto_rx/station.cfg.example index 4e78d5f..66d889e 100644 --- a/auto_rx/station.cfg.example +++ b/auto_rx/station.cfg.example @@ -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)