summaryrefslogtreecommitdiff
path: root/driver_sirf.c
Commit message (Collapse)AuthorAgeFilesLines
* revert last commit. the top two bits are usefulChris Kuethe2010-04-171-1/+1
|
* Mask to accept only the 30 bits we wantChris Kuethe2010-04-171-2/+1
|
* Tests by Chris Keuthe show that itrax has the same 50BPS issues asGary E. Miller2010-04-161-47/+2
| | | | | SiRF had. ubx probably the same. So pulled the 50BPS parity checking into a common subroutine for common use.
* Doc update and reindent.Eric S. Raymond2010-04-161-6/+6
| | | | All regression tests pass. Codebase splints and cppchecks clean.
* remove word-specific parity checksChris Kuethe2010-04-141-54/+4
| | | | we're using the generic isgps_parity() function now.
* driver_sirf.c 50BPS parity check seems to work. No wonder there areGary E. Miller2010-04-141-7/+36
| | | | so many parity bits, the data stream is a mess.
* Try to use isgps_parity() from isgps.c, but not quite right yet.Gary E. Miller2010-04-141-5/+13
|
* Scatter GNU indent pragmas to tell it not to do stupid things.Eric S. Raymond2010-04-141-2/+3
| | | | All regression tests pass.
* Lovely. GNU indent isn't idempotent after the first reindent.Eric S. Raymond2010-04-141-5/+5
|
* Reindented SiRF driver and subframe code. All regression tests pass.Eric S. Raymond2010-04-141-452/+502
|
* Whoops, went one step to far. Gary E. Miller2010-04-141-3/+6
| | | | restore proper words[0] in 50BPS message of SiRF.
* Another baby step to a clean 50BPS message in driver_sirf.cGary E. Miller2010-04-141-22/+23
|
* Tweak the 50BPS inversion algorith.Gary E. Miller2010-04-141-12/+9
|
* thrashing at the 50bps decoder.Chris Kuethe2010-04-141-32/+39
| | | | committed so gary can play too.
* Protect more displayed structures from indent.Eric S. Raymond2010-04-131-0/+2
|
* Fix more bitrot.Eric S. Raymond2010-04-131-4/+4
|
* Fix some bitrot in an unused function that was confusing indent.Eric S. Raymond2010-04-131-1/+1
|
* In driver_sirf set the TIME_IS flag when appropriate.Gary E. Miller2010-04-131-4/+7
|
* In driver_sirf.c 50BPS Get the check for 'must be zero' bits right.Gary E. Miller2010-04-131-13/+16
|
* In driver_sirf.c 50BPS decode add a check for 'must be zero' bits.Gary E. Miller2010-04-131-0/+15
|
* Another driver_sirf 50BPS message comment tweakGary E. Miller2010-04-131-6/+10
|
* Brain fart. revert the SiRF complement test in 50BPSGary E. Miller2010-04-131-5/+4
|
* Stopped one bit short on the Complement bit check.Gary E. Miller2010-04-131-1/+1
|
* More helpful comments on SiRF 50BOS data... Gary E. Miller2010-04-131-3/+9
| | | | | ...and tighten the check for valid preamble a bit by also checking the complement bit.
* Yet another comment tweak on the 50BPS dataGary E. Miller2010-04-121-4/+7
|
* Refactor serial ntpshm_put() calls.Eric S. Raymond2010-04-121-38/+49
| | | | | | | | | | | | | | | 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.
* Tweak SiRF nav Data commentsroot (none)2010-04-121-1/+4
|
* Something odd happening in the SiRF 50BPS data decode.root (none)2010-04-121-1/+4
| | | | | Need to check parity to avoid known lep second errors. Added a debug message.
* don't set error bit if subframe doesn't parseChris Kuethe2010-04-111-1/+1
| | | | it's not worth throwing an error
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-18/+18
| | | | | | | | | | | | | | | | | 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.
* 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
|