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 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"