summaryrefslogtreecommitdiff
path: root/driver_nmea0183.c
Commit message (Collapse)AuthorAgeFilesLines
* Parse iSync $PTNTA oscillator status packetsMichael Brown2016-02-091-0/+58
| | | | Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
* Disable SV-field-count sanity checking if it can't be done right.Eric S. Raymond2016-01-051-5/+14
|
* Fix a confusing comment.Eric S. Raymond2016-01-051-2/+3
|
* Address Savannah bug #46082 - Can't explicitly build with NMEA drivers.Eric S. Raymond2015-10-011-2/+2
|
* Allow NMEA 4.1 GSVs in the NMEA0183 driver.Eric S. Raymond2015-06-011-1/+8
|
* Revert "Fix nmea0183 v4.1 problem in processGSV()."Eric S. Raymond2015-05-311-1/+1
| | | | | | | | This change breaks regression tests ansd is uneccessary. Because of the guard "if (session->fixcnt <= PPS_MIN_FIXES): in timehint.c, time hints won't be shipped until fixes have been seen. With this fix, regression tests pass again.
* Fix nmea0183 v4.1 problem in processGSV().Reinhard Arlt2015-05-301-1/+1
|
* Various attempted clarifications about satellite IDs.Eric S. Raymond2015-04-071-6/+2
|
* Document assumptions about NMEA satellite IDs and PRNs more thoroughly.Eric S. Raymond2015-04-071-2/+2
|
* Note some conflict about PRNs.Eric S. Raymond2015-04-071-0/+4
| | | | | | gps.h says one thung, the NMEA0183 driver another. Needs investigation. All regression tests pass (significant after Sanjeev's recent changes).
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-7/+0
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* An ACK is no warning, so they can be logged with LOG_DATA.Beat Bolli2015-03-231-1/+1
|
* Comment PMTK324Gary E. Miller2015-03-201-0/+2
|
* Fix PMTK Version sentence.Gary E. Miller2015-03-201-0/+2
|
* PMTK was not being decoded.Gary E. Miller2015-03-201-0/+4
|
* Reorder PMTK packet order. Me being OCD and numerical.Gary E. Miller2015-03-201-20/+20
|
* Process GPTXT, GNTXT messages from u-blox.Gary E. Miller2015-03-181-8/+77
| | | | | | No output change, just send text contents to stderr on LOG_WARN. scons check passes
* Alpha sort NMEA 0183 sentence displatch array.Gary E. Miller2015-03-181-13/+13
| | | | Now I can find things and satisfy my OCD.
* Add commment that NEO-M8N uses GPGSV and GLGSV together.Gary E. Miller2015-03-181-4/+6
|
* 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
|