add fcdpp support

This commit is contained in:
Jakob Ketterl 2020-07-09 15:39:33 +02:00
parent 0e6518915d
commit 7eb0a8cf7e
2 changed files with 15 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class FeatureDetector(object):
"uhd": ["soapy_connector", "soapy_uhd"], "uhd": ["soapy_connector", "soapy_uhd"],
"red_pitaya": ["soapy_connector", "soapy_red_pitaya"], "red_pitaya": ["soapy_connector", "soapy_red_pitaya"],
"radioberry": ["soapy_connector", "soapy_radioberry"], "radioberry": ["soapy_connector", "soapy_radioberry"],
"fcdpp": ["soapy_connector", "soapy_fcdpp"],
# 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"],
@ -330,6 +331,14 @@ class FeatureDetector(object):
""" """
return self._has_soapy_driver("hackrf") 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): 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/fcdpp.py Normal file
View File

@ -0,0 +1,6 @@
from owrx.source.soapy import SoapyConnectorSource
class FcdppSource(SoapyConnectorSource):
def getDriver(self):
return "fcdpp"