summaryrefslogtreecommitdiff
path: root/driver_sirf.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* A lot of subframes are invalid, only SUBFRAME_IS on good ones.Gary E. Miller2011-01-031-2/+1
|
* Reporting framework for subframes. All regression tests pass.Eric S. Raymond2011-01-031-1/+2
|
* Tweak a SiRF log message.Gary E. Miller2011-01-021-1/+1
|
* Tweak a SiRF log messageGary E. Miller2011-01-021-1/+1
|
* Allow reading of SiRF nav parameters, even if ALLOW_RECONFIGURE not set.Gary E. Miller2011-01-021-6/+2
|
* Even if ALLOW_RECONFIGURE is not set still report SiRF firmware version.Gary E. Miller2011-01-021-5/+5
|
* Message cleanup following gem's notification-level change.Eric S. Raymond2010-12-301-3/+2
|
* Warn users if their SiRF link is too slow.Gary E. Miller2010-12-291-3/+7
| | | | | This warning probably needs to be given for all GPS types, depending on the link. As we have seen, even USB can be running at only 4800bps.
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-38/+38
| | | | | | 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.
* Be explicit about the type and signedness of subframe data.Eric S. Raymond2010-12-241-2/+3
|
* Revert SUB test for seeing if a SiRF is fast engough to send subframes.Gary E. Miller2010-12-231-4/+4
| | | | | | | | Some USB GPS, like the BU-353, are setup using a brain damaged RS-232 to USB converter scheme that is too slow to pass full messages. Until we can find a way to identify the crippled units we have to disable subframes on must USB SiRF.
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-0/+3
|