Commit Graph

329 Commits

Author SHA1 Message Date
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
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
matthewbrandes a190677ad4 Create convienience.c 2014-07-08 16:55:16 -05:00
matthewbrandes 50b05c538e Create convienience.h 2014-07-08 16:54:30 -05:00
matthewbrandes 8110549fee Update dump1090.c 2014-07-08 15:12:46 -05:00
hhm a86eb7a61c B"H view1090: do not use pthreads
It *seems* that pthreads are used in dump1090 for I/! sample reading
only. So view1090 need not use pthread_exit.
2014-07-06 05:58:44 -04:00
hhm ec09cc7a71 B"H view1090: sleep a bit between loops
view1090 was using close to 100% CPU before, with the non-blocking
commits and the reconnection code. sleep a bit between loop iterations
to keep CPU usage low.

CPU usage with this addition was down to <1% in testing.
2014-07-03 02:41:06 -04:00
hhm 350a57f858 B"H view1090: do not block
- do not block on network data
2014-07-02 07:41:43 -04:00
hhm 96015e38c8 B"H view1090: handle disconnection
- keep trying to reconnect to server if disconnected
2014-07-02 07:38:46 -04:00
MalcolmRobb c0d6ea073f Merge pull request #20 from hhm0/network_disabling
make network services disable-able
2014-06-27 11:45:41 +01:00
MalcolmRobb 190a746dce Merge pull request #19 from hhm0/decoding
decode more squawk codes
2014-06-27 11:43:30 +01:00
hhm 59984ac8af B"H allow disable ports, doc disable net heartbeat 2014-06-24 23:58:46 -04:00
hhm 506be6e054 B"H decode more data, etc.
- decodes a bit more information
- misc. small changes
2014-06-22 13:05:39 -04:00
MalcolmRobb 189e726792 Merge pull request #16 from papasven/master
Incorrect value for auto-gain
2014-06-18 11:13:37 +01:00
Karl Lehenbauer 5d8df9c7e4 shell script to link on FreeBSD
BUGZID:
2014-06-17 20:54:15 -05:00
Karl Lehenbauer 2cdb8fa612 Merge remote-tracking branch 'upstream/master'
Conflicts:
	dump1090.h
	mode_s.c
	net_io.c
2014-06-02 09:42:13 -05:00
papasven e6c43382b9 Incorrect value for auto-gain
Incorrect value for auto-gain option the Modes.gain is multiplied by 10.
2014-06-01 02:14:40 +02:00
Malcolm Robb 6afdc9bd1b Merge remote-tracking branch 'origin/Debug' 2014-05-27 13:17:49 +01:00
Malcolm Robb 903f93f530 Publish Version 1.08.2705.14
A few minor additions and bug fixes as detailed below

1) Additional command line option "--net-buffer <n>" to specify the TCP
output buffer size. Default is n=0, which is 64Kb. Specify a value of n
to increase the buffer size according to  Size  = 64Kb * 2^n, so an n of
1 = 128Kb, n=2 is 256Kb etc. n is limited to 7, so the max size is 8Mb.
This option may assist if you have a high number of aircraft being
received, and an unreliable network connection, or if the receiving end
can be busy for an extended time.

2) Bug fix in ppup1090 which prevented the uploading of valid
ModeA/Squawk codes

3) Bug fix per Markus Grab's commit.
2014-05-27 13:16:57 +01:00
Markus Gräb 00533e7ff4 Fixed: now skipping correct number of values in magnitude buffer
Variable j points to the current location in the magnitude vector.
When decoding a message  (MODES_PREAMBLE_US+msglen)*2 is added to j.
In the loop head j is increased by 1, so one value was skipped.
2014-05-27 12:23:57 +01:00
MalcolmRobb dfb319146e Merge pull request #14 from kopppa91/master
Fixed: now skipping correct number of values in magnitude buffer
2014-05-27 12:13:24 +01:00
Markus Gräb 583f24299a Fixed: now skipping correct number of values in magnitude buffer
Variable j points to the current location in the magnitude vector.
When decoding a message  (MODES_PREAMBLE_US+msglen)*2 is added to j.
In the loop head j is increased by 1, so one value was skipped.
2014-05-14 19:39:07 +02:00
Malcolm Robb a55b9a76b5 BUGFIX : Windows version HTML Web browser support
Allow connection of a web browser to the Windows version via
http://127.0.0.1:8080
2014-05-09 23:44:11 +01:00
Malcolm Robb d200099244 BUGFIX : Possible linked list bug 2014-04-25 17:00:58 +01:00
Malcolm Robb 30ae45ec2b Windows Version of dump1090
Make the modifications necessary to compile dump1090 for WinXP, Win7 and
hopefully Win8.

The files can be compiled using M$ Visual Studio/C++ 6.0. Due to various
licensing issues, I haven't included the libraries or DLLs. You will
need to locate pthreadVC2.lib and rtlsdr.lib to link the file, install
the zadig drivers to support the dongle, and locate libusb-1.0.dll,
msvcr100.dll, pthreadVC2.dll and rtlsdr.dll.

dump1090.exe will not run on any Windows version prior to XP SP2,
because msvcr100.dll imports several functions from the Windows kernel
that are not available on earlier versions. This means dump1090 won't
work on Win2K.

The major change to the code relates to file handles. The original code
assumes Linux behaviour in that handles are allocated from 0
sequentially upwards. However Windows handles are allocated pseudo
randomly, and handle numbers greater than 1024 would break the code. The
code has therefore been modified to use a linked list of connection
structures, rather than a static array limited to 1024 entries.
2014-04-25 14:48:14 +01:00
Jeff Lawson b20bac223a automatically zoom to first received valid position if we don't a have a preset location. start default zoom closer. 2014-03-24 14:47:44 -05:00
Jeff Lawson fde30c96b7 use googleapis for jquery UI also 2014-03-24 13:45:21 -05:00
Jeff Lawson 3d9bc4f798 fix spelling of squawk 2014-03-24 13:40:55 -05:00
Karl Lehenbauer 8c9bd4f5c3 Install rules for dump1090_mr Makefile for flightfeeders. 2014-03-20 18:32:39 +00:00
Karl Lehenbauer d3012b516c Optimize tracking link to external site. 2014-03-20 18:20:40 +00:00
Karl Lehenbauer addb94b1bb Add a rollback capability to showFlightsFATSV where it will not issue an update for a hexid that doesn't contain anything update-worthy. 2014-03-19 22:06:10 +00:00
Karl Lehenbauer ed17d9629e (Re)implement the FlightAware TSV service. 2014-03-19 12:50:29 +00:00
Karl Lehenbauer 807c1aba7f Add vim control comments. 2014-03-18 13:21:56 -05:00