[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH] [RFC] gpsmon: add PPS monitoring at -D2 debug lev
From: |
Greg Troxel |
Subject: |
Re: [gpsd-dev] [PATCH] [RFC] gpsmon: add PPS monitoring at -D2 debug level |
Date: |
Sat, 02 Nov 2013 09:16:24 -0400 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (berkeley-unix) |
"Eric S. Raymond" <address@hidden> writes:
> From gpsd.h-tail:
>
> /* logging levels */
> #define LOG_ERROR -1 /* errors, display always */
> #define LOG_SHOUT 0 /* not an error but we should always see it */
> #define LOG_WARN 1 /* not errors but may indicate a problem */
> #define LOG_INF 2 /* key informative messages */
> #define LOG_DATA 3 /* log data management messages */
> #define LOG_PROG 4 /* progress messages */
> #define LOG_IO 5 /* IO to and from devices */
> #define LOG_SPIN 6 /* logging for catching spin bugs */
> #define LOG_RAW 7 /* raw low-level I/O */
>
> My intention for this feature, however, was not for the PPS data to be
> in a debug message at all. Rather, I want PPS to show in the packet
> window so users can see at a glance (a) whether the device emits PPS,
> and (b) which sentence the in-stream reporting cycle starts with.
That list makes sense. I'd say that in addition to gpsmon changes, it
would be good for a single message at LOG_INF to be logged when gpsd
detects that PPS is present and decides on the polarity.
pgp8raQZy5Krl.pgp
Description: PGP signature
Re: [gpsd-dev] [PATCH] [RFC] gpsmon: add PPS monitoring at -D2 debug level, Gerry Creager - NOAA Affiliate, 2013/11/01
Re: [gpsd-dev] [PATCH] [RFC] gpsmon: add PPS monitoring at -D2 debug level, Eric S. Raymond, 2013/11/02