summaryrefslogtreecommitdiff
path: root/driver_tsip.c
Commit message (Collapse)AuthorAgeFilesLines
* Scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-281-2/+4
|
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-30/+30
| | | | | | | | | | | 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-8/+10
| | | | All regression tests pass.
* spellchecking in driver_tsip/geostarJon Schlueter2011-03-051-4/+4
|
* Verbosity suppression. All regression tests pass.Eric S. Raymond2011-02-281-0/+2
|
* splint simplification and cleanup.Eric S. Raymond2011-02-041-13/+13
|
* splint cleanupEric S. Raymond2011-02-031-2/+2
|
* Partial splint and warning cleanup. All regression tests pass.Eric S. Raymond2011-02-031-2/+2
|
* Refactor time handling yet again. All regression tests pass.Eric S. Raymond2011-01-211-7/+7
|
* Add some suitable warning comments.Eric S. Raymond2011-01-211-0/+5
|
* All the messy gpstime conversion stuff isin timebase.c now.Eric S. Raymond2011-01-201-47/+16
| | | | All regression tests pass.
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-1/+2
| | | | All regression tests pass.
* splint cleanup. All regression tests pass.Eric S. Raymond2011-01-181-2/+2
|
* Introduce GPS_TIME_VALID flag for GPS time validation.Eric S. Raymond2011-01-171-2/+6
|
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-27/+27
| | | | | | 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 audting with a new version of deheader.Eric S. Raymond2010-12-221-1/+3
|
* Correct a previous commit changing <time.h> to <sys/time.h> eceywhere.Eric S. Raymond2010-12-211-1/+1
| | | | <sys/time.h> is needed for select(2).
* Use <time.h> a la SuS, rather than <sys/time.h>, for select(2) etc.Eric S. Raymond2010-12-211-1/+1
|
* Insert GPS week rollover checks everywhere we rely on GPS time.Eric S. Raymond2010-12-201-2/+7
| | | | All regression tests pass.
* For simplification on SuS assumptions.Eric S. Raymond2010-12-131-8/+1
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-2/+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.
* XXX -> FIX-ME: Avoids false matches with autoconf cruft.Eric S. Raymond2010-05-121-2/+2
| | | | | | | So we can grep for things that need to be cleaned up without a lot of noise. All regression tests pass.
* Minor TSIP fix by Joe Davidson.Eric S. Raymond2010-05-081-2/+2
|
* splint cleanup.Eric S. Raymond2010-05-081-0/+1
|
* Improved decoding for Supplemental Timing Packet.Eric S. Raymond2010-05-031-0/+25
| | | | >From a suggestion by Joe Davidson. All regression tests pass.
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-3/+3
|
* Reindent. All regression tests pass.Eric S. Raymond2010-04-261-12/+14
| | | | | 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-4/+4
|
* Eliminate a lot of private copies of gps_tow for one global copy inGary E. Miller2010-04-181-8/+19
| | | | sesion->context.
* Smoke out more private copies of gps_week and move into session->context. Gary E. Miller2010-04-181-1/+3
| | | | Prepare to do the same for Time of Week (tow).
* Collapse various copies of gps_week into one in gps_contxt_t.Gary E. Miller2010-04-161-9/+9
|
* Reindented more driver code. All regression tests pass.Eric S. Raymond2010-04-141-419/+441
|
* Protect more displayed structures from indent.Eric S. Raymond2010-04-131-0/+2
|
* Cosmetic glitches found while testing reindenting.Eric S. Raymond2010-04-131-1/+1
|
* Refactor serial ntpshm_put() calls.Eric S. Raymond2010-04-121-10/+13
| | | | | | | | | | | | | | | 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-19/+19
| | | | | | | | | | | | | | | | | 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.
* only update this timer when polling tracking statusChris Kuethe2010-04-081-1/+0
|
* Drivers now put their per-packet new data into a session->newdata member.Eric S. Raymond2010-04-051-88/+88
| | | | | | | 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.
* Fix building with --disable-controlsendPaulius Zaleckas2010-03-291-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Fix building with --disable-reconfigurePaulius Zaleckas2010-03-281-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Teach the TSIP driver to flip to SiRF mode when it sees a SiRF packet.Eric S. Raymond2010-03-171-0/+13
| | | | | | | mrd reported that once every couple of weeks his SiRF was flipping into Trimble binary mode and not recovering. Damn Trimble for not checksumming their packets, it make palse positives hard to reject. This should enable the SiRF to recover.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-4/+3
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* Mac OS X cleanup passes from mledford.Eric S. Raymond2009-11-191-1/+1
|
* splint cleanup.Eric S. Raymond2009-11-191-3/+8
|
* these speed switches are no longer necessary; tsip can probe for parityChris Kuethe2009-11-191-2/+3
|
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-1/+1
| | | | All regression tests pass.