summaryrefslogtreecommitdiff
path: root/subframe.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Subframe 5, page 25 is now decoded.Gary E. Miller2010-12-181-21/+64
| | | | This page contains the health status for the first 24 sats.
* Almanac data in subframes 4 and 5 is now decoded to the logs.Gary E. Miller2010-12-181-125/+199
| | | | | The miscellaneous stuff in subframes 4 and 5 still needs a lot of work. None of this is validated.
* Tweak to the subframe log format.Gary E. Miller2010-12-181-1/+1
|
* Subframe 3 is now fully decoded to the logs.Gary E. Miller2010-12-181-10/+22
| | | | | | | | | | Each Sat sends it own ephemeris data on subframes 1, 2 and 3. This completes the decode of that ephemeris. Yet to do is decode the reduced ephemeris data that each Sat sends about the other sats which is in Subframes 4 and 5. And of course, none of this has been validated.
* All of subframe 2 data now decoded to logs.Gary E. Miller2010-12-181-9/+25
| | | | Like the rest of the subframe data, it could be horribly wrong.
* Subframe 1 data is now completely decoded to log output.Gary E. Miller2010-12-181-12/+25
| | | | | | Of course since I have no way to test the data it could just be all garbage. Since the TOW, and IODE seem to increment at least something is right.
* TOW is really TOW17 (truncated TOW)Gary E. Miller2010-12-181-4/+4
|
* The 64 bit header on all subframes is now decoded.Gary E. Miller2010-12-181-7/+13
| | | | Except, or course, for the military secret 'TLM Message'.
* More logging tweaks to subframe decoder.Gary E. Miller2010-12-181-2/+3
| | | | | Most GPS pass a large percentage of obviously bad data, so only log at LOG_IO.
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2010-12-151-3/+3
|
* And yet anopther try at counting 50bps parameters.Gary E. Miller2010-12-131-1/+1
|
* Fix the formatting of some 50bps data messages.Gary E. Miller2010-12-131-3/+3
| | | | Much more to come.
* Decode a tad more 50bps data.Gary E. Miller2010-12-121-5/+10
|
* Decode a bunch of 50bps data, output to the log.Gary E. Miller2010-12-121-7/+45
| | | | | | I have no idea if this decode is valid, but it sorta feels like it is in the right direction. Anyone that know what the 50bps data should look like please comment.
* whitespaceChris Kuethe2010-12-111-11/+11
|
* Subframe decoder will need PRNChris Kuethe2010-12-111-5/+5
|
* Further cleanup of logging of 50bps data.Gary E. Miller2010-12-111-5/+11
|
* Improve comments on the 50bps data.Gary E. Miller2010-12-111-0/+62
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-1/+0
|
* Reindent. All regression tests pass.Eric S. Raymond2010-04-261-16/+17
| | | | | Most of the bulk of this one is the xgpsspeed code, which was not formerly incldecd in reindenting.
* Splint and cppcheck cleanup. All regression tests pass.Eric S. Raymond2010-04-201-2/+2
|
* unused variables that may get used soonChris Kuethe2010-04-181-1/+1
|
* can't use generic word handler on words[0]Chris Kuethe2010-04-181-3/+2
| | | | | special-case the preamble check, undo inversion and shift data bits. the rest of the words can be properly parity checked.
* change word dumps to LOG_IOChris Kuethe2010-04-171-2/+2
|
* STFU, stupid git.Chris Kuethe2010-04-171-1/+3
|
* Merge branch 'master' of ssh://git.berlios.de/gitroot/gpsdChris Kuethe2010-04-171-3/+1
|\ | | | | | | | | Conflicts: subframe.c
| * Tweak the order of subframe checks.to do the preamble check first.Gary E. Miller2010-04-171-6/+5
| | | | | | | | | | No need to do the painful and confusing hamming code checks if the preamble is flat wrong.
* | more decoder hacking. appears to work with sirfChris Kuethe2010-04-171-16/+17
| |
* | Roto-till the subframe processor.Chris Kuethe2010-04-171-47/+60
|/ | | | | | | - whitespace cleanups - documentation cleanups - attempt to make frame processing more generic - add a consistent "50B" prefix to debug messages
* Tests by Chris Keuthe show that itrax has the same 50BPS issues asGary E. Miller2010-04-161-0/+55
| | | | | SiRF had. ubx probably the same. So pulled the 50BPS parity checking into a common subroutine for common use.
* Grab the GPS Week (WN) from subframe 1 of the 50B data.Gary E. Miller2010-04-161-68/+76
|
* Inform when leap second change coming.Gary E. Miller2010-04-161-3/+6
|
* !st cut at handling leap second transitions more accurately.Gary E. Miller2010-04-161-31/+11
|
* a bit of eyecandyChris Kuethe2010-04-141-6/+2
| | | | | don't reprint the NAV message after stripping the HOW and TLM words add the "50B" prefix to leapsecond info lines
* easier to trace the generic subframe decoderChris Kuethe2010-04-141-4/+4
|
* Lovely. GNU indent isn't idempotent after the first reindent.Eric S. Raymond2010-04-141-2/+5
|
* Reindented SiRF driver and subframe code. All regression tests pass.Eric S. Raymond2010-04-141-14/+20
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+7
|
* Once every few days leap_seconds get set to zero on SiRF. Gary E. Miller2010-01-261-2/+11
| | | | | | Then the reported time is 15 seconds off for a few hours. Try to catch and prevent that.
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+1
| | | | | | | 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.
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-1/+1
| | | | All regression tests pass.
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-0/+2
|
* italk can do raw subframe output tooChris Kuethe2009-07-091-3/+3
|
* API change: callers of the subframe decoder are now responsible...Chris Kuethe2009-07-091-42/+77
| | | | | | | | | | | ...for doing their own parity and inversion checks. Most chipsets do this already so it's not an onerous burden on driver writers. It has to be on a per-driver basis because of the inconsistent format each protocol gives us. Fix some comments. Decode gps system message too.
* Define uniform log level macros.Eric S. Raymond2006-11-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | This patch defines a uniform set of log levels and changes all gpsd_report() instances to use them. In most cases (I'd say about 80%) this will make no observable difference, as the numeric log levels the code was using were not too badly inconsistent anyway. The new log level macros are defined and described in gpsd.h. The main thing I wanted was to be able to consistently force dumping of all I/O to devices and clients with -D 4. Some drivers didn't honor this. One or two still may not through lack of an internal write() wrapper that does logging; there will need to be some followup changes. Level 0 messages are always displayed, but to make the semantics clearer there are two defines LOG_ERR and LOG_SHOUT. Level 5 is still super-raw I/O reporting. Level 6 and 7 messages are tagged RAW_LOG+1 and RAW_LOG+2; I was particularly careful about these because we have one report of a user who is getting good results from Garmin serial only at -D 7 or up, and perish forbid I should interfere with that bug being found.
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-0/+2
| | | | | | ...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-0/+1
| | | | First line where possible, second line for scripts called with #!
* Remove unnecessary inclusions.Eric S. Raymond2006-09-091-12/+0
|
* Factor core library to reduce footprint when SiRF isn't compiled in.Eric S. Raymond2006-09-091-0/+117