implement basic support for radioberry
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
							
								
								
									
										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" | ||||
		Reference in New Issue
	
	Block a user
	 Jakob Ketterl
					Jakob Ketterl