summaryrefslogtreecommitdiff
path: root/gpsd_json.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Split Type 24 reporting, including the -s option to gpsdecode.Eric S. Raymond2013-09-141-28/+42
| | | | All regression tests pass.
* RTCM3 R1033 JSON unpacking.Eric S. Raymond2013-05-021-1/+1
|
* RTCM3 R104 JSON unoacking.Eric S. Raymond2013-05-021-1/+1
|
* Unpack JSON for RTCM3 R1007, R1008, and R1009.Eric S. Raymond2013-05-011-7/+7
|
* More cppcheck pacification.Eric S. Raymond2013-05-011-2/+3
|
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-12/+12
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-24/+24
|
* Change the API so the yermios strucytture is not publicly exposed.Eric S. Raymond2012-09-071-1/+1
| | | | | | | | Becauser this changed the libgpsd API but not the libgps one, libgpsd now has its own version number. (Doing otherwise would have inflicted a gratuitous binary-compatibility break on application developers). All regression tests pass. Audit check runs clean.
* [AIS] Fixed EPFD display in scaled JSONChristian Gagneraud2012-08-231-4/+7
| | | | aivdm-regress passed
* Fix scaling of AIS navigation message 'course' member.Eric S. Raymond2012-08-221-2/+2
|
* Ratuiinalize names of AIS scaling factors; all divisors now end with DIV.Eric S. Raymond2012-06-241-64/+64
| | | | All regression tests pass.
* Sigh. Repair regressipon tests after signedness change. All tests pass.Eric S. Raymond2012-06-241-1/+1
|
* Always wemit ISO8601 timestamps with the same length.Eric S. Raymond2012-06-211-2/+2
| | | | Someday, this will prevent a nasty surprise for a client programmer.
* [AIS] Fix previous AIS mergeChristian Gagneraud2012-06-201-1/+1
| | | | | Some modifications were lost during last merge, fix that. Regression pass except for ait250.
* [AIS] Fix plenty of small bugs unveiled by aishub test campaign.Christian Gagneraud2012-06-201-52/+105
| | | | | | | | | | | | | | | | | | | | | | A test campaign was run with live data from aishub.net (ca. 25 millions sentence, 1.2 GB of logs), the goal was to check the decoding and the JSON parsing and dumping code. On all the AIS data, the following tests were done: - AIVDM decoding - JSON scaled dump - JSON validity check on scaled dump. - JSON unscaled dump - JSON validity check on unscaled dump - JSON unscaled idempotency check - JSON unscaled/scaled idempotency check The last check consisted of: - parsing the unscaled dump - dumping it back in scaled mode - compare it with the original scaled dump. This test campaign has unveiled plenty of small bugs all around the AIS code. This patch fixes all of them and adds new sentences in the regression tests.
* [AIS] Do scaling/offset operations only in json dumpChristian Gagneraud2012-06-051-30/+30
| | | | splint and check pass.
* [AIS] Met/Hydro: fixes and improvementsChristian Gagneraud2012-06-051-31/+25
|
* [AIS] AtoN: formatting fixesChristian Gagneraud2012-06-051-10/+4
|
* Less intrusive way to fix the scaling problems in the AtoN code.Eric S. Raymond2012-05-251-5/+8
| | | | All regression tests pass, all compiler warnings suppressed (on x86_64).
* Temporarily condition out cgans's AtON code...Eric S. Raymond2012-05-241-1/+4
| | | | | | | ...until he gets the scaling right. Problem is, right now it's throwing copious warnings which I don't want to have to deal with while I'm looking for port bugs - which sometimes manifest as compiler warnings themselves and could get lost in the clutter.
* [AIS] Add UK/ROI AtoN monitoring data message handlingChristian Gagneraud2012-05-231-1/+67
|
* Fix a few remnant strlcat calls that still weren't right.Eric S. Raymond2012-05-211-3/+3
| | | | All regression tests pass.
* Fix computation of buffer length arguments in strlcat(3) calls.Eric S. Raymond2012-05-211-13/+13
| | | | | | It's the entire length of the buffer we want there, not the portion left. All regression tests pass.
* [AIS] Use a dedicated stucture for IMO236 met/hydro messageChristian Gagneraud2012-05-201-79/+210
|
* [AIS] Typos fixes and other nitpicksChristian Gagneraud2012-05-201-5/+5
|
* Eliminate a potential buffer overrun.Eric S. Raymond2012-05-141-1/+1
|
* Fixes for reporting of AIS met/hydro message.Christian Gagneraud2012-05-111-7/+7
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* More coverity-inspired fixes.Eric S. Raymond2012-05-091-1/+1
| | | | All regression tests pass ans soint runs clean.
* Coverity scanning found two bad-sizeof defects.Eric S. Raymond2012-05-091-2/+2
|
* Tweak for time.Michael Tatarinov2011-10-201-2/+1
| | | | | | | | | 1. Tag "week" must be unsigned integer. gpsprof -f instrumented works again. 2. Removed tag "uxtime" duplication "time". 3. Used a more precise timestamp. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* The previous round of splint fixups was botched. Remedy this.Eric S. Raymond2011-10-101-1/+1
|
* Minor bug fixes.Eric S. Raymond2011-10-091-2/+6
|
* const and splint cleanup.Eric S. Raymond2011-10-091-4/+4
|
* Ensure that enabling timing won't break object file compatibility.Eric S. Raymond2011-10-091-5/+7
|
* Clean up some variable names.Eric S. Raymond2011-10-071-5/+5
|
* Emit a count of used satellites in the extra timing attributes.Eric S. Raymond2011-10-051-1/+2
| | | | | We'll use this to check Gary's Miller's suspicion that time to compute a fix varies significantly with the number of sats in the skyview.
* Prfile numbers now include a per-cycle chracter count.Eric S. Raymond2011-09-221-2/+4
|
* Add decode time to the profiling.Eric S. Raymond2011-09-211-2/+2
|
* Cycle-start detection by timing works on a SiRF at 9600bps.Eric S. Raymond2011-09-211-1/+8
| | | | All regression tests pass.
* Make the 'uninstrumented' plot work again.Eric S. Raymond2011-09-211-1/+1
|
* Remove the old latency-profiling machinery.Eric S. Raymond2011-09-201-2/+13
| | | | | | It hasn't actually worked since we switched protocols to JSON. This diff puts the framework in place for new machinery using timing attributes in the TPV sentence.
* Typo fix. All regression tests pass.Eric S. Raymond2011-09-171-1/+1
|
* Improve the code for making sensor data and command strings visible...Eric S. Raymond2011-06-171-6/+6
| | | | | ...and remove some const declarations that could have spelled trouble in the future.
* In AIS, partial support for VTS-Generated/Synthetic Targets.Eric S. Raymond2011-05-311-35/+102
| | | | | JSON parsing of string IDs won't work yet; code generator needs some extension.
* In AIS, Route info (broadcast) support.Eric S. Raymond2011-05-301-4/+14
|
* In AIS, support for IMO Route info (broadcast). All regression tests pass.Eric S. Raymond2011-05-301-0/+23
|
* In AIS, support for Route Info (addressed). All regression tests pass.Eric S. Raymond2011-05-291-3/+69
|
* In AIS, support for IMO236 Tidal Window message.Eric S. Raymond2011-05-281-0/+1
| | | | Mostly reuses code for the IMO289 variant.
* In AIS, IMO289 Tidal Window support. All regression tests pass.Eric S. Raymond2011-05-281-0/+34
|
* Back out AIS Tidal Window message support.Eric S. Raymond2011-05-261-37/+0
| | | | It wasn't dealing with the variable-length segment at the end properly.