summaryrefslogtreecommitdiff
path: root/driver_sirf.c
Commit message (Collapse)AuthorAgeFilesLines
* Banish some compiler warnings. No behavior changes.Eric S. Raymond2010-04-061-4/+4
|
* Drivers now put their per-packet new data into a session->newdata member.Eric S. Raymond2010-04-051-71/+71
| | | | | | | 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.
* Refactoring step. Change the signature of ecef_to_wgs84fix().Eric S. Raymond2010-04-051-1/+1
| | | | All regression tests pass.
* Fix building with --disable-reconfigurePaulius Zaleckas2010-03-281-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-5/+4
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* One space too far. This fixes the SiRF regressions which just broke.Gary E. Miller2010-01-291-1/+1
|
* All SiRF Message IDs now prefixed with 'MID ' in comments and logging.Gary E. Miller2010-01-291-3/+3
| | | | | | Now it is easier to search on the file. No code changes, except some logging text.
* More tweaks to document SiRF message IDs in a consistent manner.Gary E. Miller2010-01-291-44/+52
| | | | No code changes.
* Document more SiRF message types.Gary E. Miller2010-01-291-15/+22
| | | | No code change.
* Once every few days leap_seconds get set to zero on SiRF. Gary E. Miller2010-01-261-0/+1
| | | | | | Then the reported time is 15 seconds off for a few hours. Try to catch and prevent that.
* Typo fix and some bug diagnosis.Eric S. Raymond2009-12-221-1/+1
|
* Downgrade the SirF "Writing Error" message to a warning... Eric S. Raymond2009-12-181-1/+1
| | | | ...so the output won't be confusing during regression tests.
* More SiRF logging tweaks. Tweaking of messages to send not working.Gary E. Miller2009-12-151-8/+15
|
* Tell SiRF not to send Message ID 30 which we never decode anyway.Gary E. Miller2009-12-151-2/+20
| | | | | For some reason MID 29 and MID 30 keep coming, so this and the last patch are not fully functional.
* Note unused SiRF messages in the logs as they are received.Gary E. Miller2009-12-151-11/+27
| | | | | Turn off unused message type 29 from being sent. It is never used anyway.
* Fix typos in last patch.Gary E. Miller2009-12-091-2/+3
|
* Add a sanity test and some logging...Gary E. Miller2009-12-091-1/+8
| | | | ...to try to find why SiRF gets wrong leap seconds now and then.
* Splint and compiler warning cleanup.Eric S. Raymond2009-12-031-2/+1
| | | | | | | | While we're at it, static variables in drivers are a no-no! That's what the driver union in the device structure is for. Repair driver_ubx.c to use it correctly. All regression tests pass.
* Remove some debugging that gemiller probably doesn't need any more.Eric S. Raymond2009-12-021-2/+0
|
* Further clenaup of SiRF comments.Gary E. Miller2009-12-021-13/+52
| | | | Add skeleton to begin to decode NLMD MID 28.
* Prefix all SiRF driver messages with 'SiRF:" for easy logging.Gary E. Miller2009-12-021-80/+99
| | | | | Add start of Navigation Library Measurement Data MID 28 decode since that has the earliest valid time in a cycle
* More SiRF NMEA->ntpd fudge tweaks.Gary E. Miller2009-12-011-2/+6
|
* Tweak the NMEA->ntpd time fudge for speed.Gary E. Miller2009-12-011-1/+15
|
* Add a warning message, 4800bps may be too slow for SiRF.Gary E. Miller2009-12-011-0/+3
|
* Log SiRF speed changes.Gary E. Miller2009-12-011-0/+2
|
* Tweak SiRF commentGary E. Miller2009-12-011-1/+3
|
* A bit more NTP logging for SiRFGary E. Miller2009-12-011-7/+11
|
* Anotehr SiRF comment tweak.Gary E. Miller2009-12-011-1/+5
|
* Add a SiRF commentGary E. Miller2009-12-011-0/+2
|
* Chris Kuethe points out 8O1 is also valid.Gary E. Miller2009-12-011-1/+1
|
* Fix setting of parity when changing SiRF from bianry to NMEA mode.Gary E. Miller2009-12-011-2/+19
|
* 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.
* Elegant solution to sirf_binary.mode_switcher() extern.Gary E. Miller2009-11-171-1/+1
| | | | Solves warning message.
* Make 'gpsctl -b' work for SiRF binary.Gary E. Miller2009-11-171-3/+10
| | | | | Very ugly, proof of concept. Gimmme another patch or two before cleaning it up.
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-2/+2
| | | | All regression tests pass.
* Whitespace fixes.Eric S. Raymond2009-11-171-2/+2
|
* Ignore SiRF message type 0x04 for OOx purposes.Gary E. Miller2009-11-171-1/+5
| | | | | It is about 1s old and therefore can be confusing to PPS second decoding.
* Time of arrival of SiRF binary messages jumps around too much.Gary E. Miller2009-11-171-10/+16
| | | | | Just take the first time seen in any second, pass that to ntpd, and ignore the rest.
* Make fudge explicit in ntpshm_put(), and log it..Gary E. Miller2009-11-171-5/+5
|
* Improve NTPD logging (and some code) in the ntpd parts of SiRF.Gary E. Miller2009-11-171-28/+53
|
* More tagging of NTPD logs.Gary E. Miller2009-11-161-6/+11
|
* Fix SiRF Switch to NMEA, message ID 129, baud was in the wrong place. Gary E. Miller2009-11-091-3/+6
| | | | Improve comments.
* Splint pacification, part 2.Eric S. Raymond2009-10-261-0/+4
|
* In the wake of the change to use only C99 fixed-length types... Eric S. Raymond2009-10-261-6/+6
| | | | ...splint needs some pacifying. This is part 1. All regressions pass.
* The new instrumentation pays off. Eric S. Raymond2009-10-021-4/+2
| | | | | | | 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-2/+2
| | | | | ...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-7/+7
| | | | | | | | 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.
* Fix altitude interpretation in SiRF binary.Eric S. Raymond2009-10-011-4/+46
| | | | | | | | Well, that was nasty. While adapting the SiRF driver to emit LOG_DATA messages, I found that our interpreter code for MND wasn't setting the altitude mask bit when it should have been. Good thing we caught this before we shipped a version with GND interpretation disabled, or users would never have seen altitude at all!