Perseus SDR HF receiver first support

This commit is contained in:
Andrea Montefusco
2020-03-15 17:24:36 +01:00
parent c387fe0fe9
commit 97cb51d990
3 changed files with 104 additions and 1 deletions

View File

@ -25,6 +25,7 @@ class FeatureDetector(object):
"rtl_sdr_soapy": ["soapy_connector", "soapy_rtl_sdr"],
"sdrplay": ["soapy_connector", "soapy_sdrplay"],
"hackrf": ["hackrf_transfer"],
"perseussdr": ["perseustest"],
"airspy": ["soapy_connector", "soapy_airspy"],
"airspyhf": ["soapy_connector", "soapy_airspyhf"],
"lime_sdr": ["soapy_connector", "soapy_lime_sdr"],
@ -150,6 +151,26 @@ class FeatureDetector(object):
# TODO also check if it has the stdout feature
return self.command_is_runnable("hackrf_transfer --help")
def has_perseustest(self):
"""
To use a Microtelecom Perseus HF receiver, compile and
install the libperseus-sdr:
```
sudo apt install libusb-1.0-0-dev
cd /tmp
wget https://github.com/Microtelecom/libperseus-sdr/releases/download/v0.7.5/libperseus_sdr-0.7.5.tar.gz
tar -zxvf libperseus_sdr-0.7.5.tar.gz
cd libperseus_sdr-0.7.5/
./configure
make
sudo make install
sudo ldconfig
perseustest
```
"""
return self.command_is_runnable("perseustest -d -1 -a -t 1")
def has_digiham(self):
"""
To use digital voice modes, the digiham package is required. You can find the package and installation