gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] python trouble


From: folkert
Subject: [gpsd-dev] python trouble
Date: Mon, 21 Nov 2016 10:50:04 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

Am having trouble using the python library to get gps status.

dev = gps.gps('localhost', "2947")
dev.stream(gps.WATCH_ENABLE | gps.WATCH_NEWSTYLE)

Now dev.fix.time is sometimes 1479721697.0 and sometimes something like
2016-11-21T09:43:14.000Z.

Then there is the dev.status: while gpsmon shows me there's a fix,
dev.status is always 0 which I think means no-fix.


Folkert van Heusden

-- 



reply via email to

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