Merge pull request #44 from dh5ym/develop

Adding PlutoSDR support via SoapySDR, closes #27
This commit is contained in:
Jakob Ketterl 2020-01-17 12:43:19 +01:00 committed by GitHub
commit 0f1d219002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

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

6
owrx/source/pluto_sdr.py Normal file
View File

@ -0,0 +1,6 @@
from .soapy import SoapyConnectorSource
class PlutoSdrSource(SoapyConnectorSource):
def getDriver(self):
return "pluto_sdr"