From 78c449d85b1b3dc7472c49e1cf4729a82239286e Mon Sep 17 00:00:00 2001 From: Martin Murray Date: Sun, 19 Mar 2023 22:12:55 -0400 Subject: [PATCH 1/2] Add documentation for recent patches --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 894cdcb..7127317 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ for the RTLSDR device for the AirSpy device -g gain : set airspy gain (0..21) - -s airspydevice f1 [f2] ... [fN] : decode from airspy device number or S/N "airspydevice" receiving at VHF frequencies "f1" and optionally "f2" to "fN" in Mhz (ie : -s 131.525 131.725 131.825 ). Frequencies must be within the same 2MHz. + -s airspydevice f1 [f2] ... [fN] : decode from airspy device number or S/N "airspydevice" receiving at VHF frequencies "f1" and optionally "f2" to "fN" in Mhz (ie : -s 131.525 131.725 131.825 ). Frequencies must be within the same 3MHz for the airspy mini and 5 MHz for the airspy R2. for the SDRplay device @@ -73,6 +73,8 @@ for the SDRplay device for the SoapySDR device + --antenna antenna : set antenna port to use + -d devicestring f1 [f2] ... [fN] : decode from a SoapySDR device at VHF frequencies f1 and optionally f2 to fN in Mhz (ie : -d driver=rtltcp 131.525 131.725 131.825 ). -g gain : set gain in db (-10 will result in AGC; default is AGC) @@ -94,6 +96,18 @@ Decoding from airspy on 3 frequencies with verbose logging : `acarsdec -s 131.525 131.725 131.825` +Decoding from rtl dongle with serial number `ACARS2` on 1 frequency with gain 34.0: + +`acarsdec -g 34 -r ACARS2 130.450` + +Decoding from airspy mini with serial number `0xa74068c82f531693` on 11 frequencies with gain 18: + +`acarsdec -g 18 -s 0xa74068c82f531693 129.350 130.025 130.425 130.450 130.650 131.125 131.475 131.550 131.600 131.725 131.850` + +Decoding from first airspy available with 3 frequencies: + +`acarsdec -s 130.450 131.550 131.125` + ### Output formats examples #### One line by mesg format (-o 1) @@ -223,6 +237,16 @@ make sudo make install ``` +For soapy : +``` +mkdir build +cd build +cmake .. -Dsoapy=ON +make +sudo make install +``` + + Notes : * Airspy version will set the R820T tuner bandwidth to suit given frequencies. See : (https://tleconte.github.io/R820T/r820IF.html) * libacars support is optional. If the library (version 2.0.0 or later) is installed and can be located with pkg-config, it will be enabled. From eb04f9c40b8fcca65e1e676183b47179b24add07 Mon Sep 17 00:00:00 2001 From: Martin Murray Date: Mon, 20 Mar 2023 19:48:19 -0400 Subject: [PATCH 2/2] Add soapy driver example --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7127317..edb6eae 100644 --- a/README.md +++ b/README.md @@ -96,18 +96,22 @@ Decoding from airspy on 3 frequencies with verbose logging : `acarsdec -s 131.525 131.725 131.825` -Decoding from rtl dongle with serial number `ACARS2` on 1 frequency with gain 34.0: +Decoding from rtl dongle with serial number `ACARS2` on 1 frequency with gain 34.0 : `acarsdec -g 34 -r ACARS2 130.450` -Decoding from airspy mini with serial number `0xa74068c82f531693` on 11 frequencies with gain 18: +Decoding from airspy mini with serial number `0xa74068c82f531693` on 11 frequencies with gain 18 : `acarsdec -g 18 -s 0xa74068c82f531693 129.350 130.025 130.425 130.450 130.650 131.125 131.475 131.550 131.600 131.725 131.850` -Decoding from first airspy available with 3 frequencies: +Decoding from first airspy available with 3 frequencies : `acarsdec -s 130.450 131.550 131.125` +Decoding with JSON output, an sdrplay device using Soapy driver, and specifying Antenna C : + +`acarsdec -o 4 -v --antenna "Antenna C" -d driver=sdrplay,agc_setpoint=-15 130.025 130.450 130.825 131.125 131.550 131.650 131.725` + ### Output formats examples #### One line by mesg format (-o 1)