From d7aaf0d00e302ba5b69a642a050f1275c96aeeed Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Jan 2020 22:42:08 +0100 Subject: [PATCH 1/2] Adding support for PlutoSDR (Adalm Pluto) via SoapySDR --- owrx/source/pluto_sdr.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 owrx/source/pluto_sdr.py diff --git a/owrx/source/pluto_sdr.py b/owrx/source/pluto_sdr.py new file mode 100644 index 0000000..720df0e --- /dev/null +++ b/owrx/source/pluto_sdr.py @@ -0,0 +1,6 @@ +from .soapy import SoapyConnectorSource + + +class PlutoSdrSource(SoapyConnectorSource): + def getDriver(self): + return "pluto_sdr" From 7bf4c4873318725bca05ef88abaa7fdeac314d34 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Jan 2020 22:44:11 +0100 Subject: [PATCH 2/2] Adding support for PlutoSDR (Adalm Pluto) via SoapySDR --- owrx/feature.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/owrx/feature.py b/owrx/feature.py index c92d463..2798a87 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -29,6 +29,7 @@ class FeatureDetector(object): "airspyhf": ["soapy_connector", "soapy_airspyhf"], "lime_sdr": ["soapy_connector", "soapy_lime_sdr"], "fifi_sdr": ["alsa"], + "pluto_sdr": ["soapy_connector", "soapy_pluto_sdr"], # optional features and their requirements "digital_voice_digiham": ["digiham", "sox"], "digital_voice_dsd": ["dsd", "sox", "digiham"], @@ -281,6 +282,14 @@ class FeatureDetector(object): """ return self._has_soapy_driver("LMS7") + def has_soapy_pluto_sdr(self): + """ + The SoapySDR module for PlutoSDR devices is required for interfacing with PlutoSDR devices. + + You can get it [here](https://github.com/photosware/SoapyPlutoSDR). + """ + return self._has_soapy_driver("PlutoSDR") + 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