Fork of the Flightaware dump1090 code base with an additional branch for integration with the EOSS SDR system.
Go to file
Gluttton 53183c0b2a limesdr: basic implementation of LimeSDR support
The commit provides a basic implementation of support for LimeSDR USB
receivers based on LMS7002 chip. The solution has several limitations:
 - passing parameters for tune LimeSDR receiver via command-line
   options is not implemented;
 - only hardcoded configuration is used (channel 0 of lower band LNA,
   LMS_FMT_I16 format, gain, bandwidth and timeout);
 - only one device is supported and it is not possible to select a
   desired one in case if several devices are connected to the host.

Test: compare the output of the program for RTL and LimeSDR receivers.
Environment:
 - RTL2832SDR dongle;
 - LMS7002M based USB LimeSDR board;
 - 800MHz-2200MHz omnidirectional antenna with SMA connector.
Procedure:
 - connect RTL dongle to the host and start the program with the
   following parameters:
   $ ./dump1090 --device-type rtlsdr --interactive
 - wait until several planes will be detected;
 - stop the program, connect the LimeSDR board to the host and restart
   the program with the following parameters:
   $ ./dump1090 --device-type limesdr --interactive
 - ensure that the same planes are detected.
Acceptance criteria: the same planes are detected using both receivers
   and track information matches with information from the
   FlightRadar24 application.

Signed-off-by: Gluttton <gluttton@ukr.net>
2020-07-29 23:09:27 +03:00
bladerf bladeRF docs and custom bitstream. 2017-02-03 00:36:41 +00:00
compat fixed a tiny change to an #ifndef comment 2016-03-31 13:46:17 -04:00
debian Release 3.8.1 2020-03-19 14:21:17 +00:00
debian-wheezy Give up on a single control file for jessie+stretch, just handle the dependency difference separately. 2018-06-29 12:54:33 -05:00
oneoff Add some oneoff tools for comm-b decoding testing 2019-05-02 17:29:46 +08:00
public_html Bump script cache bust version 2020-03-17 15:24:51 +08:00
testfiles Initial commit of Dump1090, a simple Mode S decoder. 2013-01-05 13:52:25 +01:00
tools Update aircraft db to 20191216 2019-12-16 10:22:46 -06:00
.gitattributes Compress vrs.csv since it's basically readonly. 2016-09-10 17:43:10 +01:00
.gitignore Update .gitignore for new binaries 2019-05-02 17:31:08 +08:00
.travis.yml More build deps 2019-03-04 15:43:45 +00:00
COPYING GPL. 2015-01-20 16:49:01 +00:00
Jenkinsfile Add buster to the Jenkins build 2019-11-07 10:41:40 +08:00
LICENSE GPL. 2015-01-20 16:49:01 +00:00
Makefile limesdr: basic implementation of LimeSDR support 2020-07-29 23:09:27 +03:00
README-json.md standart -> standard 2019-05-06 10:23:28 +08:00
README.md limesdr: basic implementation of LimeSDR support 2020-07-29 23:09:27 +03:00
ais_charset.c Put ais_charset in its own file to make building commb tests a little easier 2019-05-02 17:24:26 +08:00
ais_charset.h Put ais_charset in its own file to make building commb tests a little easier 2019-05-02 17:24:26 +08:00
anet.c IPv6 support (in theory). 2016-02-16 13:00:55 +00:00
anet.h IPv6 support (in theory). 2016-02-16 13:00:55 +00:00
comm_b.c Remove comm-b "consistency" bonuses, look at inconsistent data only. 2019-05-02 18:19:27 +08:00
comm_b.h WIP: More Comm-B & ADS-B decoding. 2017-06-15 18:07:40 +01:00
convert.c Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
convert.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
cpr.c Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
cpr.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
cprtests.c Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
crc.c Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
crc.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
demod_2400.c WIP on new faup1090 output, data aging, refactoring 2017-12-02 17:38:33 +00:00
demod_2400.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
dump1090.c limesdr: basic implementation of LimeSDR support 2020-07-29 23:09:27 +03:00
dump1090.h limesdr: basic implementation of LimeSDR support 2020-07-29 23:09:27 +03:00
faup1090.c Add a v/V Beast-format setting to control verbatim mode. 2019-11-27 21:04:27 +08:00
icao_filter.c Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
icao_filter.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
interactive.c Put a warning header up in view1090 interactive mode when there's no connection 2019-12-02 19:51:06 +08:00
mode_ac.c More WIP 2017-12-07 10:34:08 -06:00
mode_s.c Treat ADS-R as a separate source type (higher priority than TIS-B, lower priority than direct ADS-B) 2019-12-11 12:43:19 -06:00
mode_s.h Put ais_charset in its own file to make building commb tests a little easier 2019-05-02 17:24:26 +08:00
net_io.c Treat ADS-R as a separate source type (higher priority than TIS-B, lower priority than direct ADS-B) 2019-12-11 12:43:19 -06:00
net_io.h faup1090: write _v on every line, bump TSV_VERSION 2019-03-19 18:10:38 +00:00
prepare-build.sh Make the stretch build be a backport. Add a build rule for buster. 2019-11-07 10:54:24 +08:00
sdr.c limesdr: basic implementation of LimeSDR support 2020-07-29 23:09:27 +03:00
sdr.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
sdr_bladerf.c Reject outright a libbladerf that's too old 2019-09-04 22:46:38 +08:00
sdr_bladerf.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
sdr_ifile.c WIP on new faup1090 output, data aging, refactoring 2017-12-02 17:38:33 +00:00
sdr_ifile.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
sdr_limesdr.c limesdr: basic implementation of LimeSDR support 2020-07-29 23:09:27 +03:00
sdr_limesdr.h limesdr: basic implementation of LimeSDR support 2020-07-29 23:09:27 +03:00
sdr_rtlsdr.c Just use fprintf. 2019-03-07 18:19:23 +00:00
sdr_rtlsdr.h Whitespace changes only: cleaning up trailing whitespace at EOL 2017-06-15 18:17:07 +01:00
stats.c Add stats for unreliable tracks 2019-11-27 21:41:33 +08:00
stats.h Add stats for unreliable tracks 2019-11-27 21:41:33 +08:00
track.c Track ADS-B version separately for direct ADS-B, TIS-B, ADS-R 2019-12-12 09:21:26 -06:00
track.h Track ADS-B version separately for direct ADS-B, TIS-B, ADS-R 2019-12-12 09:21:26 -06:00
util.c WIP on new faup1090 output, data aging, refactoring 2017-12-02 17:38:33 +00:00
util.h WIP on new faup1090 output, data aging, refactoring 2017-12-02 17:38:33 +00:00
view1090.c Exit view1090 on connection loss in non-interactive mode 2019-12-02 19:52:43 +08:00

