summaryrefslogtreecommitdiff
path: root/gps_json.h
Commit message (Collapse)AuthorAgeFilesLines
* gps_json: increase GPS_JSON_RESPONSE_MAX to 10240Gary E. Miller2019-04-291-2/+3
| | | | u-blox 9 RAW messages can be really big.
* Add RAW json messaage class for raw measurements.Gary E. Miller2018-10-241-0/+1
| | | | Which bumps the JSON minor rev.
* Savannah issue #53671: policy_t -> gps_policy_t.Gary E. Miller2018-07-261-4/+4
| | | | | | This is to prevent a conflict with Boost version 1.67. No functional change.
* gps_json.h: Declare struct gps_device_tGregory Fong2018-06-271-0/+3
| | | | | | | | It seems like gps.h is always included before gps_json.h, which is an odd requirement but acceptable. But it probably shouldn't require including gpsd.h for one struct, so just declare gps_device_t here. Signed-off-by: Gary E. Miller <gem@rellim.com>
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* Add concept of a GPS-disciplined oscillatorMichael Brown2016-02-091-0/+1
| | | | Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-20/+20
| | | | | | | | | | | | | | | | | | | 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.
* Start on support for unpacking RTCM3 JSON.Eric S. Raymond2013-05-011-0/+2
| | | | | 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-9/+9
|
* const and splint cleanup.Eric S. Raymond2011-10-091-1/+3
|
* Ensure that enabling timing won't break object file compatibility.Eric S. Raymond2011-10-091-2/+2
|
* Remove the old latency-profiling machinery.Eric S. Raymond2011-09-201-1/+2
| | | | | | 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.
* In the client API, take the data buffer out of the gpsdata_t structure.Eric S. Raymond2011-03-181-1/+1
| | | | | | | | | | | | | | | | | | tz has shown me that we had a point of brittleness where the size of the client's data buffer was exposed in gps_data_t. Solution: move it (and the data-waiting count) to the client's private-data member. Requires a new but trivial client-library entry point to get the buffer pointer when a client needs it. Had to be done before API Version 5 froze, or we'd have been stuck breaking a shipped API again. No implications for the daemon or other tools, as this buffer is never used there. (Except it gets rid of several K of never-used static buffer space in the daemon, which is a good thing.) All regression tests pass. Code splints clean. cgps (the only place the API fix matters in our code) live-tests correctly.
* Refactoring step. All regression tests pass.Eric S. Raymond2011-02-161-0/+2
| | | | | | | | | | What's going in with this commit, and the last one, is that I'm disentangling the logic for JSON reporting of device state from the daemon dispatcher layer. This means that other programs that use libgpsd *without* necessarily going through the dispatcher layer will be able to do so. No logic changes.
* Splint cleanup. All regression tests pass.Eric S. Raymond2011-02-161-1/+1
|
* Bug fix: AIS JSON objects get a device field.Eric S. Raymond2011-02-161-0/+2
| | | | All regression tests pass.
* Data hiding.Eric S. Raymond2011-02-161-1/+1
|
* SUBFRAME JSON object gets a device tag.Eric S. Raymond2011-02-161-0/+1
|
* Process GPGST into noise statistics. All regression tests pass.Thomas Sprinkmeier2011-02-011-0/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* First cut at JSON output for TNT Revolution device.Eric S. Raymond2010-04-101-0/+1
| | | | | Not yet documented, but now we at least have a regression test. All regression tests pass.
* Increase size of output bufferChris Kuethe2010-04-091-1/+1
| | | | Signed-off-by: Chris Kuethe <ckuethe@users.berlios.de>
* Internals of Qt support.Chris Browet2010-03-311-0/+6
| | | | | | | | | | | | | | | | | All regression tests pass. Note from esr: this feature cannot be announced yert, as it requires documentation in the INSTALL file. 1. What the target environments are (Linux? Windows? Both) 2. All build prerequisites (C++ compiler? Qt library? Other libraries?) 3. What the new files libQgpsmm_global.h and libQgpsmm.pro are for, and how the are used. We also need to know how to regression-test this code under Linux so we can verify that it's not broken as the client library evolves. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Clean up a function signature.Eric S. Raymond2010-03-231-2/+1
| | | | | | | The previous couple of data-management changes pay off again here, we get to simplify the interface of a reporting function. All regression tests pass.
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+6
|
* splint cleanup.Eric S. Raymond2009-11-191-1/+2
|
* End pointer returned by the JSON parser needs to be passed back up...Eric S. Raymond2009-11-181-1/+1
| | | | ...so we can handle multiple responses per write.
* Improved handling of defaults in DEVICE command.Eric S. Raymond2009-09-121-0/+6
|
* Splint Cleanup Meets Billy The Kid. All regression tests pass.Eric S. Raymond2009-09-101-8/+9
|
* Bride of the Splint Cleanup. All regression tests pass.Eric S. Raymond2009-09-101-8/+12
|
* Yet more splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-4/+4
|
* More splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-1/+1
|
* Fix calls to json_stringify to not rely on static storage.Eric S. Raymond2009-08-311-2/+2
|
* Make string fields that might contain double quotes safe for JSON output.Eric S. Raymond2009-08-301-0/+1
|
* Start on client-side parsing of AIS JSON. All regression tests pass.Eric S. Raymond2009-08-281-0/+1
|
* Integrate RTCM2 JSON parsing into the build.Eric S. Raymond2009-08-271-0/+1
|
* Unify CONFIGDEV and DEVICE responses.Eric S. Raymond2009-08-251-2/+1
|
* Arrange for clients to see a VERSION response when they first connect.Eric S. Raymond2009-08-231-0/+1
|
* Parse WATCH responses in the client library. All regression tests pass.Eric S. Raymond2009-08-231-2/+2
|
* Merge two structures that didn't need to exist separately. Eric S. Raymond2009-08-231-8/+0
| | | | All regression tests pass.
* Move some struct gpsdata_t members around to get better space economy.Eric S. Raymond2009-08-181-1/+0
| | | | | | Change the way device lists are represented so they can carry attributes from the new protocol. No more variable sizes by configure option, all that stuff gets swallowed up in the union member now.
* Add check-string attributes to JSON parser.Eric S. Raymond2009-08-181-1/+1
| | | | Add JSON unit test to default test sequence.
* More steps towards ?DEVICES decoding - refactor code.Eric S. Raymond2009-08-181-0/+2
|
* Major step towards GPSD-NG support in the client library.Eric S. Raymond2009-08-181-2/+1
|
* Step one in making the client library speak new protocol.Eric S. Raymond2009-08-181-0/+1
|
* Add cycle-time reporting and setting to new protocol. Eric S. Raymond2009-08-171-1/+2
| | | | | | Steps towards making gpsctl work with new protocol. Incidentally, fixes a bug where min_cycle was not reported correctly in the C command.
* Big simplification of GPSD_NG interface. Eric S. Raymond2009-08-171-13/+2
| | | | | CONFIGCHAN is gone, WATCH now listens to everything and sets as per-user policy bits things that used to be per-channel.
* GPSD-NG commands without object arguments now require an ending ';' delimiter.Eric S. Raymond2009-08-111-6/+5
| | | | Preparation for allowing multiple commands per line.
* Major steps towards CONFIGDEV. (Not yet working.)Eric S. Raymond2009-08-031-2/+2
|
* JSON parsing and dumping for device configuration.Eric S. Raymond2009-08-011-0/+9
|
* CONFIGCHAN parsing is working and documented. Eric S. Raymond2009-08-011-0/+2
| | | | Policy bits are not yet set correctly.