summaryrefslogtreecommitdiff
path: root/driver_nmea0183.c
Commit message (Collapse)AuthorAgeFilesLines
* Document that Ashtech ans OXYS both use $PASHR in incompatible ways.Gary E. Miller2015-03-101-0/+12
| | | | No code changes, just a comment.
* gpsd-report() -> gpsd_log()Eric S. Raymond2015-03-071-170/+170
| | | | | | | | | | | | | | | | This change is done so we can add a "log" hook to the pps_thread_t structure (this is not done yet) and harmonize with the name of the outer logging function. If that name had been left as gpsd_report() there would have been scope for bad confusion with the report_hook member. Also, remove two stray duplicative printf calls from the NMEA2000 driver (drivers shouldn't have printfs!) and fix one typo. This is a step towards factoring out ntplib. For that to happen, the PPS thread code needs to be decoupled from the core session structure. No logic changes. Object compatibility preserved. All regression tests pass.
* solint cleanup.Eric S. Raymond2015-03-021-1/+1
|
* Code to accommodate alternat Beidou talker ID of $GB. Also, add a test for it.Eric S. Raymond2015-03-021-0/+2
| | | | All regression tests pass.
* Full support for Beido and QZSS constellations in NMEA0183 skyviews.Eric S. Raymond2015-02-281-12/+65
| | | | | All regression tests pass. Required one test rebuild for QZNSS; Beidou test added.
* Improved comment. No code changes.Eric S. Raymond2015-02-151-3/+4
|
* Easy splint cleanups. All regression tests pass.Eric S. Raymond2015-01-211-11/+11
|
* Add str_starts_with macro, use it instead of strncmp.Zbigniew Chyla2015-01-211-1/+2
| | | | This change doesn't affect generated binary code.
* Always use sizeof to get array sizeZbigniew Chyla2015-01-131-1/+1
| | | | | | Don't use constant/expression from an array's definition when referring to its size. Eliminates redundancy and avoids problems when array size changes. The change doesn't affect generated code.
* Almost entirely eliminate use of sats_used array.Eric S. Raymond2015-01-101-3/+3
| | | | | | | Instead, set the used member in the satellites array directly where possible. The NMEA0183 and TSIP drivers still need a local equivalent. This changes pseudo-NMEA GSA output in several binary-protocol tests.
* Refactor representation of satellite data into an array of structs...Eric S. Raymond2014-09-221-27/+32
| | | | | | | | | | | | | | | | | | ...from a set of parallel arrays. This change flushed out a longstanding bug in the computation of DOPs for estimated error bars. Some test-load rebuilds were required: geostar-geos1m-binary.log.chk: With this change error estimates are computed and reported. trimble-lassen_iq-3dfix.log, trimble-lassen_iq-3dfix.log: the change revealed a bug in the computation of satellite-seen bits. Error estimates did not change. navcom.log: Error estimates changed. With these rebuilds, all regression tests pass.
* A bug fix for error modeling when NMEA 0183 reports empty DOP fields.Eric S. Raymond2014-09-191-3/+6
| | | | Required 13 regression-test rebuilds.
* Now that the transition is done we can restore the gpsd_report name.Eric S. Raymond2014-08-271-46/+46
| | | | All regression tests pass.
* The big leap. Most instances of gpsd_report are replaced...Eric S. Raymond2014-08-271-46/+46
| | | | | | | | | | | | | | | | ...with calls to gps_notify(), which indirects to its output method through a slot in an errout structure. Usually the errout structure lives inside the session context, but because struct errout_t is its own thing this does not have to be the case. One large clique of gpsd_notify() calls, in packet.c and isgps.c, looks at a struct errout_t copy in a lexer control block This change is not complete. Remnant gpsd_report calls need to be changed, and gpsmon needs to be tweaked so that the struct_error_t in its context is a non-defaukt hook updating the cuses display rather than simply dumping to stderr. Also the report label functionality needs to be added. All regression tests pass.
* Introduce struct errout_t to encapsulate error-reporting hooks.Eric S. Raymond2014-08-271-46/+46
| | | | | | A major step towards eliminating reverse linkage. All regression tests pass.
* GNSS and GLOSS SKY reoport are now mergedEric S. Raymond2014-08-261-2/+11
| | | | | Fixes Savannah bug #42407: wrong interpretation of NMEA messages for mixed GPS/GLONASS recievers.
* Accumulate GNSS+GLONASS satelite reports.Eric S. Raymond2014-08-251-2/+15
| | | | | This isn't ideal. Wgen a GPS emits both we get two SKY reports per cycle, with the second one cumulative.
* Change names in nmea0183 driver to make them GNSS/GLONASS agnostic.Eric S. Raymond2014-08-251-16/+16
| | | | All regression tests pass.
* Recreare the driver union, curtting per-device storage requirements.Eric S. Raymond2014-08-241-82/+82
| | | | | | | This time, the NMEA privarte storage is outside the union, so mode-switching won't step on stuff. All regression tests pass.
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-3/+0
| | | | | | | Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
* More refactoring of century handling.Eric S. Raymond2013-11-271-4/+2
|
* Refactor NMEA0183 century handling.Eric S. Raymond2013-11-271-22/+1
| | | | | | | No logic changes. All regression tests pass. The real point here is to get all the code for time-related edge cases into timebase.c so it can be reviewed as a unit.
* Derive new CENTURY_VALID flag in context. Not used yet. No logic changes.Eric S. Raymond2013-11-271-0/+2
|
* More consistent ise of LOG_PROG.Eric S. Raymond2013-11-121-1/+2
| | | | This logging level is intended to directly explain accompanying I/O messages.
* Fix more build breakage. Partial splint cleanup.Eric S. Raymond2013-11-121-1/+1
|
* uBlox -> u-blox; the company does not biicapitalize its name.Eric S. Raymond2013-11-091-1/+1
|
* More clarification.Eric S. Raymond2013-11-081-1/+3
|
* Configure and explain pulse width black magic.Eric S. Raymond2013-11-081-3/+44
|
* Partial code for setting MTK pulse width to a good value.Eric S. Raymond2013-11-081-1/+9
| | | | More is needed near driver_nmea0183.c:1108.
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-1/+2
|
* Remove a redundant test, and explain the redundancy.Eric S. Raymond2013-10-251-7/+5
|
* Compiler warning cleanup.Eric S. Raymond2013-10-121-6/+6
|
* Move the MTK extension parset to where it belongs in the NMEA 0183 driver.Eric S. Raymond2013-10-111-0/+43
|
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-49/+73
| | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
* Additional checking isn't required.Michael Tatarinov2012-10-241-6/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Mapping NMEA-ID (33..64) to SBAS PRN and minor refactoring.Michael Tatarinov2012-10-231-0/+8
| | | | | | This change required a regression-test rebuild. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-16/+16
|
* More cppcheck warning fixups. All regression tests pass.Eric S. Raymond2012-05-181-1/+3
|
* Fix a cppcheck warning about possible field overflows.Eric S. Raymond2012-05-181-3/+3
| | | | All regression tests pass.
* Add missing attitude field initialisation in NMEA HDTChristian Gagneraud2012-05-011-0/+2
| | | | | Signed-off-by: Christian Gagneraud <chgans@gna.org> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Add missing attitude field initialisation in NMEA TNTHTMChristian Gagneraud2012-04-211-0/+2
| | | | | | | Depth and Temperature are not initialised, causing the JSON output to report a zero value instead of not reporting them at all Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Beginning of NMEA200 driver. Franework code, nowhere near working.Eric S. Raymond2012-04-151-0/+1349