From c2a7b4a4a8470199fe85f3e42d269d4bb66dcaa8 Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Sun, 11 Oct 2015 01:26:49 +0200 Subject: [PATCH] Added experimental HackRF support. --- config_webrx.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config_webrx.py b/config_webrx.py index 59a85ab4..5161edd2 100644 --- a/config_webrx.py +++ b/config_webrx.py @@ -84,6 +84,13 @@ start_rtl_thread=True start_rtl_command="rtl_sdr -s {samp_rate} -f {center_freq} -p {ppm} - | nc -vvl 127.0.0.1 8888".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm) format_conversion="csdr convert_u8_f" +#start_rtl_command="hackrf_transfer -s {samp_rate} -f {center_freq} -g {rf_gain} -l16 -a0 -r hackrf_pipe & cat hackrf_pipe | nc -vvl 127.0.0.1 8888".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm) +#format_conversion="csdr convert_i8_f" +## To use a HackRF, first run "mkfifo hackrf_pipe" in the OpenWebRX directory. +## You should also use the csdr git repo from here: +## git clone https://github.com/sgentle/csdr +## git checkout origin/signed_char + # >> Sound card SDR (needs ALSA) #I did not have the chance to properly test it. #samp_rate = 96000