gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] count of satellites_used is incorrect


From: Gary E. Miller
Subject: Re: [gpsd-users] count of satellites_used is incorrect
Date: Fri, 27 Apr 2018 09:43:47 -0700

Yo David!

On Fri, 27 Apr 2018 09:38:37 +0100
"David J Taylor" <address@hidden> wrote:

> All I need is a value every 5 minutes (for MRTG) so the default rate
> of one per second appears to be quite adequate.

The default SKY rate is not one second.  Often every 5 or 10 seconds.
Depending on your GPS it may be every minute or longer.  Maybe never.

You may be reading the gpsd data at a moment when it does not have
the SKY data for you.  Put another way, every time you call for data
from gpsd using the API, the SKY data may not be in it.  That is why you
need to check that you actually got valid SKY data from your API call.

>  As far as I know, my
> software doesn't use JSON at all, just gpsd API calls.

If you are using the gpsd API, then you are using the JSON under the
hood.

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

Attachment: pgpHmO17nsT0m.pgp
Description: OpenPGP digital signature


reply via email to

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