summaryrefslogtreecommitdiff
path: root/driver_nmea.c
Commit message (Collapse)AuthorAgeFilesLines
* gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...Eric S. Raymond2011-03-311-17/+16
| | | | | ...and guard them with debug level so they won't be done when the output would never be shipped anywhere.
* Magic-number and strncpy elimination. All regression tests passEric S. Raymond2011-03-291-5/+7
|
* Fix scan-build glitches. All regression tests pass.Eric S. Raymond2011-03-281-1/+1
|
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-55/+55
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Make all drivers set the PPSTIME_IS mask where appropriate. It's not yet used.Eric S. Raymond2011-03-231-0/+9
| | | | All regression tests pass.
* Enable GSTs to update time properly.Thomas Sprinkmeier2011-03-081-0/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* expand logging for error condition of too many satellites reportedJon Schlueter2011-03-051-1/+2
| | | | in driver_nmea log how many was reported in the error log
* Dead-code removal. All regression tests pass.Eric S. Raymond2011-03-041-8/+1
|
* 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
|