gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] gpsd WATCH_RAW


From: Eric S. Raymond
Subject: Re: [gpsd-users] gpsd WATCH_RAW
Date: Thu, 12 Mar 2015 08:20:20 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

Roger Oberholtzer <address@hidden>:
> What about the mysterious second and third line? I see that these
> two lines came in a single call to gps_read/gps_data. It seems that
> the bit after the ^M (printed in the third line) is incomplete. Or
> am I looking at this wrong?

I don't have your log in front of me.  But here's what I see when I telnet
in and issue a WATCH:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
{"class":"VERSION","release":"3.14~dev","rev":"release-3.13-141-g215a405","proto_major":3,"proto_minor":10}
?WATCH={"raw":true}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","driver":"u-blox","subtype":"6.02
 
(36023)","activated":"2015-03-12T12:16:11.164Z","flags":1,"native":1,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00,"mincycle":0.25}]}
{"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}

The first line is GPSD identifying itself. The DEVICES and WATCH reports are 
in response to the WATCH command.  They tell you what devices you are now 
watching and what your watch mode is following the command.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

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