gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] issues with libgps(-dev)


From: Tomalak Geret'kal
Subject: Re: [gpsd-users] issues with libgps(-dev)
Date: Sun, 15 Sep 2013 21:42:48 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 15/09/2013 17:59, Eric S. Raymond wrote:
Folkert van Heusden <address@hidden>:
I have a small issue with libgps (I use the C library):

I found that the "status"-field in the structure, if that field is not
STATUS_NO_FIX, that does not neccessarily mean that there's a fix.
So what I now do is check if LATLON_SET is set in the 'set'-field AND
also if status != STATUS_NO_FIX.
Is that the way to go you think?
That's the right thing.  The status field is derived from the fix status
the GPS passes back.  Some devices will report a fix present when they
really only have enough of a lock to get GPS time.
That's called a 1D fix.

Tom



reply via email to

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