summaryrefslogtreecommitdiff
path: root/driver_nmea0183.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Stop adding 37 to some GN PRN's.Gary E. Miller2016-04-071-1/+1
| | | | | | | | What could go wrong with code that says this: /* GLONASS GL doesn't seem to do this, but better safe than sorry */ GPGSA prn 21 was becoming prn 58
* GPGSV took a blank as 0 then converted that to a PRNGary E. Miller2016-04-071-3/+9
| | | | | | Skip blanks now. Blank in BDGSV became PRN=200 Blank in GLGSV became PRN=37
* Ooops, two steps forward, one back.Gary E. Miller2016-04-071-1/+4
| | | | | satellites_visible is used as a counter by xxGSV. so setting in from xxGGA beaks some regressions.
* GGA is sats visible, not sats used.Gary E. Miller2016-04-071-1/+1
| | | | | This was messing up xxGSA which uses satellites_used as a counter and index into sats_used.
* @ Skytraq tweaks: Add a probe, detect RTK.Gary E. Miller2016-04-071-6/+22
| | | | | A normal probe fails, and is not needed since we can wait for PSTI. Update mode detection in processGLL() to handle 'F', 'R' and 'S' modes.
* Use the data from Skytraq PSTI,030 sentence.Gary E. Miller2016-04-051-17/+110
| | | | | This duplicates, but improves on the accuracy of GPVTG. Also add a bit on PSTI,001 and PSTI,032
* Improve GNGSA handling, add rx210.log which shows the problem.Gary E. Miller2016-04-051-3/+22
| | | | | GNGSA's almost always come in pairs, and never with any other flavor of xxGSA.
* Cleanup: atof() -> safe_atof()Gary E. Miller2016-04-051-2/+2
|
* Tweak last $PSTI update.Gary E. Miller2016-04-041-2/+2
| | | | Fix a comment, clean up a log output.
* Decode more of Skytraq $PSTIGary E. Miller2016-04-041-8/+40
| | | | | Decode $PSTI,030 and $PSTI,032 to log out Not used in session_t yet.
* GPGST time was always 1970-01-03Txxxx. Fixed.Gary E. Miller2016-03-301-1/+7
| | | | | | | The time in the packet was seconds in the day. It needed to be merged with the known date. rergressions updated. The chk files clearly show it is better now.
* Fix GPGSA/BDGSA processing so they combine.Gary E. Miller2016-03-301-6/+33
| | | | | | | | The combine code stolen from the GPGSV/BDGSV combining code. Just 2 regressions changed. No surprise since Beidu rarely seen in the USA. I eyeballed the changes in the chk files and they look good.
* Improve a comment.Eric S. Raymond2016-03-301-1/+5
|
* Improve a comment explaining multiple sat views.Eric S. Raymond2016-03-301-7/+8
|
* Improve comment on GPGSA/BDGSA problem.Gary E. Miller2016-03-291-2/+7
|
* Add note about GPGSV/BPGSV not ccombing properly.Gary E. Miller2016-03-291-0/+9
| | | | And example of the failure in test/daemon/skytrack-fixB.log.chk
* Skytraq GPGST time has 3 digits past decimal.Gary E. Miller2016-03-281-2/+2
|
* Comment in the code the accuracy needed for cm level lat/lon.Gary E. Miller2016-03-281-1/+10
|
* $PSTI means we have subtype Skytraq.Gary E. Miller2016-03-281-0/+3
|
* Add stub to decode Skytraq $PSTI sentence.Gary E. Miller2016-03-281-3/+42
| | | | I'm still looking for good documentation of what is in that sentence.
* 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.