Merge pull request #44 from dh5ym/develop
Adding PlutoSDR support via SoapySDR, closes #27
This commit is contained in:
commit
0f1d219002
@ -29,6 +29,7 @@ class FeatureDetector(object):
|
|||||||
"airspyhf": ["soapy_connector", "soapy_airspyhf"],
|
"airspyhf": ["soapy_connector", "soapy_airspyhf"],
|
||||||
"lime_sdr": ["soapy_connector", "soapy_lime_sdr"],
|
"lime_sdr": ["soapy_connector", "soapy_lime_sdr"],
|
||||||
"fifi_sdr": ["alsa"],
|
"fifi_sdr": ["alsa"],
|
||||||
|
"pluto_sdr": ["soapy_connector", "soapy_pluto_sdr"],
|
||||||
# optional features and their requirements
|
# optional features and their requirements
|
||||||
"digital_voice_digiham": ["digiham", "sox"],
|
"digital_voice_digiham": ["digiham", "sox"],
|
||||||
"digital_voice_dsd": ["dsd", "sox", "digiham"],
|
"digital_voice_dsd": ["dsd", "sox", "digiham"],
|
||||||
@ -281,6 +282,14 @@ class FeatureDetector(object):
|
|||||||
"""
|
"""
|
||||||
return self._has_soapy_driver("LMS7")
|
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):
|
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
|
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
6
owrx/source/pluto_sdr.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from .soapy import SoapyConnectorSource
|
||||||
|
|
||||||
|
|
||||||
|
class PlutoSdrSource(SoapyConnectorSource):
|
||||||
|
def getDriver(self):
|
||||||
|
return "pluto_sdr"
|
Loading…
Reference in New Issue
Block a user