summaryrefslogtreecommitdiff
path: root/ais_json.c
Commit message (Collapse)AuthorAgeFilesLines
* LICENSE: Update licenses for consistency. No functional changes.Gary E. Miller2018-11-191-0/+2
|
* AIS:refine parsing of type 8 DAC 1 FID 16 messagesJon Schlueter2015-10-071-1/+3
| | | | | | | | | | | | | | | - Type 8, DAC = 1 FID = 16: This should only be decoded as "Persons on board" if the message length is either 72 or 136 bits long (if even then). - Type 8, DAC = 1 FID = 16: If decoded, the json output should use the ais->type8.dac1fid16.persons field and not the type6 field Was not able to locate entry that had persons actually populated in AISHub sample data file added sample data that should not be decoded to sample.aivdm had to regenerate large sample file as it had multiple entries for this Identified by: Stefan Roels <sroels-gpsd-dev@42solutions.nl> type 8 dac 1 fid 16 can have either data or persons had to add logic to detect structured vs not structured for type 8 FID 16 messages
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-9/+3
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* OS X needs time.h for timespec_tGary E. Miller2015-03-081-0/+1
|
* Clean up another FIXME.Eric S. Raymond2014-08-241-3/+2
|
* Full implementation of AIS 'structured' bit. All regression tests pass.Eric S. Raymond2014-08-231-0/+2
|
* Prevent false matching of the Inland AIS shape on unstructured Type 8s.Eric S. Raymond2014-08-191-1/+1
| | | | Also, add a regression test for this.
* Variable renames, and remove an extraneous break statement.Eric S. Raymond2013-10-061-30/+30
|
* Inland AIS full support (untested).Eric S. Raymond2013-10-061-0/+4
|
* Inland AIS Water level support is done except for the JSON dumping.Eric S. Raymond2013-10-051-0/+4
|
* Implement handling of Inland AIS EMMA warning.Eric S. Raymond2013-10-051-0/+28
|
* Support Inland AIS ship static and voyage-related data.Eric S. Raymond2013-10-021-0/+6
|
* splint cleanup.Eric S. Raymond2013-10-011-0/+4
|
* Support for Inland AISNumber of Persons On Board.Eric S. Raymond2013-10-011-0/+4
|
* Support for Inland AIS RTA at lock/bridge/terminal.Eric S. Raymond2013-10-011-1/+17
|
* Support for Inland AIS ETA at lock/bridge/terminal.Eric S. Raymond2013-10-011-0/+18
|
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-13/+13
|
* Silence cppcheck warning. Limits year values to 10^9 - 1.ukyg9e5r6k7gubiekd62012-09-071-2/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* [AIS] Fix plenty of small bugs unveiled by aishub test campaign.Christian Gagneraud2012-06-201-3/+11
| | | | | | | | | | | | | | | | | | | | | | 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] Met/Hydro: fixes and improvementsChristian Gagneraud2012-06-051-1/+1
|
* [AIS] Add UK/ROI AtoN monitoring data message handlingChristian Gagneraud2012-05-231-0/+6
|
* [AIS] Use a dedicated stucture for IMO236 met/hydro messageChristian Gagneraud2012-05-201-2/+16
|
* New version of cppcheck requires more suppressions.Eric S. Raymond2012-05-161-0/+11
|
* ais_json.c no longer includes gpsd.h. May solve a FreeBSD port problem.Eric S. Raymond2011-08-241-2/+8
|
* In AIS, partial support for VTS-Generated/Synthetic Targets.Eric S. Raymond2011-05-311-0/+4
| | | | | 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-0/+22
|
* In AIS, support for IMO Route info (broadcast). All regression tests pass.Eric S. Raymond2011-05-301-0/+4
|
* In AIS, support for Route Info (addressed). All regression tests pass.Eric S. Raymond2011-05-291-0/+4
|
* In AIS, support for IMO236 Tidal Window message.Eric S. Raymond2011-05-281-1/+1
| | | | Mostly reuses code for the IMO289 variant.
* In AIS, IMO289 Tidal Window support. All regression tests pass.Eric S. Raymond2011-05-281-0/+4
|
* Back out AIS Tidal Window message support.Eric S. Raymond2011-05-261-4/+0
| | | | It wasn't dealing with the variable-length segment at the end properly.
* Add support for AIS Marine Traffic Signal message.Eric S. Raymond2011-05-261-0/+4
|
* In AIS, support for IMO236 type 8 DAC = 1 FID = 15Eric S. Raymond2011-05-041-0/+4
|
* In AIS, support for IMO236 type 8 DAC = 1 FID = 13.Eric S. Raymond2011-05-041-1/+30
|
* Fix minor breakage reported by Beat Boolli. All regression tests pass.Eric S. Raymond2011-05-031-83/+87
|
* Clean up after rescent AIS feature additions.Eric S. Raymond2011-04-261-2/+2
|
* In AS, support IMO 289 FID 20.Eric S. Raymond2011-04-261-2/+15
| | | | Also, clean up some issue with lat/lon scaling.
* In AIS, client-library support for IMO289 FID=18.Eric S. Raymond2011-04-251-6/+19
|
* In AIS, library-side suppport for IMO289 FID 25.Eric S. Raymond2011-04-251-0/+5
| | | | All regresion tests pass. Code splints clean.
* Fix some bugs in JSON parsing and dumping of timestamps.Eric S. Raymond2011-04-251-2/+33
|
* Support IMO236 FID 15. And polish the code generator a bit.Eric S. Raymond2011-04-201-0/+4
|
* Refactor some code generation.Eric S. Raymond2011-04-201-1/+13
|
* Support IMO236 Dangerous Cargo Indication.Eric S. Raymond2011-04-201-1/+5
| | | | | Built with the new code generator, which is also brought up to production capability in this commit.
* In AIS, support for message class 8 dac=1 fid=29.Eric S. Raymond2011-04-181-1/+5
|
* In AIS, support Text Description - addressed.Eric S. Raymond2011-04-181-0/+4
|
* First cut at interpreting IMO special message formats.Eric S. Raymond2011-04-171-9/+28
| | | | Untested. All normal regression tests pass.
* Support AISmessage type 27.Eric S. Raymond2011-04-151-0/+2
| | | | Also, revise the website uploader so it knows about scons.
* Add a switch to configure out control-socket switch.Eric S. Raymond2011-03-281-0/+2
|
* More deheader testing. All regressions pass, codebase splints clean.Eric S. Raymond2011-01-131-0/+2
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-4/+0
|