rename all occurences to SDDC

This commit is contained in:
Jakob Ketterl 2020-11-27 18:49:33 +01:00
parent b5d56eaec2
commit 74be25f656
2 changed files with 7 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class FeatureDetector(object):
"red_pitaya": ["soapy_connector", "soapy_red_pitaya"], "red_pitaya": ["soapy_connector", "soapy_red_pitaya"],
"radioberry": ["soapy_connector", "soapy_radioberry"], "radioberry": ["soapy_connector", "soapy_radioberry"],
"fcdpp": ["soapy_connector", "soapy_fcdpp"], "fcdpp": ["soapy_connector", "soapy_fcdpp"],
"rf103": ["sddc_connector"], "sddc": ["sddc_connector"],
"hpsdr": ["hpsdr_connector"], "hpsdr": ["hpsdr_connector"],
# optional features and their requirements # optional features and their requirements
"digital_voice_digiham": ["digiham", "sox"], "digital_voice_digiham": ["digiham", "sox"],
@ -496,6 +496,11 @@ class FeatureDetector(object):
return self.command_is_runnable("dream --help", 0) return self.command_is_runnable("dream --help", 0)
def has_sddc_connector(self): 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") return self.command_is_runnable("sddc_connector")
def has_hpsdr_connector(self): def has_hpsdr_connector(self):

View File

@ -1,6 +1,6 @@
from owrx.source.connector import ConnectorSource from owrx.source.connector import ConnectorSource
class Rf103Source(ConnectorSource): class SddcSource(ConnectorSource):
def getCommandMapper(self): def getCommandMapper(self):
return super().getCommandMapper().setBase("sddc_connector") return super().getCommandMapper().setBase("sddc_connector")