summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove now-unneeded inclusion.Eric S. Raymond2012-05-191-1/+10
|
* Regularize some names.Eric S. Raymond2011-04-011-8/+8
|
* gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...Eric S. Raymond2011-03-311-2/+2
| | | | | ...and guard them with debug level so they won't be done when the output would never be shipped anywhere.
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-6/+6
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Make all drivers set the PPSTIME_IS mask where appropriate. It's not yet used.Eric S. Raymond2011-03-231-2/+2
| | | | All regression tests pass.
* And still more double -> timestamp_t moves.Eric S. Raymond2011-03-101-1/+1
| | | | All regression tests pass, splint passes.
* Remove pass_rtcm(),Eric S. Raymond2011-02-271-2/+2
| | | | | Replace it wuth what it calls, gpsd_write(). Requiresd only a prototype tweak and some casts, no logic changes. All regression tests pass.
* Refactor time handling yet again. All regression tests pass.Eric S. Raymond2011-01-211-1/+1
|
* Add some suitable warning comments.Eric S. Raymond2011-01-211-0/+6
|
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-0/+1
| | | | All regression tests pass.
* Refactoring revealed a minor bug in Zodiac skyview timestamps.Eric S. Raymond2011-01-171-6/+3
| | | | They weren't getting leap-second correction.
* Properly record when we get a valid leap second.Eric S. Raymond2011-01-171-1/+3
|
* Introduce GPS_TIME_VALID flag for GPS time validation.Eric S. Raymond2011-01-171-0/+1
|
* More deheader testing. All regression tests pass.Eric S. Raymond2011-01-131-0/+1
|
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-2/+2
| | | | | | With most machines being 64-bit now, the assumption that "word" = 16 bits and "long" = 32 bits is increasingly archaic. This commit removes it from our naming conventions.
* More header portability auditing by deheader.Eric S. Raymond2010-12-221-2/+3
|
* Insert GPS week rollover checks everywhere we rely on GPS time.Eric S. Raymond2010-12-201-0/+1
| | | | All regression tests pass.
* More deheaderizing. All regression tests pass.Eric S. Raymond2010-12-011-3/+0
|
* Enable much stricter compilation warningsEric S. Raymond2010-09-161-1/+1
| | | | | | | | We now compile with -Wextra on and only the warning on missing fields in initializers turned off (because of the way some of thee JSON code is generated). Cleanups necessary to eliminate all warnings have been done. All regression tests pass.
* Reindent. All regression tests pass.Eric S. Raymond2010-04-261-2/+2
| | | | | Most of the bulk of this one is the xgpsspeed code, which was not formerly incldecd in reindenting.
* Clear DOPs only when we get a skyview report.Eric S. Raymond2010-04-201-1/+2
| | | | | | | | | | | | | | | This solves the disappearing epx/epy bug on SiRFs, but it was actually a systemic problem that affected several drivers. Navigation solution messages were clearing DOPs, making it impossible for the error modeller to compute estimates. New logic: Clear DOPs only when we get a skyview report. They'll be regenerated by our visibility-matrix calculation when the skyview sentence is analyzed. If a sentence from the device supplies a DOP between the time the visibility calculation is done and when the next fix is reported, it will override our computed value. This might change later! This change required a regression-test rebuild.
* Splint and cppcheck cleanup. All regression tests pass.Eric S. Raymond2010-04-201-3/+3
|
* Eliminate a lot of private copies of gps_tow for one global copy inGary E. Miller2010-04-181-1/+2
| | | | sesion->context.
* Smoke out more private copies of gps_week and move into session->context. Gary E. Miller2010-04-181-0/+1
| | | | Prepare to do the same for Time of Week (tow).
* remove commented-out development packet dumpsChris Kuethe2010-04-181-76/+1
|
* Collapse various copies of gps_week into one in gps_contxt_t.Gary E. Miller2010-04-161-1/+2
|
* More reindenting.Eric S. Raymond2010-04-141-2/+2
|
* Reindented more driver code. All regression tests pass.Eric S. Raymond2010-04-141-97/+125
|
* Protect more displayed structures from indent.Eric S. Raymond2010-04-131-0/+2
|
* Refactor serial ntpshm_put() calls.Eric S. Raymond2010-04-121-8/+14
| | | | | | | | | | | | | | | These calls move out of scattered places in the drivers into one spot in libgpsd_core.c where they can be guarded with consistent validity checks. Time offset is now computed by a new driver method, ntp_offset(), which has access through the session structure to the baud rate, the tag of the sentence last received, etc. If the ntp_offset() method returns NAN, no notification is shipped. The logic of these methods replicates the sentence and baud-rate specific computations that were embedded in individual sentence methods before. All regression tests pass.
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-5/+5
| | | | | | | | | | | | | | | | | Large patch, no actual executable code changes except in three debug dumpers. Breaks up the *_SET status macros so the client side continues to use them, but the daemon uses a similarly-named set with an _IS suffix. This frees up two mask bits in both sets - the client side no longer needs to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs to have VERSION_SET and POLICY_SET. The only actual code change is that the maskdump.c module, generated by maskaudit.py, splits in half - one child now dumps client-side flags, the other daemon-side flags. One other function call in a debug dumper in libgps_core.c changes. All regression tests pass.
* Drivers now put their per-packet new data into a session->newdata member.Eric S. Raymond2010-04-051-26/+26
| | | | | | | This is so they won't overwrite session->gpsdata.fix, which is going to move back to being where the current fix has been reported. All regression tests pass.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-3/+2
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* David Ludlow's housekeeping and type-cleanup patch.Eric S. Raymond2010-01-021-1/+1
| | | | All regression tests pass,
* 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.
* Make fudge explicit in ntpshm_put(), and log it..Gary E. Miller2009-11-171-1/+1
|
* The new instrumentation pays off. Eric S. Raymond2009-10-021-8/+7
| | | | | | | On NMEA devices, mode could sometimes be held across cycles when it shouldn't have been. Fix this, simplifying how cycles are tracked in the process. Some regression tests needed rebuilding. Code splints clean.
* Fix a paste-o that made its way into many LOG_DATA format strings.Eric S. Raymond2009-10-021-3/+3
|
* My bright idea to use timestamp() to set skyview times backfired... Eric S. Raymond2009-10-021-7/+7
| | | | | ...making the regression tests nondeterministic. Oh well. Fixed. All drivers now use the LOG_DATA convention.
* Clear up some driver-level confusion surrounding timestamp setting.Eric S. Raymond2009-10-011-1/+3
| | | | | | | | 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.
* Zodiac driver adapted to do LOG_DATA.Eric S. Raymond2009-10-011-2/+28
|
* In the gpsdata structure, satellites -> satellites_visibleEric S. Raymond2009-10-011-2/+2
| | | | All regression tests pass, code splints clean.
* Fix computation of epx and epy from eph.Eric S. Raymond2009-09-301-1/+1
| | | | | Factor of 1/sqrt(2) has to be applied (on the assumption that epx and epy are equal).
* Refactor the cycle-end tracking. The AIS machinery should use it.Eric S. Raymond2009-09-301-1/+1
| | | | All regression tests pass.
* Rip out most of the old profiling support.Eric S. Raymond2009-09-291-1/+0
| | | | | Replace it with a new, lighter- weight version that can be configured out.
* Fix a very minor bug in Zodiac reporting.Eric S. Raymond2009-09-211-1/+0
|
* Using clear_dop() means we can get rid of instances of several different flags.Eric S. Raymond2009-09-151-1/+1
| | | | All regression tests pass.
* Begin using clear_dop to ensure that gpsd never reports stale DOP values.Eric S. Raymond2009-09-151-0/+1
| | | | All regression tests pass.
* Give DOPs their own structure...Eric S. Raymond2009-09-151-5/+5
| | | | | | ...mainly because there will shortly be code to clear it as a unit. Pure refactoring step; all regression tests pass, splint gives no warnings.