gpsd-dev
[Top][All Lists]
Advanced

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

Re: ✘gpsd .23.2~rc1


From: Florian Kiera
Subject: Re: ✘gpsd .23.2~rc1
Date: Tue, 12 Apr 2022 12:53:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

Yo Gary!

I tested "www/gpsd-client-example-code.adoc" example client on both named versions (3.21 and 3.23.2~rc-1). I added an output in "line 56":

printf("Satellites used: %d\n", gps_data.satellites_used);

and experienced different outcomes. In 3.21 every time the cycle is completed this output gives a valid value (>0). In 3.23.2~rc-1 only every 3rd message gives a "valid" (>0) value for satellites used. Is this intented?

Just checked 3.22 too, works the same as 3.21.

Regards Florian

Am 11.04.22 um 20:46 schrieb Gary E. Miller:
Yo Ralph!

On Mon, 11 Apr 2022 09:11:44 +0200
Ralph Nemitz <nemitz@logicway.de> wrote:

the data.raw file is attached. After "gpsdecode < data.raw" I saw
values at nSat and uSat which are corresponding to cgps but in struct 
gps_data_t are no satellites_visible and satellites_used.
Looks good to me.  The JSON shows the used /seensats and cgps does too
My guess is you are checking for used and seen on reading a TPV insetad
of reading a SKY.

I can't debug your code w/o seeing your code.


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-- 
###############################################################
Florian Kiera               Tel:    (0385) 3993 93 58
Logic Way GmbH              Geschäftsführer: Andreas Loerzer 
Hagenower Strasse 73        HTTP:   http://www.logicway.de
19061 Schwerin              email:  mailto:florian.kiera@logicway.de
###############################################################

Attachment: test.c
Description: Text Data

Attachment: Output.txt
Description: Text document


reply via email to

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