implement basic support for radioberry
This commit is contained in:
parent
59a7842c6d
commit
5606646064
@ -34,6 +34,7 @@ class FeatureDetector(object):
|
|||||||
"soapy_remote": ["soapy_connector", "soapy_remote"],
|
"soapy_remote": ["soapy_connector", "soapy_remote"],
|
||||||
"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"],
|
||||||
# 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"],
|
||||||
@ -333,6 +334,14 @@ class FeatureDetector(object):
|
|||||||
"""
|
"""
|
||||||
return self._has_soapy_driver("redpitaya")
|
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):
|
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/radioberry.py
Normal file
6
owrx/source/radioberry.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from .soapy import SoapyConnectorSource
|
||||||
|
|
||||||
|
|
||||||
|
class RadioberrySource(SoapyConnectorSource):
|
||||||
|
def getDriver(self):
|
||||||
|
return "radioberry"
|
Loading…
Reference in New Issue
Block a user