diff --git a/docker/scripts/install-dependencies-airspy.sh b/docker/scripts/install-dependencies-airspy.sh index 8d147db..b9a6e21 100755 --- a/docker/scripts/install-dependencies-airspy.sh +++ b/docker/scripts/install-dependencies-airspy.sh @@ -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 diff --git a/owrx/feature.py b/owrx/feature.py index ecd041d..a9711d3 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -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"], diff --git a/owrx/source.py b/owrx/source.py index e08c98a..d18398e 100644 --- a/owrx/source.py +++ b/owrx/source.py @@ -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} -"