gpsd-dev
[Top][All Lists]
Advanced

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

Re: Small problem with NMEA feed - satellites_used


From: Nick Taylor
Subject: Re: Small problem with NMEA feed - satellites_used
Date: Wed, 7 Dec 2022 10:50:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

Yo Gary

On 05/12/2022 23:04, Gary E. Miller wrote:
Yo Nick!

I added your sample to the regressions.  The GGA -> uSat seems to work.

$GPRMC,113938.50,A,3842.86006889,N,11705.43645510,W,0.011,46.405,231122,999.9000,E,D*2E
{"class":"TPV","status":2,"mode":3,"time":"2022-11-23T11:39:38.500Z","ept":0.005,"lat":38.714334482,"lon":-117.090607585,"altHAE":1819.8860,"altMSL":1864.1820,"alt":1864.1820,"track":46.4050,"magtrack":686.3050,"magvar":999.9,"speed":0.006,"geoidSep":-44.296,"eph":7.125,"dgpsAge":1.4,"dgpsSta":0}
$GPGGA,113939.00,3842.86006288,N,11705.43645704,W,2,09,1.5,1864.172,M,-44.296,M,1.0,0000*46
{"class":"SKY","hdop":1.50,"uSat":9}

Please test.

Seems you have fixed up the json but we use gps_data->satellites_visible from the gpslib - I believe cgps does too.

My guy has suggested the attached patch which seems to fix things up - please review and let us know what you think?

Thanks and regards

Nick

Attachment: libgps_json.c.patch.zip
Description: Zip archive


reply via email to

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