Commit Graph

10 Commits

Author SHA1 Message Date
Oliver Jowett f85b3ead63 Initialize tsvVerbatim, or we risk writing garbage to FATSV connections. 2015-01-04 16:49:15 +00:00
Karl Lehenbauer 86e11ff509 faup1090 service table fixes
* Set all the ports in the services table we're not using to zero.

* Don't enable a table entry that's disabled but has a port defined.  This allows us to use the table definition for the 30005 port for us to connect out to it.
2014-10-08 22:29:57 -05:00
Karl Lehenbauer 1a9811d2d5 faup1090 now exits if it loses its connection
Before this if dump1090 restarted for some reason then faup1090 will sit
there indefinitely "looking" stupid and passing no data to piaware,
even after dump1090 comes back up.

Much gratitude to Oliver Jowett (github user mutability) for the fix.
2014-10-03 02:50:28 +00:00
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 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 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 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
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