-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working towards WXR301D support. Also added Wideband option
- Loading branch information
Mark Jessop
authored and
Mark Jessop
committed
Aug 14, 2023
1 parent
79815c8
commit b688084
Showing
17 changed files
with
853 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ SUBDIRS := \ | |
mk2a \ | ||
scan \ | ||
utils \ | ||
weathex \ | ||
|
||
all: $(SUBDIRS) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,6 +175,7 @@ def read_auto_rx_config(filename, no_sdr_test=False): | |
"sondehub_enabled": True, | ||
"sondehub_upload_rate": 30, | ||
# "sondehub_contact_email": "[email protected]" # Commented out to ensure a warning message is shown on startup | ||
"wideband_sondes": False, # Wideband sonde detection / decoding | ||
} | ||
|
||
try: | ||
|
@@ -455,27 +456,30 @@ def read_auto_rx_config(filename, no_sdr_test=False): | |
"MEISEI": True, | ||
"MTS01": False, # Until we test it | ||
"MRZ": False, # .... except for the MRZ, until we know it works. | ||
"WXR301": False, # No fsk_demod chain for this yet. | ||
"UDP": False, | ||
} | ||
|
||
auto_rx_config["decoder_spacing_limit"] = config.getint( | ||
"advanced", "decoder_spacing_limit" | ||
) | ||
auto_rx_config["experimental_decoders"]["RS41"] = config.getboolean( | ||
"advanced", "rs41_experimental" | ||
) | ||
auto_rx_config["experimental_decoders"]["RS92"] = config.getboolean( | ||
"advanced", "rs92_experimental" | ||
) | ||
auto_rx_config["experimental_decoders"]["M10"] = config.getboolean( | ||
"advanced", "m10_experimental" | ||
) | ||
auto_rx_config["experimental_decoders"]["DFM"] = config.getboolean( | ||
"advanced", "dfm_experimental" | ||
) | ||
auto_rx_config["experimental_decoders"]["LMS6"] = config.getboolean( | ||
"advanced", "lms6-400_experimental" | ||
) | ||
# Use 'experimental' (not really, anymore!) decoders for RS41, RS92, M10, DFM and LMS6-400. | ||
# Don't allow overriding to the FM based decoders. | ||
# auto_rx_config["experimental_decoders"]["RS41"] = config.getboolean( | ||
# "advanced", "rs41_experimental" | ||
# ) | ||
# auto_rx_config["experimental_decoders"]["RS92"] = config.getboolean( | ||
# "advanced", "rs92_experimental" | ||
# ) | ||
# auto_rx_config["experimental_decoders"]["M10"] = config.getboolean( | ||
# "advanced", "m10_experimental" | ||
# ) | ||
# auto_rx_config["experimental_decoders"]["DFM"] = config.getboolean( | ||
# "advanced", "dfm_experimental" | ||
# ) | ||
# auto_rx_config["experimental_decoders"]["LMS6"] = config.getboolean( | ||
# "advanced", "lms6-400_experimental" | ||
# ) | ||
|
||
try: | ||
auto_rx_config["web_control"] = config.getboolean("web", "web_control") | ||
|
@@ -760,6 +764,17 @@ def read_auto_rx_config(filename, no_sdr_test=False): | |
auto_rx_config["email_encrypted_sonde_notifications"] = True | ||
|
||
|
||
# 1.6.3 - Weathex WXR301d support | ||
try: | ||
auto_rx_config["wideband_sondes"] = config.getboolean( | ||
"advanced", "wideband_sondes" | ||
) | ||
except: | ||
logging.warning( | ||
"Config - Missing wideband_sondes option (new in v1.6.3), using default (False)" | ||
) | ||
auto_rx_config["wideband_sondes"] = False | ||
|
||
# If we are being called as part of a unit test, just return the config now. | ||
if no_sdr_test: | ||
return auto_rx_config | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.