summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
Commit message (Collapse)AuthorAgeFilesLines
* Structure member name change: packet -> lexer. No logic changes.Eric S. Raymond2014-08-271-12/+12
| | | | All regression tests pass.
* A steo topwrds eliminating the reverse linkage of gpd_report().Eric S. Raymond2014-08-271-1/+2
| | | | All regression tests pass.
* Eliminate reverse linkage of gpsd_write. All regression tests pass.Eric S. Raymond2014-08-261-0/+2
|
* GNSS and GLOSS SKY reoport are now mergedEric S. Raymond2014-08-261-0/+1
| | | | | Fixes Savannah bug #42407: wrong interpretation of NMEA messages for mixed GPS/GLONASS recievers.
* Accumulate GNSS+GLONASS satelite reports.Eric S. Raymond2014-08-251-0/+1
| | | | | This isn't ideal. Wgen a GPS emits both we get two SKY reports per cycle, with the second one cumulative.
* Split firmwqre version query out of the init method.Eric S. Raymond2014-08-251-0/+1
| | | | | | This enables us to force readonly off while it's being called. The practical effect is that gpsmon can get a firmware version (if this is possible) without reconfiguring the device.
* Recreare the driver union, curtting per-device storage requirements.Eric S. Raymond2014-08-241-32/+33
| | | | | | | This time, the NMEA privarte storage is outside the union, so mode-switching won't step on stuff. All regression tests pass.
* splint/ccpcheck cleanup.Eric S. Raymond2014-08-241-1/+1
|
* Properly free devices when select() sees bad fds for them.Eric S. Raymond2014-08-241-0/+1
|
* Eliminate the tag field entirely, even internally.Eric S. Raymond2014-08-241-2/+1
| | | | All regression tests pass.
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-1/+4
| | | | | | | 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.
* Static-analyzer cleanup: splint, cppcheck, coverity all clear.Eric S. Raymond2014-08-221-1/+1
| | | | All regression tests pass.
* Re-integrate Miroslav's support for large PPS offsets.Eric S. Raymond2014-08-221-1/+5
| | | | | | The factoring on this could use some cleanup. All regression tests pass. PPS is live in both gpsd and gpsmon.
* Restore PPS function by backing out Miroslav Lichtvar's last commit.Eric S. Raymond2014-08-211-4/+1
| | | | | | | | It came in way, way out of sequence ansd screwed something up. He may have been fixing some real problem, however. This requures investigation. All regression tests pass.
* Attempt to head off problems with including gpsd.h in C++ code.Eric S. Raymond2014-08-211-0/+4
| | | | All regression tests pass.
* Fix PPS with large offsets.Miroslav Lichvar2014-08-171-1/+4
| | | | | | | | | | | | | | This was broken by commit 575444. The check if the PPS time isn't referenced with an old message time used PPS offset instead of the difference between local PPS time and local time of the last message. The PPS sample was reported via SHM or chrony socket only if the offset was between -1 and 1000001 seconds. Keep the local timestamp of the last fix in struct gps_device_t in addition to the real timestamp and use it to check the PPS delay. Rename the l_offset variable to delay to avoid further confusion. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Instrument so we can tell when a SiRF control is sent out with ACK pending.Eric S. Raymond2014-05-181-0/+1
|
* Back out my attempt at ACK synchrinization, it fails on SiRF III.Eric S. Raymond2014-05-181-2/+0
|
* Conditionalization fix for NMEA2000 build, suggested by Bernd Ocklin.Eric S. Raymond2014-01-031-1/+1
|
* last_fixtime is volatile. Make sure compiler lets ppsthread work.Gary E. Miller2013-11-291-1/+1
|
* Investigating ways to get rid of CLOSE_DELAY in the test framework...Eric S. Raymond2013-11-271-0/+1
| | | | | | | | ...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...
* Refactor NMEA0183 century handling.Eric S. Raymond2013-11-271-1/+2
| | | | | | | No logic changes. All regression tests pass. The real point here is to get all the code for time-related edge cases into timebase.c so it can be reviewed as a unit.
* Derive new CENTURY_VALID flag in context. Not used yet. No logic changes.Eric S. Raymond2013-11-271-2/+3
|
* Get vertical error position and speed estimates from the u-blox driver.Pavel Kirienko2013-11-261-0/+8
| | | | | That is, rather than having to interpolate them. This required two regression-test rebuilds in obvious places.
* Add timeout on wait-for-ACK to SiRF driver.Eric S. Raymond2013-11-191-1/+2
| | | | Correct initialization observed oon SiRF-III. All regression tests pass.
* Structure change went missing from my last commit.Eric S. Raymond2013-11-181-1/+1
|
* Stall SiRF writes the minimum necessary to guarantee a 4-second cooldown.Eric S. Raymond2013-11-181-0/+2
| | | | | Works on a BU-355 (SiRF-III); at least, it gets through the configuration sends with little stalling.
* Introduce new LOG_CLIENT looging level.Eric S. Raymond2013-11-161-6/+7
|
* Reduce gpsd log verbosity a lot.Eric S. Raymond2013-11-121-3/+3
| | | | | | | | | | Way too much logging was happening at LOG_IO level, which is intended for watching data traffic in and out of the daemon rather than all the minutiae of data analysis - that's LOG_DATA. Also, LOG_DATA gets pushed down two levels. The effect is that -D 5 means exactly what it did, but for purposes other than driver debugging -D 4 now suffices.
* Virtuous code removal.Eric S. Raymond2013-11-121-1/+0
| | | | | The can't-turn-off-NMEA bug went away. I think it was the port ID fix to the u-blox driver, though I don't see how. I'll take it....
* Fix PPS offset display bug by properly thread-locking some accesses.Eric S. Raymond2013-11-121-0/+3
|
* sys/timepps.h needs sys/time.h on NetBSD, perhaps FreeBSDEric S. Raymond2013-11-121-1/+2
|
* We can now change baud rates on the GR601-W.Eric S. Raymond2013-11-121-0/+1
| | | | | | | This required some unfortunate klugery because the GR601-W is a USB device that nevertheless has port ID 1 in the u-blox CFG-PRT message (associated with the primary USART) rather than port ID 3 which is what u-blox USB would give it.
* u-blox name cleanup. All regression tests pass, PPS is live.Eric S. Raymond2013-11-091-3/+3
|
* uBlox -> u-blox; the company does not biicapitalize its name.Eric S. Raymond2013-11-091-2/+2
|
* Clarifying name change. All regression test pass. PPS is live.Eric S. Raymond2013-11-061-2/+1
|
* Sets precision inside ntpshm_put().Michael Tatarinov2013-11-061-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Simplify the PPS hook.Michael Tatarinov2013-11-061-4/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* ntpshm_pps() is gone.Michael Tatarinov2013-11-061-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* C variables are case insensitive, but still nice to have matching case.Gary E. Miller2013-11-051-2/+4
| | | | | Should be no functional change. Thanks to: Michael Tatarinov <kukabu@gmail.com>
* Make the barrier() definition fail quietly, as it did in 3.9.Eric S. Raymond2013-11-051-10/+5
| | | | | | I don't think having barriers is worth the hassle we get from breaking peoples' builds in odd environments. Not for GPSD, anyway; they matter more elsewhere.
* Partial splint cleanup. All regression tests pass. PPS is live.Eric S. Raymond2013-11-051-1/+7
|
* Memory barriers are required for safe NTPSHM.Eric S. Raymond2013-11-051-4/+4
|
* Use timedrift_t for all hook arguments.Eric S. Raymond2013-11-031-3/+2
| | | | | | | | | No logic changes in this commit. We push naosecond precision closer to where time hints are shipped. Changes to ppsthread.c are kept minimal; it needs a cleanup but that will be done in another change that can be separately reviewed. All regression tests pass. PPS is live in gpsmon and reported by gpsd.
* Yet more decoupling.Eric S. Raymond2013-11-021-2/+2
|
* Eliminate an enable flag that always gets set true.Eric S. Raymond2013-11-021-4/+5
| | | | All regression tests pass. PPS is live.
* Namespace cleanup. All regression tests pass, PPS is live.Eric S. Raymond2013-11-021-2/+2
|
* Finish decoupling the PPS watcher code from NTP shared-segment management.Eric S. Raymond2013-11-021-1/+2
| | | | Also, further contain the latter.
* Define barrier() only if SHM export is enabled.Beat Bolli2013-11-011-0/+2
| | | | | Signed-off-by: Beat Bolli <bbolli@ewanet.ch> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Use GCC built-in function for memory barrier.Michael Tatarinov2013-11-011-5/+7
|