add airspyhf support

This commit is contained in:
Jakob Ketterl 2019-12-06 11:39:23 +01:00
parent ac841221b6
commit 1d1851dc76
3 changed files with 12 additions and 0 deletions

View File

@ -26,4 +26,10 @@ cmakebuild airspyone_host
git clone https://github.com/pothosware/SoapyAirspy.git
cmakebuild SoapyAirspy
git clone https://github.com/airspy/airspyhf.git
cmakebuild airspyhf
git clone https://github.com/pothosware/SoapyAirspyHF.git
cmakebuild SoapyAirspyHF
apk del .build-deps

View File

@ -26,6 +26,7 @@ class FeatureDetector(object):
"hackrf": ["hackrf_transfer"],
"airspy": ["airspy_rx"],
"airspy_connector": ["soapy_connector"],
"airspyhf_connector": ["soapy_connector"],
"digital_voice_digiham": ["digiham", "sox"],
"digital_voice_dsd": ["dsd", "sox", "digiham"],
"wsjt-x": ["wsjtx", "sox"],

View File

@ -629,6 +629,11 @@ class AirspyConnectorSource(SoapyConnectorSource):
return cmd
class AirspyhfConnectorSource(AirspyConnectorSource):
def getDriver(self):
return "airspyhf"
class RtlSdrSource(SdrSource):
def getCommand(self):
return "rtl_sdr -s {samp_rate} -f {tuner_freq} -p {ppm} -g {rf_gain} -"