From 7eb0a8cf7e9712699f29186eab04c9a75281b93c Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 9 Jul 2020 15:39:33 +0200 Subject: [PATCH] add fcdpp support --- owrx/feature.py | 9 +++++++++ owrx/source/fcdpp.py | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 owrx/source/fcdpp.py diff --git a/owrx/feature.py b/owrx/feature.py index b6d83b8..a9c44f2 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -35,6 +35,7 @@ class FeatureDetector(object): "uhd": ["soapy_connector", "soapy_uhd"], "red_pitaya": ["soapy_connector", "soapy_red_pitaya"], "radioberry": ["soapy_connector", "soapy_radioberry"], + "fcdpp": ["soapy_connector", "soapy_fcdpp"], # optional features and their requirements "digital_voice_digiham": ["digiham", "sox"], "digital_voice_dsd": ["dsd", "sox", "digiham"], @@ -330,6 +331,14 @@ class FeatureDetector(object): """ return self._has_soapy_driver("hackrf") + def has_soapy_fcdpp(self): + """ + The SoapyFCDPP module allows the use of the Funcube Dongle Pro+. + + You can get it [here](https://github.com/pothosware/SoapyFCDPP). + """ + return self._has_soapy_driver("fcdpp") + def has_dsd(self): """ The digital voice modes NXDN and D-Star can be decoded by the dsd project. Please note that you need the version diff --git a/owrx/source/fcdpp.py b/owrx/source/fcdpp.py new file mode 100644 index 0000000..bb121ee --- /dev/null +++ b/owrx/source/fcdpp.py @@ -0,0 +1,6 @@ +from owrx.source.soapy import SoapyConnectorSource + + +class FcdppSource(SoapyConnectorSource): + def getDriver(self): + return "fcdpp"