From c8c2221b34eedcef37ce066e9df2a70650050e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Retzler?= Date: Thu, 8 Sep 2016 09:11:41 +0200 Subject: [PATCH] Updated Using OpenWebRX with an AirSpy (markdown) --- Using-OpenWebRX-with-an-AirSpy.md | 34 +++++++++++++++++-------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/Using-OpenWebRX-with-an-AirSpy.md b/Using-OpenWebRX-with-an-AirSpy.md index 037dc02..f74e485 100644 --- a/Using-OpenWebRX-with-an-AirSpy.md +++ b/Using-OpenWebRX-with-an-AirSpy.md @@ -1,20 +1,24 @@ First you should install the `airspy_rx` tool on Linux: - sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config - git clone https://github.com/airspy/host airspy-host - cd airspy-host - mkdir build - cd build - cmake .. - make - sudo make install - sudo ldconfig +```bash +sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config +git clone https://github.com/airspy/host airspy-host +cd airspy-host +mkdir build +cd build +cmake .. +make +sudo make install +sudo ldconfig +``` The next step is to make the following changes to `config_webrx.py`: - samp_rate = 2500000 #can only be 2500000 or 10000000 - center_freq = 144900000 - rf_gain = 8 - bias_tee = 0 - start_rtl_command = "airspy_rx -f{center_freq} -r /dev/stdout -a{samp_rate_switch} -g{rf_gain} -b{bias_tee}".format(bias_tee=bias_tee, rf_gain=rf_gain, center_freq=str(center_freq/1000), samp_rate_switch=(0 if samp_rate==10000000 else 1)) - format_conversion = "csdr convert_s16_f" \ No newline at end of file +```python +samp_rate = 2500000 #can only be 2500000 or 10000000 +center_freq = 144900000 +rf_gain = 8 +bias_tee = 0 +start_rtl_command = "airspy_rx -f{center_freq} -r /dev/stdout -a{samp_rate_switch} -g{rf_gain} -b{bias_tee}".format(bias_tee=bias_tee, rf_gain=rf_gain, center_freq=str(center_freq/1000), samp_rate_switch=(0 if samp_rate==10000000 else 1)) +format_conversion = "csdr convert_s16_f" +``` \ No newline at end of file