summaryrefslogtreecommitdiff
path: root/gps.h
Commit message (Collapse)AuthorAgeFilesLines
* Note potential loss of precision in timestamp_tGary E. Miller2015-01-311-0/+7
|
* API major version bump.Eric S. Raymond2015-01-251-3/+4
|
* Document recent changes.Eric S. Raymond2015-01-251-2/+4
|
* Add do { ... } while (0) around assignment in macroMatt2015-01-231-1/+1
| | | | | | | | | | Add the customary do { ... } while (0) around this macro which expands to executable code (as opposed to an expression). I believe this is not necessary when, as in this case, the code is a single line. But a) it costs nothing, b) it might become multi-line one day, and c) it looks wrong to my C programmer eyes - alarm bells ring every time I read it, and I don't want to blunt that generally healthy reaction.
* Add compiler.h with compiler specific macros.Zbigniew Chyla2015-01-211-8/+1
| | | | | Use new macros (UNUSED, PRINTF_FUNC) where appropriate. This change doesn't affect generated binary code.
* Clean STATUS_DGPS_FIX out of the public interface. All regression tests pass.Eric S. Raymond2015-01-131-2/+1
|
* Fix a namespace-pollution issue that causes OS X build failures.Eric S. Raymond2015-01-091-16/+0
| | | | All regression tests pass.
* Better way to avoid glibc dependency.Eric S. Raymond2014-09-291-0/+1
| | | | | | | Returns us to something amost identical to the original code. Sigh. Timezones are a swamp. All regression tests pass.
* Remove some custom code, at the cost of introducing a glibc depenency.Eric S. Raymond2014-09-251-1/+0
| | | | Dependency soon to be fixed. All regression tests pass.
* Refactor representation of satellite data into an array of structs...Eric S. Raymond2014-09-221-5/+9
| | | | | | | | | | | | | | | | | | ...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.
* Remove a qualifying comment left over from the old polling interface.Eric S. Raymond2014-09-051-16/+2
|
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-6/+3
| | | | | | | 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.
* Reduce space required by devicelist now that it's in the main structure.Eric S. Raymond2014-08-231-8/+3
|
* PPS is no kinger marked unstable/experimental.Eric S. Raymond2014-08-231-1/+0
|
* Device list fully moved out of terminal union; all regression tests pass.Eric S. Raymond2014-08-231-7/+8
|
* Full implementation of AIS 'structured' bit. All regression tests pass.Eric S. Raymond2014-08-231-0/+1
|
* libgps version bump to 22: AIS types 6 and 8 get 'structured' member.Eric S. Raymond2014-08-231-1/+4
|
* Cirresct specification annd processing of Inland AIS Type 10 message.Eric S. Raymond2014-08-181-3/+3
|
* Fix an out of bounds on pulse[] in ppsthread.cGary E. Miller2013-11-301-1/+1
| | | | | | The variable state used to be a boolean, and was used to index into pulse[] to find the last two edges. state became a mask and was accessing pulsep[] out of bounds, doing off things.
* Remove a bit of floating point that snuck into timespec_diff_ns()Gary E. Miller2013-11-301-2/+2
|
* timespec_diff_ns() must return a long, int is too short.Gary E. Miller2013-11-291-1/+2
|
* Investigating ways to get rid of CLOSE_DELAY in the test framework...Eric S. Raymond2013-11-271-1/+2
| | | | | | | | ...actually revealed a bug - device-shutdown messages getting lost on the way out to the test clients. This set of changes mostly fixes it. Some glitches remain; this state of things passes all regression tests but attempting to get rid of what now ought to be unnecessary code in fake.py does not pass. To be continued...
* Release-stamp the minor API bump that took place in 3.10.Eric S. Raymond2013-11-251-1/+1
|
* Restore inadvertently deleted code.Eric S. Raymond2013-11-201-0/+31
|
* Delete somebody's stray character.Eric S. Raymond2013-11-201-31/+0
|
* Fix up the pps=no build. All regression tests pass.Eric S. Raymond2013-11-171-0/+3
|
* ppsbar -> pps.Eric S. Raymond2013-11-131-2/+2
| | | | All regression tests pass. PPS is live in both gpsd and gpsmon.
* Teach the client library about ppsbar...Eric S. Raymond2013-11-101-0/+1
| | | | | ...against the extremmely unlikely evebtuality of anything but gpsmon wanting to use it.
* PPS events now show in gpsmon runb through the daemon.Eric S. Raymond2013-11-091-0/+1
|
* Unify time-difference computations. All regression tests pass, PPS is live.Eric S. Raymond2013-11-061-2/+3
|
* Fix up gpsprof's dime difference calculation and add a mtching C macro.Eric S. Raymond2013-11-031-0/+2
| | | | All regression tests pass. PPS is live.
* Support reading PPS messages in libgps.Eric S. Raymond2013-11-031-3/+10
| | | | | | 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.
* Remove embarassing incorrect apostrophe.Eric S. Raymond2013-11-031-1/+1
|
* Some compilers barf if you name a struct member 'class'.Eric S. Raymond2013-10-061-1/+1
|
* Inland AIS full support (untested).Eric S. Raymond2013-10-061-0/+12
|
* Inland AIS Water level support is done except for the JSON dumping.Eric S. Raymond2013-10-051-0/+10
|
* Implement handling of Inland AIS EMMA warning.Eric S. Raymond2013-10-051-0/+27
|
* Support Inland AIS ship static and voyage-related data.Eric S. Raymond2013-10-021-0/+13
|
* Typo fix in some unused #defines.Eric S. Raymond2013-10-011-33/+33
|
* Support for Inland AISNumber of Persons On Board.Eric S. Raymond2013-10-011-0/+7
|
* Support for Inland AIS RTA at lock/bridge/terminal.Eric S. Raymond2013-10-011-0/+17
|
* Support for Inland AIS ETA at lock/bridge/terminal.Eric S. Raymond2013-10-011-0/+14
|
* Remove some unused and erroneously included structure fields.Eric S. Raymond2013-10-011-8/+0
|
* Axccept Persons On Board as either a type 6 or 8 message.Eric S. Raymond2013-10-011-0/+4
|
* Extract ITU-R 1371-4 model and serial fields from AIS Type24 messages.Eric S. Raymond2013-09-151-1/+5
| | | | | | | | | | | | | | 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.
* Split Type 24 reporting, including the -s option to gpsdecode.Eric S. Raymond2013-09-141-2/+9
| | | | All regression tests pass.
* API ninoer version needs a bump due to the GPS_PATH_MAX chhange.Eric S. Raymond2013-09-131-0/+1
|
* Increase GPS_PATH_MAX to correspond to practice on modern Linuxes.Eric S. Raymond2013-09-131-1/+7
| | | | | | | | | | | The former value of 128 was too little for pathnames like /dev/serial/by-id/... often used in modern linux distributions. The new implementation tries to respect PATH_MAX from limits.h if defined. Based on a patch by Steffen Sledz <sledz@dresearch-fe.de>, but this also required bumping the binary-library version because it breaks compatibility.
* RTCM3 R104 JSON unoacking.Eric S. Raymond2013-05-021-1/+1
|
* Unpack JSON for RTCM3 R1007, R1008, and R1009.Eric S. Raymond2013-05-011-17/+17
|