Oliver Jowett
7850848ef7
Export a few stats via JSON.
2015-01-22 01:21:53 +00:00
Oliver Jowett
19082d92ea
Measure signal power / noise power (at least in 2.4MHz mode).
...
Switch signalLevel back to a power measurement, don't put SNR in there.
But make it a 0.0 - 1.0 double so we're not scaling everywhere.
Adjust for the amplitude offset when calculating power.
Adapt everything else to the new scheme.
2015-01-22 01:01:39 +00:00
Oliver Jowett
5beecb9f4f
Disable overlay control as it seems to cause more problems than it solves
...
at the moment (aircraft randomly appearing to be on the ground due to
CRC errors, etc)
2015-01-22 00:59:44 +00:00
Oliver Jowett
20456a83fd
Ditch SNR calcs too.
2015-01-21 19:10:07 +00:00
Oliver Jowett
00e232cc4f
Try unrolling the inner loop to speed things up.
2015-01-21 19:03:51 +00:00
Oliver Jowett
ef098a2461
Import new 2.4MHz demodulator from experimental branch.
2015-01-21 13:32:17 +00:00
Oliver Jowett
0493248425
Minor cleanups / comments.
2015-01-21 12:55:46 +00:00
Oliver Jowett
a33e4388c9
Add scoreModesMessage()
2015-01-21 12:55:24 +00:00
Oliver Jowett
fc87a232b4
Return non-NULL errorinfo if there are no errors to diagnose.
2015-01-21 12:54:27 +00:00
Oliver Jowett
2a1a2a0a71
Fix (maybe) JSON escaping.
...
I've obviously never tested this code!
2015-01-21 11:58:51 +00:00
Oliver Jowett
cae20a8060
Escape flight name in JSON in case it has odd characters.
2015-01-21 11:56:27 +00:00
Oliver Jowett
ebae590653
Use MODES_NOTUSED for unused args.
2015-01-21 11:54:55 +00:00
Oliver Jowett
7c64f27c22
Remove unused user latitude/longitude defines.
2015-01-21 11:53:45 +00:00
Oliver Jowett
8ce92f126a
More logging for Comm-B messages.
2015-01-21 01:21:32 +00:00
Oliver Jowett
5e522fe8db
Decoder cleanups from experimental branch.
2015-01-21 00:23:48 +00:00
Oliver Jowett
0433ed3f5d
icao_filter.[ch] from the experimental branch.
2015-01-20 23:53:26 +00:00
Oliver Jowett
270a22e06a
CRC reimplementation to be byte-at-a-time table-driven.
...
Also be smarter about error correction, avoiding ambiguous cases
when --aggressive is specified.
2015-01-20 23:04:05 +00:00
Oliver Jowett
0d3fcfff2e
Remove obsolete TODO file.
2015-01-20 18:42:20 +00:00
Oliver Jowett
ed4d481772
Import CPR changes from experimental branch.
2015-01-20 18:41:44 +00:00
Oliver Jowett
b9b76da02d
Stats rearrangement, based on experimental branch changes.
2015-01-20 17:16:35 +00:00
Oliver Jowett
e02a2cdd44
GPL.
2015-01-20 16:49:01 +00:00
Oliver Jowett
f753c2d9fe
Separate 2.4MHz demodulator into its own file.
2015-01-19 23:50:25 +00:00
Oliver Jowett
a6542b505b
Separate out 2MHz demodulator + support functions to a separate file.
2015-01-19 23:47:51 +00:00
Oliver Jowett
014205324a
Remove dead test code.
2015-01-19 23:43:15 +00:00
Oliver Jowett
07df054590
Move CRC code to a separate file.
2015-01-19 23:41:26 +00:00
Oliver Jowett
721412dc9b
Changelog.
2015-01-19 23:29:07 +00:00
Oliver Jowett
5e80a11934
Fix stable sort of rows with no sortable values (would cause "jumping" rows at the end of the table)
2015-01-19 23:28:04 +00:00
Oliver Jowett
881cb8167d
Release changelog.
2015-01-17 21:04:10 +00:00
Oliver Jowett
5cbe5d909b
Don't cache receiver.json as it may change more frequently now (history size).
2015-01-17 21:02:17 +00:00
Oliver Jowett
971e5754ff
Try to work around a libusb crash on exit after SIGINT.
2015-01-17 19:23:57 +00:00
Oliver Jowett
f0fe4663d5
Oops, helps to actually commit the fix too..
2015-01-17 18:26:36 +00:00
Oliver Jowett
d1f274d469
Avoid a (rare) divide-by-zero crash in 2MHz --phase-enhance.
2015-01-17 18:26:06 +00:00
Oliver Jowett
4a66a31839
Changelog.
2015-01-17 12:31:52 +00:00
Oliver Jowett
f71f93464b
Always sort missing values at the end of the table, even in a descending sort.
...
Simplify the sorting a bit by separating out the "extract value to compare" logic.
2015-01-17 12:27:13 +00:00
Oliver Jowett
8f1b8566d4
Update changelog.
2015-01-16 20:37:55 +00:00
Oliver Jowett
bfcfb1fdcb
Fix sort-by-message-count.
...
(cherry picked from commit 9f40dbaf786c69aaf459c69b2058bba9cd30569f)
2015-01-16 20:34:03 +00:00
Oliver Jowett
e68949bdb3
Write an accurate value for the history count, so the progress bar is correct.
...
(cherry picked from commit 0919700293e34f5a93a4407d33e1e56c0ae0d13c)
2015-01-16 20:33:40 +00:00
Oliver Jowett
dd734debc3
Add a loading progress bar, as it can be slow with internal webserver (100ms/request)
...
plus large history (120 requests).
(cherry picked from commit e1b0b7a5b6759bb7a59536efcc4d6652d92dda16)
2015-01-16 20:33:32 +00:00
Oliver Jowett
870233977c
Less aggressive history settings.
...
(cherry picked from commit d41090c57cb37352b7689e36af55cdb89486c230)
2015-01-16 20:33:23 +00:00
Oliver Jowett
c7204ec6ab
Support image/gif content type
...
(cherry picked from commit f4b38a62f69d0df2bb5d3a87979e38d76249b80a)
2015-01-16 20:33:08 +00:00
Oliver Jowett
6458cfd2fe
Load history when the map is initialized.
...
This can take a few seconds, so add a loading spinny while it loads.
(cherry picked from commit 8d3fdcc1625278a25a289dee33ef6b8eaccfd0ff)
2015-01-16 20:32:55 +00:00
Oliver Jowett
1db63ebc65
Add generation of history JSON.
...
Add support for URL handlers that match a path prefix.
(cherry picked from commit 38faa510cb881cbf9d2a0a85bbde61130b5259e7)
2015-01-16 20:31:59 +00:00
Oliver Jowett
b1bfb4d520
Rationalization of JSON output. Pass actual URL path to URL handler.
...
(cherry picked from commit becce8d69a6e6cee38d4fdb78b5a4e25d570baea)
2015-01-16 20:30:41 +00:00
Oliver Jowett
63fb121d1c
Status messages in HTTP responses.
...
(cherry picked from commit 820528b4ad7f3963199718205724cdf3ac97b113)
2015-01-16 20:28:36 +00:00
Oliver Jowett
10c372f528
Display stats on exit in --net-only mode.
...
(cherry picked from commit ec252d77deb2b345a8561cba13965d5ef8ab0a83)
2015-01-16 20:27:48 +00:00
Oliver Jowett
e701f883b3
Do tuner gain setting properly.
...
(cherry picked from commit c06a537c8143af8e363fde677043053cefff1612)
2015-01-16 20:25:45 +00:00
Oliver Jowett
e54b290601
Release changelog.
2015-01-14 01:17:57 +00:00
Oliver Jowett
62ec7796d0
Require that the JSON refresh interval is at least 1, as it is used
...
to control the webmap refresh rate even if JSON files are not being written.
2015-01-14 01:15:54 +00:00
Oliver Jowett
dc92cfb927
Restart lighttpd on package upgrade if we changed its config files.
2015-01-14 00:34:06 +00:00
Oliver Jowett
371f6bb5d4
Changelog.
2015-01-13 22:02:39 +00:00