|
From: | Ralph Nemitz |
Subject: | Re: ✘gpsd .23.2~rc1 |
Date: | Tue, 12 Apr 2022 17:26:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
Hi Gary,I did another test at my embedded system and had nearly the same strange output like Florian.
Regards, Ralph Am 12.04.22 um 12:53 schrieb Florian Kiera:
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
-- -- ############################################################### Dipl.-Phys. Ralph Nemitz Tel.: (0385) 3993 9354 Logic Way GmbH Fax: (0385) 3993 458 Hagenower Strasse 73 HTTP: http://www.logicway.de 19061 Schwerin E-Mail: nemitz@logicway.de ###############################################################
out.txt
Description: Text document
test.c
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |