Commit Graph

360 Commits

Author SHA1 Message Date
Karl Lehenbauer bd690db2b3 Use standard MODES_NET_SERVICES_NUM in faup1090
For faup1090 only the FlightAware service is enabled and we were shortening
the services table by using our own define of FAUP_NET_SERVICES_NUM and
having it set to 1.

Apps need to stick with the same number of services as defined by
MODES_NET_SERVICES_NUM in dump1090 because dump1090 support routine
modesAcceptClients loops on this constant to walk the services table.

Likewise we now define all the service ports dump1090 defines even though we
are not using them.  We have configured them as disabled.

Version bump to 1.14.
2014-10-02 21:42:17 -05:00
Karl Lehenbauer c7888add7e Update README 2014-10-02 11:23:30 -05:00
Karl Lehenbauer 709889dd5c Enable the correct number of net services in faup1090
faup1090 was using the wrong constant, MODES_NET_SERVICES_NUM, rather than
FAUP_NET_SERVICES_NUM, so it ran off the end of an array binding random
ports until failing when it tried to bind the FlightAware port a second time.

Thanks to Oliver Jowett (github user "mutability") for the fix.
2014-10-01 10:02:40 -05:00
Karl Lehenbauer e6f2cc5624 Build notes for the README 2014-09-30 04:02:32 -05:00
Karl Lehenbauer c64a894a18 Install fadump1090.sh in /etc/init.d/ 2014-09-30 03:31:07 -05:00
Karl Lehenbauer a089e07eed Add fadump1090.sh 2014-09-30 05:10:34 +00:00
Karl Lehenbauer 78ee29e334 Fix makefile tabs in prior commit 2014-09-30 04:47:43 +00:00
Karl Lehenbauer 1e12168ed6 Extend makefaup1090 Makefile rules
Add install options
* 'make all' compile faup1090
* 'make install-faup1090' install faup1090
* 'make install-dump1090' install dump1090
* 'make install-autostart' make dump1090 autostart upon boot
* 'make full-install' all of the above

Update .gitignore to ignore faup1090 and view1090.
2014-09-29 23:44:49 -05:00
Karl Lehenbauer 2be5074721 Install dump1090 support files in a reasonable place
* Install dump1090 and faup1090 to /usr/bin (It's Linux-standard, not my
first choice.)

* Build dump1090 to expect HTML and Javascript files in
/usr/share/dump1090/public_html

* Make 'make -f makefaup1090 install' install the dump1090 HTML and Javscript
files in the above directory.

* With this build style dump1090 can be invoked from anywhere and it will
find its files.
2014-09-29 15:44:01 -05:00
Karl Lehenbauer 2b92b01194 Version bump to 1.13. 2014-09-28 16:32:30 -05:00
Karl Lehenbauer fb2f76455c Version bump to 1.12.
(No changes but we keep the version matching the piaware version.)
2014-09-19 10:32:45 -05:00
Karl Lehenbauer 7d93db06dd FA version bump to 1.11 2014-09-06 17:05:33 +00:00
Karl Lehenbauer 2aea6ec778 Remove unneeded faup1090 dependency on rtlsdr lib 2014-09-06 05:12:08 +00:00
Karl Lehenbauer 5aab91bbf8 FlightAware version bump to 1.10. 2014-09-06 04:56:52 +00:00
Karl Lehenbauer f486e0ec3a Really make --no-rtlsdr-ok work
Code now recognizes that RTLSDR open failed and if configured by --no-rtlsdr-ok
will proceed to net-onlyA.
2014-09-04 10:01:22 -05:00
Karl Lehenbauer a8b5a7c85b Make the --net-fatsv-port switch work in dump1090 2014-08-30 12:38:56 -05:00
Karl Lehenbauer 1c831ae9a4 New switch allows dump1090 to work with/without dongle
* With --net-only switch dump1090 wouldn't look for an RTLSDR device

* Without --net-only switch dump1090 would abort if it couldn't find an RTLSDR
device.

* Now with --net --no-rtlsdr-ok dump1090 will try to find an RTLSDR device but
go ahead and start either way.
2014-08-27 15:41:52 -05:00
Karl Lehenbauer 86cd74ae1e Merge branch 'master' of github.com:flightaware/dump1090_mr 2014-08-26 15:59:45 +00:00
Karl Lehenbauer 9470ce9304 Remove faup1090 Makefile ref to coaa1090.obj
* It isn't needed.

* Also include /usr/share/dpkg/buildflags.mk in Makefile and makefaup1090
and add our compile-specific CFLAGS to the CFLAGS that sets up
so we compile with the preferred Debian build flags.
2014-08-26 15:53:37 +00:00
Jeff Lawson 0754bb7865 fix comparison instead of assignment 2014-08-26 10:41:05 -05:00
Karl Lehenbauer 05e80ee305 Version bump to 1.8.
BUGZID:
2014-08-22 12:12:19 -05:00
Karl Lehenbauer f911346f87 faup version bump to 1.7 2014-08-21 05:46:24 +00:00
Karl Lehenbauer a4c586a8a1 Update README with FlightAware-specific info. 2014-08-19 11:00:51 -05:00
Karl Lehenbauer 013133e1eb Merge branch 'master' of github.com:flightaware/dump1090_mr
Conflicts:
	faup1090.c
2014-08-18 18:02:51 -05:00
Karl Lehenbauer 298afdaa8f faup1090 startup and logging improvements
* If faup1090 can't start because the 10001 port is already in use it will now
exit with an exit status of 98 (EADDRINUSE).

* Emit the faup1090 version number if faup1090 is run with the --help argument.

* Make wicked sure we don't come up on any other ports that we shouldn't be on.

* Add "install" argument to faup1090 makefile makefaup1090.
BUGZID:
2014-08-18 17:59:46 -05:00
Karl Lehenbauer f44130ba33 Merge remote-tracking branch 'upstream/master' 2014-08-16 13:56:56 -05:00
Karl Lehenbauer d848a94358 stricter make rules for makefaup1090 2014-08-15 20:03:05 +00:00
Karl Lehenbauer 3e3c525b0b Make the faup1090 --net-fatsv-port option work.
* Fixed a bug that prevented the FlightAware TSV output port command line
option "--net-fatsv-port" from changing the assigned port.
2014-08-15 17:04:05 +00:00
Karl Lehenbauer db2f7d6a0e Add rule to recompile faup1090.c if header changes 2014-08-15 14:05:05 +00:00
Karl Lehenbauer 13ce9dd453 Move the faup1090 FA output port to 10001.
It was on 10002 for some testing and never got put back.
2014-08-15 14:02:43 +00:00
Karl Lehenbauer 0880eedee7 Revert "Emit faup1090 version info in faup1090 --help output."
This reverts commit 2ede6fb51f.
2014-08-15 14:01:59 +00:00
Karl Lehenbauer 2ede6fb51f Emit faup1090 version info in faup1090 --help output.
BUGZID:
2014-08-15 08:38:43 -05:00
Karl Lehenbauer 21d08814ca Make faup1090 failed-to-connect message more descriptive.
BUGZID:
2014-08-12 16:15:21 -05:00
Karl Lehenbauer e38d778ec5 Make faup1090 quiet by default 2014-08-11 18:20:16 +00:00
Malcolm Robb a82df07c0c Version 1.09.0608.14
Release of COAA PlanePlotter MLAT and SMU support for RPi

ppup1090 now supports Ground Stations functions required for MLAT and
SMU operation. This is *ONLY* available for RPi and similar linux
hardware.

Also included are sample startup scripts for dump1090 only and
dump1090+ppup1090 together.
2014-08-06 15:29:08 +01:00
Malcolm Robb 90fa1dac81 net_io port 30003 bug
Thanks to "Harrie" for this one.
Fix the SBS port 30003 stream to always include speed and/or heading
when available.
2014-08-06 15:29:07 +01:00
Malcolm Robb f1b85ec5e7 Tidy up interactive.c
Remove spaces from the end of line.
2014-08-06 15:29:06 +01:00
Malcolm Robb 845289ad9f Version 1.09.1607.14
Improvements to COAA MLAT functions
Reduce CPU load in PPUP1090 and DUMP1090 during cleanup
2014-08-06 15:29:06 +01:00
Malcolm Robb 8b05286a24 Version 1.09.1007.14
Updates to support COAA Planeplotter Ground Station on an RPi
2014-08-06 15:29:05 +01:00
Karl Lehenbauer 5a2bf79cfe faup1090 forwards dump1090 ADS-B to FlightAware
* connects to dump1090 a la ppup1090
* extracts the data, filters, batches packets and compresses to use very littl bandwidth
* requires FA "ADS-B adept" software to actually move the data.
2014-07-31 10:09:19 -05:00
Karl Lehenbauer 9b619927ae Merge remote-tracking branch 'upstream/master' latest dump1090 from Malcolm Robb
Conflicts:
	net_io.c
2014-07-21 22:49:54 -05:00
MalcolmRobb a17e5b0f98 Merge pull request #23 from hhm0/decoding
use last recent airplane position to calculate its ground position
2014-07-16 15:21:42 +01:00
hhm d1b37ad1c5 B"H decoding: use last air position to calculate ground position 2014-07-14 04:03:07 -04:00
MalcolmRobb 60e2c92c05 Merge pull request #21 from hhm0/view1090_net_mods
View1090 net mods
2014-07-10 16:52:46 +01:00
MalcolmRobb f68ae551df Merge pull request #22 from matthewbrandes/master
Allows choosing device by serial number rather than device index which can change.
2014-07-10 16:48:53 +01:00
matthewbrandes 6f14ecf7dd Update dump1090.c 2014-07-08 17:34:43 -05:00
matthewbrandes c80582274b Delete convienience.c 2014-07-08 17:32:30 -05:00
matthewbrandes 3043e86096 Delete convienience.h 2014-07-08 17:32:16 -05:00
matthewbrandes 652af93b88 Update dump1090.c 2014-07-08 16:58:23 -05:00
matthewbrandes d0207569b6 Update dump1090.c 2014-07-08 16:56:03 -05:00