summaryrefslogtreecommitdiff
path: root/drivers.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add code to recover from false lock to Garmin Simple Text mode.Eric S. Raymond2010-06-131-2/+18
| | | | | That is, if we later see NMEA or some other packet type. It's easy to get a false lock from line noise because this format is not checksummed.
* C AIS decoder now has separate contexts for A and B channels.Eric S. Raymond2010-05-091-1/+1
| | | | AIS regression test passes.
* Magic-number elimination.Eric S. Raymond2010-05-071-3/+3
|
* Whitespace and indenting cleanup.Jon Schlueter2010-04-291-5/+5
| | | | | In bits.c gpsd.c gpsd_json.c and several drivers. Regression tests passing.
* Clean up HTML generation, eliminating a FIX-ME.Eric S. Raymond2010-04-271-1/+0
|
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-2/+2
|
* Missing \n in some debug statements.Gary E. Miller2010-04-211-3/+3
| | | | Signed-off-by: Gary E. Miller <gem@rellim.com>
* Scatter GNU indent pragmas to tell it not to do stupid things.Eric S. Raymond2010-04-141-3/+4
| | | | All regression tests pass.
* Reindented the NMEA support. All regression tests pass.Eric S. Raymond2010-04-141-79/+102
|
* Typo fixes and indent pragma tweaks.Eric S. Raymond2010-04-141-2/+4
|
* Appease splint. splint tests are clean.Eric S. Raymond2010-04-141-1/+1
|
* Protect more displayed structures from indent.Eric S. Raymond2010-04-131-2/+26
|
* ubx refactoring, from esrChris Kuethe2010-04-131-7/+2
|
* Give TNT a wakeup hook to but it in run mode and make it report in degrees.Eric S. Raymond2010-04-131-1/+10
|
* TNT gets a speed-change method (untested).Eric S. Raymond2010-04-131-104/+30
|
* Refactor serial ntpshm_put() calls.Eric S. Raymond2010-04-121-8/+42
| | | | | | | | | | | | | | | 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.
* Improve a log message.Eric S. Raymond2010-04-121-1/+1
|
* Deep-six another special case, detect OceanServer via its main packet.Eric S. Raymond2010-04-121-9/+1
| | | | All regression tests pass.
* Remove some dead code and comments. All regression tests pass.Eric S. Raymond2010-04-121-11/+0
|
* Eliminate a grotty special case in the NMEA packtet parser.Eric S. Raymond2010-04-121-14/+11
| | | | | | This change makes it possuble for $PTNTHTM to be both a trigger string for a driver switch and br interpreted by the NMEA driver. Makes both gpsd and gpsmon work with this device type.
* Comment fixes. All regression tests pass.Eric S. Raymond2010-04-121-3/+4
|
* Live monitor_tnt.c, but in a way that breaks gpsd, sigh.Eric S. Raymond2010-04-121-2/+13
| | | | | | The problem is in nmea_parse_input(). Currently we can have recognition of a sentence as a trigger sreing, or we can have NMEA parsing of it, but we can't have both.
* Oops, accidentally committed a version that won't build. Fixing that...Eric S. Raymond2010-04-111-2/+2
|
* Checkpoint first cut an gpsnon support for TNT. Not yet working.Eric S. Raymond2010-04-111-24/+31
| | | | Also, a splint cleanup or two. All regression tests pass.
* move declaration before useChris Kuethe2010-04-101-1/+1
|
* compile with nmea off but sirf and garmintxt onChris Kuethe2010-04-101-4/+1
|
* TNT probe logic for sample mode has to be conditioned out, it's still broken.Eric S. Raymond2010-04-101-3/+6
|
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-7/+7
| | | | | | | | | | | | | | | | | 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.
* Some probes were wrongly conditionalized. Fix this.Eric S. Raymond2010-04-071-3/+5
| | | | | Could only have affected people who tried to subset drivers in some odd ways.
* Fix building with --disable-reconfigurePaulius Zaleckas2010-03-281-10/+5
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Attempt fix for oceanserver support not compiling.Eric S. Raymond2010-03-281-3/+1
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+1
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+5
|
* David Ludlow's housekeeping and type-cleanup patch.Eric S. Raymond2010-01-021-1/+4
| | | | All regression tests pass,
* Cosmetic fix.Eric S. Raymond2009-12-071-0/+6
|
* 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.
* Suppress a warning.Eric S. Raymond2009-11-171-1/+1
|
* Elegant solution to sirf_binary.mode_switcher() extern.Gary E. Miller2009-11-171-3/+3
| | | | Solves warning message.
* Only try to move to SiRF binary from NMEA if...Gary E. Miller2009-11-171-1/+4
| | | | ...we have previously seen a SiRF binary packet on the device.
* Make 'gpsctl -b' work for SiRF binary.Gary E. Miller2009-11-171-1/+16
| | | | | 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.
* Compiler warning suppressions (the MKT3301->MTK3301 change wasn't complete).Eric S. Raymond2009-11-171-1/+2
|
* Make fudge explicit in ntpshm_put(), and log it..Gary E. Miller2009-11-171-1/+1
|
* Splint cleanup.Eric S. Raymond2009-11-161-8/+8
|
* Improvements to core cycle-change logic, and MKT3301 support.Eric S. Raymond2009-11-161-2/+14
| | | | >From Florian Hänel.
* Correct confusion of Garmin NMEA and Garmin Serial binaryGary E. Miller2009-11-151-10/+3
|
* Some packets do not end in \n, so make sure there is on in the log message.Gary E. Miller2009-11-151-1/+3
|
* Fix typo. "MKT" should be "MTK", etc. Prompted by heeen on IRCChris Kuethe2009-11-141-19/+19
|
* Fix driver bugs pointed out by Hakan Johannsen.Eric S. Raymond2009-11-051-1/+1
|
* Grrr..fire the event_identified hook and fix a broken conditional.Eric S. Raymond2009-11-041-1/+1
|