[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: |
Beat Bolli |
Subject: |
Re: [gpsd-dev] [PATCH] [RFC] gpsmon: add PPS monitoring at -D2 debug level |
Date: |
Sat, 02 Nov 2013 00:23:57 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 02.11.13 00:13, Greg Troxel wrote:
>
> A different issue is whether it's OK to output the PPS messages only at
> -D2. Should they be visible at any debug level?
>
> I'm not clear on the strategy for what's at what level. I would think
> the first debug level would be expected to output things at startup and
> once steady state was reached not print anything. So 2 seems ok.
-D2 is INFO level. Errors (-D0) are printed always, warnings at -D1, etc.
The output currently looks like this (modulo wrapping by the MUA):
psd:INFO: /dev/ttyS0 identified as type Generic NMEA, 0.101296 sec @ 9600bps
$GPGSV,4,3,13,24,10,252,25,21,07,306,20,18,05,325,23,19,05,029,22*75
gpsd:WARN: GPGSV field 3 value of 13 != actual count 5
$GPGSV,4,4,13,10,02,164,*4B
$GPRMC,231732.000,A,4702.7140,N,00716.2952,E,0.01,99.53,011113,,,D*56
$GPZDA,231732.000,01,11,2013,,*51
gpsd:INFO: PPS cycle: -983497069, duration: -983497069 @ 1383347853.002387
gpsd:INFO: PPS cycle: -983397111, duration: 99958 @ 1383347853.102345
$GPGGA,231733.000,4702.7140,N,00716.2952,E,2,8,1.20,456.2,M,48.0,M,0000,0000*55
$GPGSA,A,3,09,08,05,07,26,28,15,21,,,,,1.88,1.20,1.44*0B
$GPRMC,231733.000,A,4702.7140,N,00716.2952,E,0.01,99.53,011113,,,D*57
$GPZDA,231733.000,01,11,2013,,*50
gpsd:INFO: PPS cycle: 999963, duration: 900005 @ 1383347854.002350
gpsd:INFO: PPS cycle: 1000004, duration: 99999 @ 1383347854.102349
$GPGGA,231734.000,4702.7140,N,00716.2953,E,2,8,1.20,456.2,M,48.0,M,0000,0000*53
$GPGSA,A,3,09,08,05,07,26,28,15,21,,,,,1.88,1.20,1.44*0B
$GPRMC,231734.000,A,4702.7140,N,00716.2953,E,0.01,99.53,011113,,,D*51
$GPZDA,231734.000,01,11,2013,,*57
gpsd:INFO: PPS cycle: 999994, duration: 899995 @ 1383347855.002344
gpsd:INFO: PPS cycle: 999987, duration: 99992 @ 1383347855.102336
If there's no PPS pulse, the "gpsd:INFO:" lines are missing.
> I would like it to be clear whether gpsd thinks the rising edge (assert)
> or falling edge is the right one. I have found that the GR601-W seems
> to use the falling edge (as in the signal is asserted 100 ms after a
> second and deasserted as the second happens).
Beat
--
mail: echo '<address@hidden>' | tr -d '[A-S]'
pgp: 0x506A903A; 49D5 794A EA77 F907 764F D89E 304B 93CF 506A 903A
gsm: 4.7.7.6.0.7.7.9.7.1.4.e164.arpa
icbm: 47.0452 N, 7.2715 E
"It takes love over gold, and mind over matter" -- Dire Straits
signature.asc
Description: OpenPGP digital 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