summaryrefslogtreecommitdiff
path: root/driver_nmea.c
Commit message (Collapse)AuthorAgeFilesLines
* add return codes when parsing partial GSV packetsJon Schlueter2011-02-221-5/+5
| | | | | was seeing unrecognized sentence on the first 2 of the 3 GSV sentences investigated and fount it was returning 0 instead of ONLINE_IS where appropiate
* spelling error in comment for driver_nmeaJon Schlueter2011-02-221-1/+1
|
* Simplify year computation in NMEA. There are no out-of-bound years.Eric S. Raymond2011-02-221-17/+11
| | | | All regression tests pass.
* More uniform error messages. All regression tests pass.Eric S. Raymond2011-02-221-6/+7
|
* Partial splint and warning cleanup. All regression tests pass.Eric S. Raymond2011-02-031-1/+1
|
* More name changes related to GST.Eric S. Raymond2011-02-011-16/+16
| | | | All regression tests pass.
* Change Noise sentence to use ISO8601 timestamp.Eric S. Raymond2011-02-011-2/+2
|
* Process GPGST into noise statistics. All regression tests pass.Thomas Sprinkmeier2011-02-011-0/+47
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Comment fixup.Eric S. Raymond2011-01-211-5/+6
|
* Compensate for century rollover in NMEA.Eric S. Raymond2011-01-211-5/+7
| | | | | | Contains the hidden assumption that dates to be merged will always be presented in monotonically increasing order. If this ever fails to be the case near a century turnover, you're screwed.
* Yet more time refactoring. All regression tests pass.Eric S. Raymond2011-01-211-1/+11
| | | | Tricky surgery in progess, that's why I'm doing lots of small commits.
* Refactor time handling yet again. All regression tests pass.Eric S. Raymond2011-01-211-14/+1
|
* Rollover checking for NMEA.Eric S. Raymond2011-01-171-0/+2
|
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Fix typo in comment.Gary E. Miller2011-01-111-1/+1
|
* Pretty-print the nearest timestamp.Beat Bolli2011-01-051-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Add some instrumentation for Roger Oberholzer.Eric S. Raymond2011-01-041-1/+2
|
* Detect non-advancing GGA timestamps and latch mode to 1 when this happens.Eric S. Raymond2010-12-261-0/+22
| | | | | Copes better with the Placer 450. Exposes some dodgy reporting on various unusual NMEA devices.
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-4/+2
|
* Be more explicit about an assumption. All regression tests pass.Eric S. Raymond2010-12-201-5/+2
|
* Detect GPS week rollover in ZDA sentences. All regression tests pass.Eric S. Raymond2010-12-191-23/+21
|
* Update context century from a greater ZDA century; handles century rollovers.Eric S. Raymond2010-12-191-1/+23
| | | | All regression tests pass.
* Use the century slot in the context structure.Eric S. Raymond2010-12-191-1/+1
| | | | | | Duh. I previously implemented it and iniitialized it prperly, then forgot to actually use it instead of CENTURY_BASE. Soon this will matter because I'm going to implement some heuristics for limited trust in the system clock.
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-4/+0
|
* Add some more error logging for GPGSV. Gary E. Miller2010-10-261-0/+3
| | | | Sats still not showing for HP 58534A GPS.
* GPZDA reported broken by aquarat, and others.Gary E. Miller2010-10-261-1/+1
| | | | | | | | Been broken since before git. nmea_parse() was expecting 7 fields when their are only 6. Since we only use the first 4 fields that is the new minimum. This seems to break one regression test, but appears to be a valid fix.
* Add some sanity checking when getting dates from NMEA.Gary E. Miller2010-06-291-10/+34
|
* Avoid returning a random validity mask. All regression tests pass.Eric S. Raymond2010-06-141-2/+1
|
* Remove error returns that could lead to spuriors device hangups.Eric S. Raymond2010-06-141-5/+4
|
* Make packet sniffer pass packets with bad checksums with type BAD_PACKET.Eric S. Raymond2010-05-081-4/+4
| | | | | | | | Such packets used to be truncated to zero length with the packet type matched before the checksum was bad. This caused confusion at various points in the code that were checking for zero-length packets. All regression tests pass, both in pty and UDP modes.
* Whitespace and indenting cleanup.Jon Schlueter2010-04-291-15/+15
| | | | | In bits.c gpsd.c gpsd_json.c and several drivers. Regression tests passing.
* Address Berlios tracker bug #17098: wrong day of week in log message.Eric S. Raymond2010-04-271-2/+8
| | | | | | Day-of-week reported in a LOG_DATA message was wrong except on Sundays. Simplest fix is not to use asctime(3), which becomes confused it the tm_wday member is not set.
* Remove another obsolete FIX-ME.Eric S. Raymond2010-04-261-1/+0
|
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-1/+1
|
* Remove obsolete FIXME.Eric S. Raymond2010-04-251-1/+0
|
* Clear DOPs only when we get a skyview report.Eric S. Raymond2010-04-201-2/+0
| | | | | | | | | | | | | | | This solves the disappearing epx/epy bug on SiRFs, but it was actually a systemic problem that affected several drivers. Navigation solution messages were clearing DOPs, making it impossible for the error modeller to compute estimates. New logic: Clear DOPs only when we get a skyview report. They'll be regenerated by our visibility-matrix calculation when the skyview sentence is analyzed. If a sentence from the device supplies a DOP between the time the visibility calculation is done and when the next fix is reported, it will override our computed value. This might change later! This change required a regression-test rebuild.
* remove unused nmea checksum calculatorChris Kuethe2010-04-181-16/+0
|
* Reindented the NMEA support. All regression tests pass.Eric S. Raymond2010-04-141-348/+383
|
* Comment improvements.Eric S. Raymond2010-04-131-1/+5
|
* Checkpoint first cut an gpsnon support for TNT. Not yet working.Eric S. Raymond2010-04-111-1/+1
| | | | Also, a splint cleanup or two. All regression tests pass.
* Shorten some names for concision, and make C names match JSON names.Eric S. Raymond2010-04-111-18/+18
| | | | All regression tests pass.
* Improve and dicument the JSON report for digital compasses.Eric S. Raymond2010-04-111-21/+16
|
* First cut at JSON output for TNT Revolution device.Eric S. Raymond2010-04-101-17/+21
| | | | | Not yet documented, but now we at least have a regression test. All regression tests pass.
* Building with --enable--oceanserver and --disable-tnt now passes regressions.Eric S. Raymond2010-04-101-26/+26
|
* Fix the broken handling of our two compass device types in the NMEA driver.Eric S. Raymond2010-04-101-41/+46
| | | | | | | | | | | | It could never have worked right because there was no mask flag to tell a caller that the compass data was valid. TNT has been broken for years; why we never got any complaints about the Oceanserver is more of a mystery. Since it was all broken anyway I renamed and cleaned up that substructure in the union. Nothing fills in the "yaw" slots yet with anything but NaN, but it's got pitch and roll, so... All regression tests pass.
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-50/+50
| | | | | | | | | | | | | | | | | 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.
* Fix TNT compilation.Eric S. Raymond2010-04-071-5/+5
|
* Drivers now put their per-packet new data into a session->newdata member.Eric S. Raymond2010-04-051-77/+77
| | | | | | | 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; do_lat_lon() has no need to know about all of struct gpsdata_t.Eric S. Raymond2010-04-051-12/+7
| | | | All regression tests pass.
* Fix Oceanserver build.Eric S. Raymond2010-03-281-11/+11
| | | | Signed-off-by: esr@thyrsus.com