summaryrefslogtreecommitdiff
path: root/libgps_json.c
Commit message (Collapse)AuthorAgeFilesLines
* TOFF JSON message implemented and documented.Eric S. Raymond2015-02-231-0/+47
| | | | | | All regression tests pass. PPS observed live with gosmon. gpsmon presently ignores this message, but shout display its contents near PPS.
* Abolish all confusing uses of the word 'drift' for a time delta.Eric S. Raymond2015-02-231-6/+6
| | | | No logic changes. All regression tesrs pass. Live PPS observed.
* Avoid overexposure of an internal mask. EOF_SET -> EOF_ISEric S. Raymond2015-02-201-1/+1
| | | | | | | | Also, use PPSDRIFT_SET as a client-side status flag for JSON PPS rather than the (not yet shipped) TIMEDRIFT_SET. Next release we're probably going to add a drift object for in-line time. No logic changes. All regression tests pass.
* Fix improper timespec type casting.Gary E. Miller2015-02-021-4/+4
|
* In client library, "dip" member was missing from ATT parsing.Eric S. Raymond2015-01-241-0/+2
| | | | | | Should fix Savannah bug #43789: Dip and mag_x are not available in gps_data_t All regression test pass.
* Complete splint cleanup.Eric S. Raymond2015-01-211-0/+1
|
* Use str_starts_with instead of local macro.Zbigniew Chyla2015-01-211-15/+14
| | | | This change doesn't affect generated binary code.
* Last change to STARTSWITH was buggy. All regression tests pass.Eric S. Raymond2015-01-131-1/+1
|
* The STARTSWITH macro in libgps_json.c uses sizeof when it means strlen.Matt2015-01-081-1/+1
|
* Refactor representation of satellite data into an array of structs...Eric S. Raymond2014-09-221-17/+14
| | | | | | | | | | | | | | | | | | ...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.
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-8/+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.
* Fix up the pps=no build. All regression tests pass.Eric S. Raymond2013-11-171-1/+3
|
* In libgps, incorrect defaults resulted in garbage values for empty fields.Eric S. Raymond2013-11-131-5/+5
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-1/+1
|
* Partial splint cleanup. All regression tests pass. PPS is live.Eric S. Raymond2013-11-051-0/+4
|
* Support reading PPS messages in libgps.Eric S. Raymond2013-11-031-0/+45
| | | | | | Finally defines a message validity nask that won't fit in 32 bits, alas. Defines a timedrift structure that we will use internally as well.
* Start on support for unpacking RTCM3 JSON.Eric S. Raymond2013-05-011-0/+11
| | | | | Only the 1001 sentence so far, with two fields missing. Not usable for production yet, but gets infrastructure in place.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-1/+1
|
* Mark VERSION and WATCH with a remote attribute when passed from slaves.Eric S. Raymond2011-06-221-0/+2
|
* splint cleanup.Eric S. Raymond2011-04-161-2/+2
|
* Use t_time consistently for timestamps.Eric S. Raymond2011-04-161-48/+8
| | | | All regression tests pass. Livetesting with cgps looks good.
* Cosmetic tweak: t_timestamp -> t_time.Eric S. Raymond2011-04-161-1/+1
|
* Add a 'timestamp' type to the JSON parser to solve a compatibility problem.Eric S. Raymond2011-04-151-1/+2
| | | | | | | Sigh, no other way to get DEVICELIST to recignize both new and old timestamps. All regression tests pass.
* Centralize the C client library's flag setting.Eric S. Raymond2011-04-151-56/+72
| | | | This squeezes out a couple of minor errors due to unset flag fields.
* Force some flag clears to ensure the library-side set member is correct.Eric S. Raymond2011-04-151-0/+4
|
* Add a switch to configure out control-socket switch.Eric S. Raymond2011-03-281-0/+3
|
* Fix scan-build glitches. All regression tests pass.Eric S. Raymond2011-03-281-0/+3
|
* Fix bonehead error in the code for backward compatibility with Unix timestamps.Eric S. Raymond2011-03-231-1/+1
|
* Library time parsing is now backward-compatible with 2.95.Eric S. Raymond2011-03-101-10/+22
|
* Fix a problem noted by Charles Curley.Eric S. Raymond2011-02-251-0/+1
| | | | His second library glitch. An array was not getting properly zeroed.
* Fix a bug in computation of satellites_visible.Eric S. Raymond2011-02-251-1/+3
| | | | | Charles Curley pointed this one out on Mon Feb 7 00:40:04 CET 2011 and enclosed a patch. All regression tests pass.
* Compute satellites_visible in the client-side JSON parser.Eric S. Raymond2011-02-031-0/+3
|
* More name changes related to GST.Eric S. Raymond2011-02-011-11/+11
| | | | All regression tests pass.
* Change Noise sentence to use ISO8601 timestamp.Eric S. Raymond2011-02-011-5/+13
|
* Process GPGST into noise statistics. All regression tests pass.Thomas Sprinkmeier2011-02-011-0/+43
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Timestamps in TPV and SKY go from float seconds since Unix epoch to ISO8601.Eric S. Raymond2011-01-291-4/+18
| | | | | | | | Protocol version number is bumped. Python and C test clients are known to work; interfaces of the C and Python client bindings are unchanged. Third-party client-side bindings which rely on naively copying JSON members will break (implementers have been repeatedly warned not to do this).
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-2/+0
|
* Reindent the JSON stuff. All regression tests pass.Eric S. Raymond2010-04-141-44/+38
|
* Guard some displayed structures from reindenting.Eric S. Raymond2010-04-131-0/+14
|
* Shorten some names for concision, and make C names match JSON names.Eric S. Raymond2010-04-111-9/+9
| | | | All regression tests pass.
* Cluent-side support for reading ATT responses.Eric S. Raymond2010-04-111-0/+58
|
* Patch to fix flickering time in cpgs.root (none)2010-04-081-1/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+5
|
* Avoid a collision with typedef boolean.Eric S. Raymond2010-01-041-97/+97
| | | | All regression tests pass.
* Arrgh. I confused ERR_SET with ERROR_SET in a couple of places.Eric S. Raymond2009-12-181-1/+1
| | | | | | | | | ERR_SET is now gone entirely, so in the extremely unlikely even that an app developer got caught by this (could never happen unless they shipped a bad command via the deprecated gps_send() entry point) the code will break noisily. All regression tests pass.
* Enable handling of multiple JSON objectts per line, and add a test for it.Eric S. Raymond2009-11-291-9/+15
|
* Send components of a DEVICE response to the dev member...Eric S. Raymond2009-11-251-1/+1
| | | | ...not the first member of devicelist. This should fix a pesky bug in cgps.
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+0
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* Work around, and document, a subtle limitation of libgps.Eric S. Raymond2009-11-191-3/+1
|