summaryrefslogtreecommitdiff
path: root/driver_sirf.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Separate ntpd support from chrony support, step 1."Eric S. Raymond2013-10-301-17/+17
| | | | We'll have to sneak up on this change more slowly.
* Separate ntpd support from chrony support, step 1.Eric S. Raymond2013-10-301-17/+17
| | | | | | | | | | | | | ntp_offset becomes time_offset. There is a new config symbol CHRONY_ENABLE; most time service code is npw controlled by TIMESERVICE_ENABLE. The file ntpshm.c becomes timeexport.c This change is not complete. More disentanglement has to be done inside timeexport.c itself; at the moment enabling one but not both of ntpshm or chrony will probably break its compile. The point of getting this commit out is so Gary will see the new baseline code ASAP. All regression tests pass.
* More efficiebt sticky-flagging.Eric S. Raymond2013-10-151-1/+1
|
* OK, visualize as a method was a bad idea. All regression tests pass.Eric S. Raymond2013-10-141-15/+0
|
* Make all hex-dumping truly thread-safe.Eric S. Raymond2013-10-131-1/+3
|
* Second step in the visualization code.Eric S. Raymond2013-10-131-1/+13
|
* Create driver slot and scons option for a visualizer driver method.Eric S. Raymond2013-10-131-0/+3
|
* Change the logic for managing the drive mode bit to report reality...Eric S. Raymond2013-10-041-30/+3
| | | | ...rather than setting it ad-hoc on a per-driver basis.
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-81/+119
| | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-1/+1
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Mapping NMEA-ID (33..64) to SBAS PRN and minor refactoring.Michael Tatarinov2012-10-231-1/+1
| | | | | | This change required a regression-test rebuild. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-7/+7
|
* Remove unnecessary includes of termios.h .ukyg9e5r6k7gubiekd62012-09-071-1/+0
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Refactoring SiRF driver.Michael Tatarinov2011-10-311-127/+139
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* SiRF driver. Fixed bug with setting speed >= 115200 baud.Michael Tatarinov2011-10-171-2/+10
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* In SiRF, don't set the fix timestamp on a MID4.Eric S. Raymond2011-10-091-13/+1
| | | | | | | | Longer collection runs show that this often results in bad timestamps from skyviews not good enough for a fix. There was a comment here explaining that this was a way to pass a timestamp to NTP, but that isn't necessary; if there's a fix, NTP will get notified by the MID2 sentence in each cycle.
* SiRF driver. Bug fix in code to set used flags on SBAS satellites.Michael Tatarinov2011-10-061-2/+4
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Cosmetic consistency tweak.Eric S. Raymond2011-09-211-1/+1
|
* Leapsecond setup needs to be visible.Eric S. Raymond2011-09-211-2/+3
|
* splint revealed some problems with the previous commit.Eric S. Raymond2011-09-181-4/+6
|
* Sort out some issues with PRN handling.Eric S. Raymond2011-09-181-2/+3
| | | | | | | | | Add macros for classifying PRNs into GPS, GLONASS, DGPS. Document the PRN ranges on the gps_json manual page. It turns out that U.S. GPS authorities reserve 1-64 for GPS birds, not just 1-32. So the way we map GLONASS PRNs had to change. This required a regression-test rebuild for the geostar driver.
* Correction for SBAS satellite use bit code.Eric S. Raymond2011-09-181-1/+1
|
* Use SiRF MID27 to set used flags on SBAS satellites.Eric S. Raymond2011-09-171-3/+16
| | | | | | Could fail in a subtle way if MID27 is issued *after* MID04 in the reporting cycle. Also could fail on pre-2005 SiRFs, as they only began documenting MID27 in the 1.7 protocol manual.
* Uniform use of safe_atof(). All regression tests pass.Eric S. Raymond2011-08-271-1/+1
|
* Fix problems with reconfigure=no and netfeed=no builds.Eric S. Raymond2011-08-241-0/+2
|
* Remove gpsd_hexdump_wrapper() from everything outside the packet sniffer.Eric S. Raymond2011-06-171-4/+3
|
* Cut down on gpsd_hexdump_wrapper() calls.Eric S. Raymond2011-06-171-26/+14
| | | | | | | | | | | | | | | This awkward construct seems to have triggered some sort of toolchain bug. The symptom is that gpsd_hexdump_level has different values depending on whether we test it inside or outside of hex.c. As a first step towards eliminating this global, we throw out a bunch of hex logging that is duplicative or not really needed for production drivers. Experimental drivers can call the hex dumper unconditionally. The goal is to reduce the number of uses of this variable to eliminate it withoud doing violence to the internal APIs. This is a first step. All regression tests pass.
* Regularize some names.Eric S. Raymond2011-04-011-18/+18
|
* gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...Eric S. Raymond2011-03-311-8/+6
| | | | | ...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-20/+20
| | | | | | | | | | | 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.
* Fix a glitch in the SiRF driver exposed by the SHM export.Eric S. Raymond2011-03-261-0/+5
| | | | | When we set TINE_IS, we actually have to report time. Required one regression test rebuild.
* Remove unused SiRF constants: TIME_SEEN_GPS_1, etc.Gary E. Miller2011-03-231-12/+0
| | | | No need to set flags that are never used.
* Fix SiRF PPSTIME_ISGary E. Miller2011-03-231-0/+12
|
* SiRF sets PPSTIME_IS when 3 or more sats in view.Gary E. Miller2011-03-231-5/+5
|
* Make all drivers set the PPSTIME_IS mask where appropriate. It's not yet used.Eric S. Raymond2011-03-231-6/+6
| | | | All regression tests pass.
* add a debug message to sirf_msg_navdata to display additional infoJon Schlueter2011-03-221-0/+1
|
* Yet more double->timestamp_t moves.Eric S. Raymond2011-03-101-3/+3
| | | | | | All tests pass. These are didfficult to spot because the compiler actually doesn't care about the distinction btween the source and result type of a typedef.
* Verbosity reduction when context.readonly is off.Eric S. Raymond2011-02-281-9/+14
|
* 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.
* Make the SiRF driver obey context.readonly.Eric S. Raymond2011-02-251-36/+22
| | | | All regression tests and SiRF live-testing pass.
* Typo fix.Eric S. Raymond2011-02-221-1/+1
|
* splint simplification and cleanup.Eric S. Raymond2011-02-041-9/+12
|
* splint cleanup.Eric S. Raymond2011-01-281-1/+1
|
* More sophisticated version extraction for SiRF. All regression tests pass.Eric S. Raymond2011-01-271-1/+4
|
* Refactor time handling yet again. All regression tests pass.Eric S. Raymond2011-01-211-2/+2
|
* Unconditionall enable SiRF's PPS message, and watch for it.Eric S. Raymond2011-01-201-5/+5
| | | | All regression tests pass.
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-0/+1
| | | | All regression tests pass.
* More magic-constant elimination.Eric S. Raymond2011-01-181-10/+1
|
* Refactor time resolution. All regression tests pass.Eric S. Raymond2011-01-171-20/+6
|
* Introduce GPS_TIME_VALID flag for GPS time validation.Eric S. Raymond2011-01-171-0/+2
|