README.md

dump1090-fa Debian/Raspbian packages

This is a fork of dump1090-mutability customized for use within FlightAware's PiAware software.

It is designed to build as a Debian package.

Building under stretch

$ sudo apt-get install build-essential debhelper librtlsdr-dev pkg-config dh-systemd libncurses5-dev libbladerf-dev
$ dpkg-buildpackage -b

Building under jessie

Dependencies - bladeRF

You will need a build of libbladeRF. You can build packages from source:

$ git clone https://github.com/Nuand/bladeRF.git  
$ cd bladeRF  
$ git checkout 2017.12-rc1  
$ dpkg-buildpackage -b

Or Nuand has some build/install instructions including an Ubuntu PPA at https://github.com/Nuand/bladeRF/wiki/Getting-Started:-Linux

Or FlightAware provides armhf packages as part of the piaware repository; see https://flightaware.com/adsb/piaware/install

Dependencies - rtlsdr

This is packaged with jessie. sudo apt-get install librtlsdr-dev

Dependencies - LimeSDR

You will need a build of LimeSuite.
See detailed instruction on the official Wiki how to build and install it.

Actually building it

Nothing special, just build it (dpkg-buildpackage -b)

Building under wheezy

First run prepare-wheezy-tree.sh. This will create a package tree in package-wheezy/. Build in there (dpkg-buildpackage -b)

The wheezy build does not include bladeRF and LimeSDR support.

Building manually

You can probably just run "make" after installing the required dependencies. Binaries are built in the source directory; you will need to arrange to install them (and a method for starting them) yourself.

make BLADERF=no will disable bladeRF support and remove the dependency on libbladeRF.

make RTLSDR=no will disable rtl-sdr support and remove the dependency on librtlsdr.

make LIMESDR=no will disable LimeSDR support and remove the dependency on libLimeSuite.