gpsd-users
[Top][All Lists]
Advanced

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

Re: How do you access UBX MON-HW messages in a gpsd client


From: Gary E. Miller
Subject: Re: How do you access UBX MON-HW messages in a gpsd client
Date: Mon, 18 Mar 2024 12:24:56 -0700

Yo Thomas!

Your failure to separate my comments and yours makes your email very hard
to read.  Please pick a quote style, and use it.

I have added > for everyone's benefit.

On Mon, 18 Mar 2024 19:14:39 +0000
Thomas Giglia <tgiglia@hotmail.com> wrote:

> >  "Yes, the ubx raw data is parsed, and then stored into individual
> >  parts. For example, latitude is in (gps_data_t*)->fix.latitude.  The
> >  antenna state is in (gps_data_t*_->fix.antenna."
> 
>  Ok, but I need to see the ubx data from MON-HW (which I guess your
>  not supporting yet).

I added that over the weekend.  Grab git head, and see.  Turned out
to be non-trivial.  There are at least 6 versions of MON-HW, in three
different lengths, and then replaced my MON-RF.  gpsd now asks the
receiver to send MON-HW/RF every 4 seconds, decodes them, and output the
antenna status and jamming state to the JSON.

> Is there a place in gpd_data_t where I can
> access the un-decoded data that is coming back from the UBLOX for the
> time being?

Nepe.

> >  "Please give it a try. u-blox has at least 4 different versions of
> >  UBX-MON-HW, and your 3.22 (gpsd and ubxtool) only decodes one of
> > them. One yours does not do.  Maybe fixed in git head."
> 
>  I will install version 3.25

Notice I said "git head"?  Not 3.25.  3.25 is over a year old, and
the MON-HW patches are from this weekend.

> >  "I still need to look at the jamming.  The UBX-MON-HW outputs two:
> >      jamState  0 to 4
> >      jamInd    0 to 255
> >  Which were you looking to get?  Earlier u-blox 6 do not support
> >  jamState, but do support the more granular jamInd.  So I thinking of
> >  only supporting jamInd."
 
>  Currently we are only interested in jamInd.

Since jamInd looks like a superset of jamState, that is what I added.
You'll see it in gps_fix_t ->jam, and in the GPSD JSON TPV message as
"jam".


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

Attachment: pgpuWDYrpWtYH.pgp
Description: OpenPGP digital signature


reply via email to

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