summaryrefslogtreecommitdiff
path: root/subframe.c
Commit message (Collapse)AuthorAgeFilesLines
* 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