gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] ?WATCH timing attribute can't be enabled


From: Eric S. Raymond
Subject: Re: [gpsd-dev] ?WATCH timing attribute can't be enabled
Date: Wed, 6 Jan 2016 12:21:31 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

Nuno Gonçalves <address@hidden>:
> Timing attribute refuses to be enabled:
> 
> gpsd:CLIENT: => client(0):
> {"class":"VERSION","release":"3.15","rev":"3.15","proto_major":3,"proto_minor":11}\x0d\x0a
> gpsd:CLIENT: <= client(0): 
> ?WATCH={"enable":true,"json":true,"timing":true}\x0a
> gpsd:CLIENT: => client(0):
> {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","driver":"u-blox","subtype":"SW
> 2.01 (75350),HW 00080000,2.01 (75331),PROTVER 15.00,FIS
> 0xEF","activated":"2015-08-26T12:22:28.091Z","flags":1,"native":1,"bps":115200,"parity":"N","stopbits":1,"cycle":1.00,"mincycle":0.25}]}\x0d\x0a{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}\x0d\x0a
> 
> And then gpsprof instead of complaining about it, just loops forever:
> 
> $ gpsprof -f instrumented | gnuplot -persist
> gpsprof: 6866 looking for fix...first fix in 0.53sec, gathering 100
> samples...first fix in 1.53sec, gathering 100 samples...first fix in
> 2.54sec, gathering 100 samples...first fix in 3.54sec, gathering 100
> samples...And first fix in 4.53sec, gathering 100 samples...first fix
> in 5.53sec, gathering 100 samples...first fix in 6.53sec, gathering
> 100 samples...first fix in 7.55sec, gathering 100 samples...first fix
> in 8.53sec, gathering 100 samples...first fix in 9.53sec, gathering
> 100 samples...first fix in 10.53sec, gathering 100 samples...first fix
> in 11.54sec, gathering 100 samples...first fix in 12.52sec, gathering
> 100 samples...first fix in 13.53sec, gathering 100 samples...first fix
> in 14.53sec, gathering 100 samples...first fix in 15.53sec, gathering
> 100 samples...

You have to build with timing=yes for this to work right.  Try this
and let me know if it reproduces.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]