[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Malformed gpgsv
From: |
Gary E. Miller |
Subject: |
Re: Malformed gpgsv |
Date: |
Fri, 21 Feb 2020 11:24:52 -0800 |
Yo raaj!
On Fri, 21 Feb 2020 12:44:56 +0800
raaj lokanathan <address@hidden> wrote:
> I just wrote the driver for my gnss receiver.
Care to share? Or is this a one way street?
> When I tested with the gnss simulator it was working fine.
Care to share what gnss simulator?
> But then with the gnss antenna it works and then it stops by showing
> like this.
Screen shots are not helpful. Please send cut/paste of the text.
I think I see this:
$PQGSV,1,1,02,02,,,47,03,,,43,0,5*6d
Not sure what $PQ prefix is. Care to share?
That is 14 fields. The error message should have been all you need
to figure out the problem:
"malformed GPGSV - feildcount 14 % 4 != 0"
Take that and compare to the gpsd doc for xxGSV:
https://gpsd.io/NMEA.html#_gsv_satellites_in_view
To summarize, xxGSV starts with 4 fixed fields, then 4 fields per sat.
So NUMFIELDS % 4 === 0, but your sentence fails. So your sentence is
malformed and gpsd is properly ignoring it.
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
pgpb1jW3a9A6J.pgp
Description: OpenPGP digital signature
- Malformed gpgsv, raaj lokanathan, 2020/02/21
- Re: Malformed gpgsv,
Gary E. Miller <=
- Re: Malformed gpgsv, raaj lokanathan, 2020/02/23
- Re: Malformed gpgsv, Gary E. Miller, 2020/02/23
- Re: Malformed gpgsv, raaj lokanathan, 2020/02/23
- Re: Malformed gpgsv, Gary E. Miller, 2020/02/24
- Re: Malformed gpgsv, raaj lokanathan, 2020/02/24
- Re: Malformed gpgsv, Gary E. Miller, 2020/02/24
- Re: Malformed gpgsv, raaj lokanathan, 2020/02/24
- Re: Malformed gpgsv, Gary E. Miller, 2020/02/24
- Re: Malformed gpgsv, raaj lokanathan, 2020/02/24
- Re: Malformed gpgsv, Gary E. Miller, 2020/02/24