gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Is a GPS devices present?


From: v.kalachikhin
Subject: Re: [gpsd-users] Is a GPS devices present?
Date: Wed, 27 Sep 2017 19:38:27 +0300
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

22.09.2017 21:46, Gary E. Miller пишет:

Right there, each one of "devices" is a GPS:

But no right there?
I smoked man's, but no reached an enlightenment.

On this case:
gpsd started, he is given some devices, no clients say WATCH.

My client connected:
{"class":"VERSION","release":"3.15","rev":"3.15-2build1","proto_major":3,"proto_minor":11}

?WATCH={"enable":true};

{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/tmp/ttyS21","activated":"2017-09-27T15:48:24.821Z","native":0,"bps":38400,"parity":"N","stopbits":1,"cycle":1.00}]}
{"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":0,"scaled":false,"timing":false,"split24":false,"pps":false}

?POLL;

{"class":"POLL","time":"2017-09-27T15:48:45.548Z","active":0,"tpv":[],"gst":[],"sky":[]}

Ooops... What do I have to do? If device on /tmp/ttyS21 is a GPS - I have to wait. If it no GPS (compass, as example) - I have to alarmed, because to wait - is a loss a time before disaster.

At what moment becomes available "flags" property of DEVICE object, or "mode" property of TPV object?

--

                Владимир Калачихин




reply via email to

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