implement basic support for radioberry

This commit is contained in:
Jakob Ketterl 2020-05-10 00:03:14 +02:00
parent 59a7842c6d
commit 5606646064
2 changed files with 15 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class FeatureDetector(object):
"soapy_remote": ["soapy_connector", "soapy_remote"],
"uhd": ["soapy_connector", "soapy_uhd"],
"red_pitaya": ["soapy_connector", "soapy_red_pitaya"],
"radioberry": ["soapy_connector", "soapy_radioberry"],
# optional features and their requirements
"digital_voice_digiham": ["digiham", "sox"],
"digital_voice_dsd": ["dsd", "sox", "digiham"],
@ -333,6 +334,14 @@ class FeatureDetector(object):
"""
return self._has_soapy_driver("redpitaya")
def has_soapy_radioberry(self):
"""
The Radioberry is a SDR hat for the Raspberry Pi.
You can find more information, along with its SoapySDR module [here](https://github.com/pa3gsb/Radioberry-2.x).
"""
return self._has_soapy_driver("radioberry")
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

View File

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