gpsd-users
[Top][All Lists]
Advanced

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

Re: Malformed gpgsv


From: raaj lokanathan
Subject: Re: Malformed gpgsv
Date: Sun, 23 Feb 2020 23:50:42 +0800

Hi,

I am kinda lost here.
Could you please explain it to me further in detail.
This is my first time writing the driver code.

To answer your question

> Care to share?  Or is this a one-way street?
Basically this driver should be able to send commands using the gpsctl too. I am not sure though how to modify the driver code to support gpsctl command.

>Care to share what GNSS simulator?
I am not sure what model is it though.

>Not sure what $PQ prefix is.  Care to share?
The PQ prefix is part of the proprietary prefix for my supplier GNSS receiver.



On Sat, 22 Feb 2020 at 03:25, Gary E. Miller <address@hidden> wrote:
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


--
Thanks and regards,

Raaj Lokanathan

reply via email to

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