summaryrefslogtreecommitdiff
path: root/monitor_ubx.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix time display of UBX messages.Chris Lawrence2018-06-151-7/+7
| | | | | | | | | This patch fixes an order-of-magnitude error in the interpretation of the GPS time reported by the device (UBX-NAV-SOL) in gpsmon. Verified to work correctly with both a NEO-M8N and NEO-6N in u-blox (binary) mode. Signed-off-by: Gary E. Miller <gem@rellim.com>
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* Add Coverity suppressions for new invariant checks.Eric S. Raymond2016-01-291-0/+1
|
* Make asynchronous updating of PPS windows more reliable.Eric S. Raymond2016-01-041-0/+1
| | | | Generalizes a patch for monitor_ubx.c submitted by by Nuno Gonçalves.
* More trailing whitespace fixups.Gary E. Miller2015-04-301-1/+1
|
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-10/+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.
* Fix a frame-damaging screen glitch in the UBX monitor.Eric S. Raymond2015-03-191-1/+0
|
* TOFF display in the ubx monitor.Eric S. Raymond2015-02-241-3/+15
|
* In gpsmon, refactor so PPS field updates are done by common code.Eric S. Raymond2015-02-241-22/+1
|
* Abolish all confusing uses of the word 'drift' for a time delta.Eric S. Raymond2015-02-231-3/+3
| | | | No logic changes. All regression tesrs pass. Live PPS observed.
* Remove unused and incorrect retval from timespec_strZbigniew Chyla2015-02-151-1/+1
| | | | | | | All callers ignore value returned by timespec_str. Additionally, the function returns simply the result of snprintf(), which is not necessarily the number of chars written to the buffer (if the buffer provided by the caller was too small).
* Widen PPS offset field in the three montors (NMEA, uBlox, SiRF) that report it.Eric S. Raymond2015-02-121-4/+4
| | | | | | | | | | | To accomplish this, I had to shorted "PPS offset:" to "PPS:"; documentation has been adjusted accordingly In the NMEA and uBlox cases this gets us the required 22 characters. The SiRF monitor is four shy of that. The OnCore monitor gets PPS offset in-band and already has fields sised to report that.
* Replace Gary's magic number 22 with TIMESPEC_LEN.Eric S. Raymond2015-02-121-1/+1
| | | | All regression tests pass.
* cppcheck and Coverity cleanup; all regression tests pass.Eric S. Raymond2015-02-091-1/+1
|
* splint cleanup. All regressiion tests pass.Eric S. Raymond2015-02-091-5/+5
|
* Add function timespec_str(), and use it.Gary E. Miller2015-02-051-8/+3
| | | | | Converting a timespec to a printable string is odd, so placed in a new function for ease of use.
* Fix a carry error in TS_SUB()Gary E. Miller2015-02-021-3/+3
| | | | | | TS_SUB getting pretty big. It should probably be a function. Will also need a function to format a timespec as a nice string.
* Fix sign of PPS offset in gpsmon.Gary E. Miller2015-02-021-4/+10
| | | | | In gpsmon client mode the u-blox now exactly matches what I see in ntpq -p.
* Whoops, bad printf formatting. Missing %Gary E. Miller2015-02-021-1/+1
|
* Fix NMEA and UBX PPS precision in gpsmon hardware modeGary E. Miller2015-02-021-3/+12
| | | | | | The math was overflowing if the offset was more than 2 secs. Now display an overrange indicator instead of gibberish
* Comment possible numeric overflow in timespec_diff_ns()Gary E. Miller2015-02-021-0/+1
| | | | | timespec_diff_ns() should not be used is the delta is more than about 2 seconds.
* Structure member name change: packet -> lexer. No logic changes.Eric S. Raymond2014-08-271-1/+1
| | | | All regression tests pass.
* "Not available" is too long and doesn't fit in window.Michael Tatarinov2014-05-201-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Be explicit when PPS is not available because the build used pps=no.Eric S. Raymond2013-11-171-2/+5
|
* Fix a misplaced degree symbol.Eric S. Raymond2013-11-131-1/+1
|
* Rename and rationalize driver table instances. No logic changes.Eric S. Raymond2013-11-121-2/+2
|
* splint cleanup.Eric S. Raymond2013-11-121-3/+5
|
* Fix pps=no build.Eric S. Raymond2013-11-121-0/+4
|
* Fix PPS offset display bug by properly thread-locking some accesses.Eric S. Raymond2013-11-121-2/+8
|
* Full splint cleanup.Eric S. Raymond2013-11-121-0/+4
|
* u-blox name cleanup. All regression tests pass, PPS is live.Eric S. Raymond2013-11-091-1/+1
|
* Minor improvements for the UBX monitor.Eric S. Raymond2013-11-091-1/+5
|
* Get the size of the UBX monitor window right.Eric S. Raymond2013-11-031-1/+1
|
* Show PPS offset in the NMEA monitor.Eric S. Raymond2013-11-031-2/+2
|
* Pretty up the PPS display in gpmon.Eric S. Raymond2013-11-021-4/+15
| | | | | | The idea is to make PPS visually obvious in the packed buffer. Time display should be on the monitor panel with the other derived data. The UBX monitor provides an example of how to do this.
* splint simplification and cleanup.Eric S. Raymond2011-02-041-2/+2
|
* splint cleanup.Eric S. Raymond2011-01-201-6/+6
|
* Further reduce dependencies onm the sytem clock.Eric S. Raymond2011-01-201-7/+13
| | | | All regression tests pass.
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-19/+19
| | | | | | With most machines being 64-bit now, the assumption that "word" = 16 bits and "long" = 32 bits is increasingly archaic. This commit removes it from our naming conventions.
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-0/+1
|
* More header portability auditing by deheader.Eric S. Raymond2010-12-221-3/+0
|
* Still more simplification of configuration and header handling.Eric S. Raymond2010-12-141-8/+0
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-7/+0
|
* monitor_ubx.c: convert usages of mvwprintw to display for consistancyJon Schlueter2010-11-061-3/+3
|
* Revert typo.Gary E. Miller2010-04-181-1/+1
|
* Smoke out more private copies of gps_week and move into session->context. Gary E. Miller2010-04-181-1/+1
| | | | Prepare to do the same for Time of Week (tow).
* Reindent monitor mdules. Live test of gpsmon works.Eric S. Raymond2010-04-141-191/+189
|
* Refactoring step. Change the signature of ecef_to_wgs84fix().Eric S. Raymond2010-04-051-1/+3
| | | | All regression tests pass.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+1
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+5
|