diff --git a/CHANGELOG.md b/CHANGELOG.md index 4abf764..d99f12f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ **unreleased** - Introduced `squelch_auto_margin` config option that allows configuring the auto squelch level - Removed `port` configuration option; `rtltcp_compat` takes the port number with the new connectors +- New devices supported: + - BBRF103 / RX666 / RX888 devices supported by libsddc **0.20.0** - Added the ability to sign multiple keys in a single request, thus enabling multiple users to claim a single receiver diff --git a/debian/changelog b/debian/changelog index 31272e1..1e8e81e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ openwebrx (0.21.0) UNRELEASED; urgency=low auto squelch level * Removed `port` configuration option; `rtltcp_compat` takes the port number with the new connectors + * New devices supported: + - BBRF103 / RX666 / RX888 devices supported by libsddc -- Jakob Ketterl Sun, 11 Oct 2020 21:12:00 +0000 diff --git a/owrx/command.py b/owrx/command.py index 87ae711..0559b72 100644 --- a/owrx/command.py +++ b/owrx/command.py @@ -76,4 +76,4 @@ class Option(CommandMapping): class Argument(CommandMapping): def map(self, value): - return value + return str(value) diff --git a/owrx/feature.py b/owrx/feature.py index c81d8c7..5bf614f 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -68,6 +68,7 @@ class FeatureDetector(object): "red_pitaya": ["soapy_connector", "soapy_red_pitaya"], "radioberry": ["soapy_connector", "soapy_radioberry"], "fcdpp": ["soapy_connector", "soapy_fcdpp"], + "sddc": ["sddc_connector"], "hpsdr": ["hpsdr_connector"], # optional features and their requirements "digital_voice_digiham": ["digiham", "sox"], @@ -494,6 +495,14 @@ 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): """ In order to use the HPSDR connector, you will need to install [hpsdrconnector] diff --git a/owrx/source/sddc.py b/owrx/source/sddc.py new file mode 100644 index 0000000..58e7380 --- /dev/null +++ b/owrx/source/sddc.py @@ -0,0 +1,6 @@ +from owrx.source.connector import ConnectorSource + + +class SddcSource(ConnectorSource): + def getCommandMapper(self): + return super().getCommandMapper().setBase("sddc_connector")