add airspyhf support
This commit is contained in:
parent
ac841221b6
commit
1d1851dc76
@ -26,4 +26,10 @@ cmakebuild airspyone_host
|
|||||||
git clone https://github.com/pothosware/SoapyAirspy.git
|
git clone https://github.com/pothosware/SoapyAirspy.git
|
||||||
cmakebuild SoapyAirspy
|
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
|
apk del .build-deps
|
||||||
|
@ -26,6 +26,7 @@ class FeatureDetector(object):
|
|||||||
"hackrf": ["hackrf_transfer"],
|
"hackrf": ["hackrf_transfer"],
|
||||||
"airspy": ["airspy_rx"],
|
"airspy": ["airspy_rx"],
|
||||||
"airspy_connector": ["soapy_connector"],
|
"airspy_connector": ["soapy_connector"],
|
||||||
|
"airspyhf_connector": ["soapy_connector"],
|
||||||
"digital_voice_digiham": ["digiham", "sox"],
|
"digital_voice_digiham": ["digiham", "sox"],
|
||||||
"digital_voice_dsd": ["dsd", "sox", "digiham"],
|
"digital_voice_dsd": ["dsd", "sox", "digiham"],
|
||||||
"wsjt-x": ["wsjtx", "sox"],
|
"wsjt-x": ["wsjtx", "sox"],
|
||||||
|
@ -629,6 +629,11 @@ class AirspyConnectorSource(SoapyConnectorSource):
|
|||||||
return cmd
|
return cmd
|
||||||
|
|
||||||
|
|
||||||
|
class AirspyhfConnectorSource(AirspyConnectorSource):
|
||||||
|
def getDriver(self):
|
||||||
|
return "airspyhf"
|
||||||
|
|
||||||
|
|
||||||
class RtlSdrSource(SdrSource):
|
class RtlSdrSource(SdrSource):
|
||||||
def getCommand(self):
|
def getCommand(self):
|
||||||
return "rtl_sdr -s {samp_rate} -f {tuner_freq} -p {ppm} -g {rf_gain} -"
|
return "rtl_sdr -s {samp_rate} -f {tuner_freq} -p {ppm} -g {rf_gain} -"
|
||||||
|
Loading…
Reference in New Issue
Block a user