[Top][All Lists]

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

Re: GPSD doesn't report signal dropout

From: Gary E. Miller
Subject: Re: GPSD doesn't report signal dropout
Date: Mon, 12 Oct 2020 18:11:36 -0700

Yo Greg!

On Mon, 12 Oct 2020 20:10:57 -0400
Greg Troxel <> wrote:

> >> It's definitely improved - now when I disconnect the antenna I get:
> >> gpsd_data->fix.mode:         1 MODE_NO_FIX
> >> gpsd_data->fix.status:       1 STATUS_FIX
> >> gpsd_data->fix.time:         0.000000000
> >> gpsd_data->fix.latitude:     nan
> >> gpsd_data->fix.longitude:    nan
> >> 
> >> I'd still expect fix.status to be 0 (STATUS_NO_FIX)? Or am I
> >> misunderstanding this?  
> >
> > Why do you care about fix.status when you have no fix?  Would you
> > also care about the lat/lon with no fix?
> >
> > gpsd give you many validity flags, use them.  
> Sure, but it also seems like fix status should be right.

There is more to this than meets the eye.  The messages that we are
talking about here do not include any status at all.  Most NMEA never
outputs any status.  The Quectel never outputs status.  So the problem
is in the client.

status is for binary protocols like u-blox.

I did change libgps_json.c to default status to STATUS_NO_FIX if there
is otherwise no status.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  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: pgpwPX6OJBx0f.pgp
Description: OpenPGP digital signature

reply via email to

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