summaryrefslogtreecommitdiff
path: root/gpsd_json.c
Commit message (Collapse)AuthorAgeFilesLines
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-0/+2
|
* Address bug #17510 gpsdecode reports AIVDM Type 9 aircraft height,speed wrong.Eric S. Raymond2010-12-021-3/+3
| | | | | Sadly, it appears we don't have a rgression test for this case. Type 9 packets are rare.
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-2/+0
|
* fix the way skyview json is producedChris Kuethe2010-07-151-4/+2
|
* Fix an error in how AIS rate-of-turn decoding was done.Eric S. Raymond2010-07-011-3/+4
| | | | | This affected only formatted output, so the fix breaks no regression tests. Codebase splints clean.
* In AIS message types 6 and 8, split app_id into DAC and FID per ITU-1371.Eric S. Raymond2010-05-101-4/+6
| | | | | | | | | | | | Wire protocol and API minor versions get bumped. All changes are as documented in AIVDM.txt, which now describes known message 6 and 8 subtypes. Involved rebuilding a couple of AIS regression tests. All regression tests pass. Also includes various typo fixes for AIVDM.txt discovered by Baylink while we were reviewing these changes.
* Whitespace and indenting cleanup.Jon Schlueter2010-04-291-3/+3
| | | | | In bits.c gpsd.c gpsd_json.c and several drivers. Regression tests passing.
* This tweak makes GNU indent do something reasonable.Eric S. Raymond2010-04-141-2/+2
|
* Tweak some whitespace. All regression tests pass.Eric S. Raymond2010-04-141-3/+3
|
* Scatter GNU indent pragmas to tell it not to do stupid things.Eric S. Raymond2010-04-141-8/+8
| | | | All regression tests pass.
* Re-indent JSON support. All regression tests pass.Eric S. Raymond2010-04-141-513/+450
|
* Reindent the JSON stuff. All regression tests pass.Eric S. Raymond2010-04-141-0/+2
|
* Shorten some names for concision, and make C names match JSON names.Eric S. Raymond2010-04-111-19/+19
| | | | All regression tests pass.
* Improve and dicument the JSON report for digital compasses.Eric S. Raymond2010-04-111-14/+58
|
* compass mode does not depend on aivdmChris Kuethe2010-04-101-1/+1
|
* First cut at JSON output for TNT Revolution device.Eric S. Raymond2010-04-101-0/+102
| | | | | Not yet documented, but now we at least have a regression test. All regression tests pass.
* break; to the right place if skyview data is badChris Kuethe2010-04-081-0/+2
|
* Split out some functions from gpsd_json.c that are used by libgps.Eric S. Raymond2010-03-301-71/+2
| | | | Applications shouldn't need to carry around all that structure-dumping code,
* Fix building with --disable-reconfigurePaulius Zaleckas2010-03-281-0/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Suppress JSON reporting of fields the fix quality won't support.Eric S. Raymond2010-03-271-58/+70
| | | | | | | | This should suppress a bug reported by Greg Troxel where, due to numeric instability in geodetic fix computations, wecwere getting cross-archirecture differences in the low-order digits of altitude for invalid fixes on SiRF-II chips. This required that ten regression test be rebuilt; I eyeballed the diffs to make sure we didn't lose actual data.
* gpsd.c no longer needs to use the classmap, so restrict its visibility.Eric S. Raymond2010-03-231-0/+8
| | | | | | | | gpsd.c needed to see the classmap array back when old protocol allowed users to subscribe to devices by type. That capability isn't needed with a watch-centered protocol, so the code can be simplified. All regression tests pass.
* Clean up a function signature.Eric S. Raymond2010-03-231-30/+30
| | | | | | | 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.
* Address Debian bug #573752 (mode sometimes missing from JSON.Eric S. Raymond2010-03-141-4/+3
| | | | | Also, include some additions of copyrights on the test logs that somehow wint missing from the last commit (probably git operator error).
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+5
|
* Support for JSON dumping and parsing of AIS message types 25 and 26.Eric S. Raymond2010-03-051-0/+25
| | | | These are not yet observed in the wild on AISHub.
* Improved handling and documentation of AIS type 22 messages.Eric S. Raymond2010-01-301-35/+29
|
* Avoid a collision with typedef boolean.Eric S. Raymond2010-01-041-34/+34
| | | | All regression tests pass.
* One more typedef cleanup from David Ludlow.Eric S. Raymond2010-01-041-4/+4
|
* More AIS tweaks. Test client is turning up real bugs.Eric S. Raymond2009-12-201-1/+1
|
* Various AIS corrections turned up by working on xgps's AIS display.Eric S. Raymond2009-12-201-1/+1
|
* More generous buffers to avoid generating bad JSON on AIS special strings.Eric S. Raymond2009-12-191-4/+4
|
* Fix AIS dumping of altitude and speed in SAR report.Eric S. Raymond2009-12-181-3/+30
|
* Introduce the "scaled" attribute to JSON dumps...Eric S. Raymond2009-12-181-4/+3
| | | | ...so they are fully self-describing again.
* Fix some bugs in scaled JSON output.Eric S. Raymond2009-12-181-5/+5
|
* Fix a minor error in dumping of type 21 AIS messages.Eric S. Raymond2009-12-101-2/+2
|
* Fix decoding glitch in AIS type 22 and update docs.Eric S. Raymond2009-12-081-3/+5
|
* Fix up JSON dumping of the (rare) AIS message 23Eric S. Raymond2009-12-071-3/+3
| | | | And arrange for backlashes in sixbit data to be properly quoted.
* Fixed JSON dumping of AIS type 15.Eric S. Raymond2009-12-071-11/+13
| | | | | | | Arranged to suppress dumping of device serial parameters when its a TCP/IP data source like an AIS feed. All regression tests pass.
* gpspipe exposed an orthogonality failure.Eric S. Raymond2009-12-031-1/+4
| | | | | | | | | | | | Fix it by adding a json switch separate from watch enable. This involved moving where fake NMEA is generated to a different place, treating it as just another form of report generation rather than a side effect of receiving a sentence. Also, some client-side code had to be changed to use the json flag. A side effect is that some binary-protocol devicers generate fake $GPGSA sentences somewhat more often than they used to, and this meant rebuilding four more regression tests.
* Corrections to the AIS specification, and one fieldname.Eric S. Raymond2009-11-261-2/+2
|
* Arrange for a revision.h to be generated into release tarballs...Eric S. Raymond2009-11-201-1/+3
| | | | ...so the version-control revision can be part of the VERSION response.
* 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.
* Resolve an OS X linkage problem.Eric S. Raymond2009-11-191-0/+13
|
* Add a missing check field to a parser specification.Eric S. Raymond2009-11-161-0/+2
|
* vdop was mislabeled as zdop.Eric S. Raymond2009-11-121-1/+1
|
* I just discovered RFC 4627 which defines JSON.Gary E. Miller2009-11-111-1/+1
| | | | | | There is no such thing as a 'character' value, only strings. So with Eric's last change this reverts to a more standard JSON.
* Whoops, parity needs to default to 'N', ...Gary E. Miller2009-11-111-1/+1
| | | | | | | ...but string types can not have a json default. So revert last change and set parity sending type from string to character. gpsctl still fails to start, but fails later now.
* Fix truly embarassing typo.Eric S. Raymond2009-11-061-1/+1
|
* Clear up some driver-level confusion surrounding timestamp setting.Eric S. Raymond2009-10-011-2/+2
| | | | | | | | There was lots of duplicative setting of gpsdata.fix.time and gpsdata.sentence_time. The latter is now gone. The only case the sentence_time member was actually used for was timestamping skyviews; a new gpsdata.skyview_time now handles that, and all drivers set it properly.
* Have a single point of truth in the JSON skyview reports...Eric S. Raymond2009-10-011-3/+0
| | | | | | ...about the number of visible satellites. (Yes, there was an actual bug there.) Required removing a field from the JSON dumps on the regression tests.