From 74be25f656ef53af447941367a7628dcc79ce65e Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 27 Nov 2020 18:49:33 +0100 Subject: [PATCH] rename all occurences to SDDC --- owrx/feature.py | 7 ++++++- owrx/source/{rf103.py => sddc.py} | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) rename owrx/source/{rf103.py => sddc.py} (80%) diff --git a/owrx/feature.py b/owrx/feature.py index cd4d02e..5bf614f 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -68,7 +68,7 @@ class FeatureDetector(object): "red_pitaya": ["soapy_connector", "soapy_red_pitaya"], "radioberry": ["soapy_connector", "soapy_radioberry"], "fcdpp": ["soapy_connector", "soapy_fcdpp"], - "rf103": ["sddc_connector"], + "sddc": ["sddc_connector"], "hpsdr": ["hpsdr_connector"], # optional features and their requirements "digital_voice_digiham": ["digiham", "sox"], @@ -496,6 +496,11 @@ class FeatureDetector(object): return self.command_is_runnable("dream --help", 0) def has_sddc_connector(self): + """ + The sddc_connector allows connectivity with SDR devices powered by libsddc, e.g. RX666, RX888, HF103. + + You can find more information [here](https://github.com/jketterl/sddc_connector). + """ return self.command_is_runnable("sddc_connector") def has_hpsdr_connector(self): diff --git a/owrx/source/rf103.py b/owrx/source/sddc.py similarity index 80% rename from owrx/source/rf103.py rename to owrx/source/sddc.py index e263250..58e7380 100644 --- a/owrx/source/rf103.py +++ b/owrx/source/sddc.py @@ -1,6 +1,6 @@ from owrx.source.connector import ConnectorSource -class Rf103Source(ConnectorSource): +class SddcSource(ConnectorSource): def getCommandMapper(self): return super().getCommandMapper().setBase("sddc_connector")