trim the config

This commit is contained in:
Jakob Ketterl
2019-05-11 13:25:48 +02:00
parent d5f17d66d9
commit de84dc71e8
3 changed files with 27 additions and 78 deletions

View File

@ -131,6 +131,19 @@ class FeatureDetector(object):
def has_rx_tools(self):
return os.system("rx_sdr --help 2> /dev/null") != 32512
"""
To use a HackRF, compile the HackRF host tools from its "stdout" branch:
git clone https://github.com/mossmann/hackrf/
cd hackrf
git fetch
git checkout origin/stdout
cd host
mkdir build
cd build
cmake .. -DINSTALL_UDEV_RULES=ON
make
sudo make install
"""
def has_hackrf_transfer(self):
# TODO i don't have a hackrf, so somebody doublecheck this.
# TODO also check if it has the stdout feature