Commit graph

1506 commits

Author SHA1 Message Date
Eric Tran 4d683ac50c Version bump to 3.7.1~dev 2019-04-15 11:26:51 -05:00
henry1952 857c56ca7b
Update README-json.md 2019-04-13 09:41:21 +02:00
Oliver Jowett 0f23e514c6
Merge pull request #31 from mhamlet/patch-1
Fixing markup of code parts in README
2019-04-13 11:46:28 +08:00
Oliver Jowett a24718feca
Merge pull request #41 from henry1952/patch-3
Fix an error in the bit range used to decode CF in DF18 messages (harmless)
2019-04-13 11:38:48 +08:00
henry1952 37e49906d1
Update mode_s.c 2019-04-11 19:01:07 +02:00
Eric Tran d54c452683
Merge pull request #40 from wiedehopf/overflow_fix
Overflow fix
2019-04-09 08:52:11 -05:00
Matthias Wirth 82c5ff6724 Fix possible missing \n termination of TSV messages
If the \n termination of TSV messages is missing, faup1090 encounters
the following error:
Caught background error: list must have an even number of elements
    while executing
"array set row [split $line "\t"]"
    (object "::faup1090" method "::FaupConnection::data_available" body line 28)

This missing termination with \n can happen when p == end is true in the
overrun check. vsnprintf will always terminate the string with \0, so if
the vsnprintf is called to write the to the last position in the buffer
(end-1), it will write \0 instead to terminate the string as not to
overflow the buffer.
To catch that possibility the overrun check is changed to p < end as
then vsnprintf is assured to have had enough room to write the \0
termination to end-1.
2019-04-08 20:29:56 +02:00
Matthias Wirth b281ceee7b Increase maximum TSV packet size
Due to commit 45886edc40
faup1090: write _v on every line, bump TSV_VERSION
and maybe other changes the TSV packets are bigger and some users have
reported the following error:
piaware[9040]: faup1090(27427): fatsv: output too large (max 600, overran by 20)

Fix this error by increasing TSV_MAX_PACKET_SIZE to 800
2019-04-08 20:03:57 +02:00
henry1952 d6bafd64a2
Update README-json.md
'type' and 'tisb' need to be filled
2019-04-07 18:09:07 +02:00
Eric Tran 883399cee3 Bump version for piaware lat/lon fix 2019-03-29 19:05:26 -05:00
Eric Tran 0f2215c2ce
Merge pull request #36 from wiedehopf/lat_fix
Fix getting LAT/LON from piaware .env file
2019-03-29 16:54:09 -05:00
Matthias Wirth 91f3c3ce67 Fix getting LAT/LON from piaware .env file 2019-03-29 20:55:47 +01:00
Oliver Jowett a654c60d65 Release v3.7.0 2019-03-22 15:58:13 +00:00
Oliver Jowett 18c0758a67 Changelog, version bump 2019-03-21 22:18:19 +00:00
Oliver Jowett 77c8f9aafa Minimal skyview changes for nav_alt changes 2019-03-19 18:48:13 +00:00
Oliver Jowett f46640a5c2 Track and report autopilot FMS/MCP separately; also report autopilot altitude source. 2019-03-19 18:44:09 +00:00
Oliver Jowett 56aa2f7d1e Clarify some comments in v1 TSS 2019-03-19 18:23:49 +00:00
Oliver Jowett 45886edc40 faup1090: write _v on every line, bump TSV_VERSION 2019-03-19 18:10:38 +00:00
Oliver Jowett 14c458db8c Add an ENABLED line to /etc/default/dump1090-fa on upgrade if missing 2019-03-12 11:39:05 +00:00
Oliver Jowett 9136766b9c Set SyslogIdentifier on dump1090-fa 2019-03-11 18:21:31 +00:00
Oliver Jowett 719e004c7a Use %t in the service file 2019-03-11 18:16:00 +00:00
Oliver Jowett d66a05b019 Use a helper to start dump1090-fa so we can read ENABLED from the defaults file, like beast-splitter does 2019-03-11 17:01:16 +00:00
Oliver Jowett 0946d5165d changelog 2019-03-07 18:44:26 +00:00
Oliver Jowett 9dfc3e7aa6 Arrange to return a non-zero exit code if the SDR thread unexpectedly halts 2019-03-07 18:35:47 +00:00
Oliver Jowett 47e43778a6 Just use fprintf. 2019-03-07 18:19:23 +00:00
Oliver Jowett 28e7ccca8e If rtlsdr_read_async returns early, the device is probably hosed, give up;
rely on the caller of dump1090 to restart.
2019-03-07 18:15:47 +00:00
Oliver Jowett 10cfc13c3a More build deps 2019-03-04 15:43:45 +00:00
Oliver Jowett bd50f5d689 Version bump to 3.7.0~dev 2019-03-04 15:36:32 +00:00
Oliver Jowett 324491b0e6 Add fakeroot to try to make travis happy 2019-03-04 15:31:24 +00:00
Oliver Jowett 6abcebd0e4 Skyview: finish up init properly if there's no history to load 2019-03-04 15:17:16 +00:00
Oliver Jowett f04a71640a Skyview: try true_heading / mag_heading for icon rotation if track is missing 2019-03-04 15:13:51 +00:00
Oliver Jowett 671aac5f50 Merge branch 'master' into dev 2019-03-04 15:08:31 +00:00
Oliver Jowett c05aea65a4 Don't use DF18 when updating the known-Mode-S-address set.
DF18 transponders don't necessarily do Mode S, so we shouldn't assume
that Mode S messages from that address are valid merely because we
heard a DF18. If it really is Mode S equipped, we should hear a
DF11 at some point.
2019-01-21 20:11:12 +00:00
Oliver Jowett 9c124b3f2b When generating aircraft.json, leave space for the final line.
Otherwise if there are only a few bytes free at the end of the loop
there's no space for the final line and it won't get appended.

