summaryrefslogtreecommitdiff
path: root/gpsd_json.c
Commit message (Collapse)AuthorAgeFilesLines
* Elminate double dump of yaw from a compass.Eric S. Raymond2015-01-241-7/+0
| | | | | | | A step towards fixing Savannah bug #43789: Dip and mag_x are not available in gps_data_t All regression tests pass.
* Easy splint cleanups. All regression tests pass.Eric S. Raymond2015-01-211-1/+1
|
* Simplify by using str_rstrip_char.Zbigniew Chyla2015-01-211-3/+3
| | | | | By using str_rstrip_char we explicitly show that we're removing trailing comma/space.
* Simplify by using str_appendfZbigniew Chyla2015-01-211-37/+26
|
* Add str_rstrip_char, use it everywhere.Zbigniew Chyla2015-01-211-68/+34
| | | | This change doesn't affect generated binary code.
* Add str_{,v}appendf, use it everywhere.Zbigniew Chyla2015-01-211-316/+231
| | | | This change doesn't affect generated binary code.
* Cleanup of string function and sizeof usage. All regression tests pass.Zbigniew Chyla2015-01-131-1/+1
|
* Refactor representation of satellite data into an array of structs...Eric S. Raymond2014-09-221-12/+7
| | | | | | | | | | | | | | | | | | ...from a set of parallel arrays. This change flushed out a longstanding bug in the computation of DOPs for estimated error bars. Some test-load rebuilds were required: geostar-geos1m-binary.log.chk: With this change error estimates are computed and reported. trimble-lassen_iq-3dfix.log, trimble-lassen_iq-3dfix.log: the change revealed a bug in the computation of satellite-seen bits. Error estimates did not change. navcom.log: Error estimates changed. With these rebuilds, all regression tests pass.
* Magic-number elimination. All regression tests pass.Eric S. Raymond2014-09-121-7/+8
|
* Proper use of the Type 8 structured bit.Eric S. Raymond2014-08-241-5/+1
|
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-16/+0
| | | | | | | Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
* PPS is no kinger marked unstable/experimental.Eric S. Raymond2014-08-231-3/+2
|
* Full implementation of AIS 'structured' bit. All regression tests pass.Eric S. Raymond2014-08-231-51/+20
|
* splint/cppcheck/coverity cleanup.Eric S. Raymond2014-08-211-3/+3
|
* Avoid core dump on Inland AIS Type 10.Eric S. Raymond2014-08-191-1/+2
|
* Prevent false match on Inland AIS messages.Eric S. Raymond2014-08-181-0/+15
|
* Cirresct specification annd processing of Inland AIS Type 10 message.Eric S. Raymond2014-08-181-7/+7
|
* Properly line-terminate Inland AIS dumps.Eric S. Raymond2014-08-181-4/+4
|
* Fix Savannah bug #42371, Typo in JSON output for AIS navaids.Eric S. Raymond2014-05-171-1/+1
|
* splint fixups - no logic changes.Eric S. Raymond2013-11-241-0/+2
|
* Report PPS time when timing policy is on and it's available.Eric S. Raymond2013-11-241-4/+10
|
* ppsbar -> pps.Eric S. Raymond2013-11-131-2/+2
| | | | All regression tests pass. PPS is live in both gpsd and gpsmon.
* Correctly mark deactivated devices, and do a better job of dumping them.Eric S. Raymond2013-11-111-19/+20
|
* In DEVICES, don't display serial parameters for a device with speed 0.Eric S. Raymond2013-11-111-8/+11
|
* PPS events now show in gpsmon runb through the daemon.Eric S. Raymond2013-11-091-2/+3
|
* Code is fully cppcheck, splint, and Coverity clean.Eric S. Raymond2013-11-061-0/+6
| | | | All regression tests pass. PPS is live.
* More cppcheck cleanup. All regression tests pass. PPS is live.Eric S. Raymond2013-11-061-11/+13
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-3/+4
|
* Make all hex-dumping truly thread-safe.Eric S. Raymond2013-10-131-7/+14
|
* Lost separator.Michael Tatarinov2013-10-111-1/+1
|
* Some compilers barf if you name a struct member 'class'.Eric S. Raymond2013-10-061-2/+2
|
* Variable renames, and remove an extraneous break statement.Eric S. Raymond2013-10-061-1/+0
|
* Inland AIS full support (untested).Eric S. Raymond2013-10-061-1/+44
|
* Complete support for Inland AIS Water Levels message.Eric S. Raymond2013-10-051-0/+14
|
* Fix a small slipup.Eric S. Raymond2013-10-051-0/+1
|
* Implement handling of Inland AIS EMMA warning.Eric S. Raymond2013-10-051-0/+71
|
* More splint cleanup.Eric S. Raymond2013-10-041-2/+2
|
* splint cleanup.Eric S. Raymond2013-10-021-10/+11
|
* Support Inland AIS ship static and voyage-related data.Eric S. Raymond2013-10-021-0/+101
|
* Change a variable name that had become misleading.Eric S. Raymond2013-10-021-25/+24
|
* New-style dumping (numeric and text both) for two more fields.Eric S. Raymond2013-10-011-4/+18
| | | | All regression tests pass.
* Fix several small but fatal bugs in the new JSON generation.Eric S. Raymond2013-10-011-5/+5
|
* Dump preciptypes in the new manner.Eric S. Raymond2013-10-011-3/+7
|
* First step of disentangling text display from scaling.Eric S. Raymond2013-10-011-140/+162
| | | | | | | | | | | | | | | | | | | | | | This commit makes changes to the way JSON exports the following field members: Type 1,2,3: status Type 4,5,19,21: epfd Type 5,19,23,24: shiptype Type 6 DAC235 FID 10: racon, light Type 6 DAC 1 FID 28: rtype Type 8 DAC 1 FID 17: idtype Type 8 DAC 1 FID 19: signal, nextsignal Type 8 DAC 1 FID 27: rtype Type 21: aid_type Type 23: stationtype Each of these output attributes was formerly numeric when scaling was off but string when scaling was on. Now the base attribute is always numeric, and the text is shipped as an attribute with "_text" appended to the name. Both attributes are always shipped. Similar changes are made in Inland AIS JSON that has never shipped.
* Support for Inland AISNumber of Persons On Board.Eric S. Raymond2013-10-011-0/+8
|
* Support for Inland AIS RTA at lock/bridge/terminal.Eric S. Raymond2013-10-011-0/+28
|
* Support for Inland AIS ETA at lock/bridge/terminal.Eric S. Raymond2013-10-011-1/+20
|
* Axccept Persons On Board as either a type 6 or 8 message.Eric S. Raymond2013-10-011-0/+5
|
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-3/+0
| | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
* Extract ITU-R 1371-4 model and serial fields from AIS Type24 messages.Eric S. Raymond2013-09-151-1/+3
| | | | | | | | | | | | | | In ITU-R 1371-4, there are new model and serial fields carved out of the right-hand end of vendorid, which is reduced from 7 chars to 3. It is not clear in which minor revision this change took place. To cope with older AIS implementations, unpack the trailing bits *both* ways; truly revision-4-conformant implementations will have up to four characters of trailing garbage on the vendorid, and older implementations will have garbafe in the model and serial fields. This commit also reverts the change to copy only 20 characters rather than 21 when analyzing the name field in a type21. There's some mystery about why this didn't break the rgression tests sooner.