[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Is a GPS devices present?
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] Is a GPS devices present? |
Date: |
Thu, 21 Sep 2017 11:37:31 -0700 |
Yo v.kalachikhin!
On Thu, 21 Sep 2017 02:32:40 +0300
"v.kalachikhin" <address@hidden> wrote:
> As I can learn whether are available among connected devices a GPS
Sort of a chicken and egg question. Unless you started gpsd with '-n',
then gpsd does not probe for active GPS until after you connect.
I always start gpsd with '-n', so when I connect I get this:
{"class":"VERSION","release":"3.17~dev","rev":"release-3.16-701-g2e724963","proto_major":3,"proto_minor":12}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","driver":"u-blox","subtype":"SW
1.00 (59842),HW 00070000,PROTVER
14.00,GPS;SBAS;GLO;QZSS","activated":"2017-09-21T18:36:14.327Z","flags":1,"native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00,"mincycle":0.25}]}
Note the DEVICES class. That shows the available devices.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgp6gHZhvIiWY.pgp
Description: OpenPGP digital signature