Should fix mutability/dump1090#240
2018-12-31 11:17:28 +00:00
Hamlet 983829bff6
Fixing markup of code parts in README 2018-11-21 15:53:40 +04:00
Oliver Jowett c8501cb41c Compute ADS-B v0 NACp/SIL from position message type 2018-09-19 17:09:11 +01:00
Oliver Jowett 3c02e8419d Fix another Rc decoding error. Fix Rc comments. 2018-09-19 17:05:39 +01:00
Oliver Jowett b327848d75 Fix Rc comparison logic 2018-09-17 22:40:48 +01:00
Oliver Jowett cdba7566fd Fix skyview display of geometric altitude 2018-09-11 17:33:37 +01:00
Oliver Jowett 2a7a1e16f6 Prepare for 3.6.3 release 2018-09-11 14:52:42 +01:00
Oliver Jowett d0cfbdf3cf Build automation 2018-08-28 23:15:31 +01:00
Oliver Jowett 8829b65ab2
Merge pull request #23 from flightaware/ignore_altitude_onGround
Ignore altitude if an airborne position message indicates it's on ground
2018-08-28 20:28:05 +01:00
Eric Tran f4692a3784 Ignore altitude reporting when part of airborne position message with air/ground=ground 2018-08-28 17:08:14 +00:00
Oliver Jowett e2c8d361f8 Don't copy package-* when preparing source 2018-08-21 19:53:33 +01:00
Oliver Jowett 7d17d8e1ff Version bump to 3.6.3~dev 2018-08-17 18:00:39 +01:00
Oliver Jowett ed23dbd6db
Merge pull request #21 from drakeapps/master
Update skyview with extended mode S data fields
2018-08-17 17:59:37 +01:00
James Wilson e31bee1909 More spacing 2018-08-17 11:33:35 -05:00
James Wilson 8eeb29ec32 Fix typo. Clean up CSS and spacing 2018-08-17 11:31:12 -05:00
James Wilson 8985b5ab86 Version planeObject also 2018-08-17 10:28:42 -05:00
James Wilson bf05a94f3e Show n/a for not known registration 2018-08-15 16:54:43 -05:00