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: Thomas Giglia
Subject: Re: How do you access UBX MON-HW messages in a gpsd client
Date: Mon, 18 Mar 2024 20:11:23 +0000

Gary


>>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 am getting a error on the python version where I execute "scons && scons check"
WARNING: Python3.11 too old (need 3.6): gps/aiogps.py will not be installed

Checking Python module serial (pyserial)... found
Checking Python module cairo (pycairo)... found
Checking Python module gi (pygobject)... found
Checking pkg-config for gtk+-3.0... yes
Altered configuration variables:
bluez = False (default True): BlueZ support for Bluetooth devices
qt = False (default True): build Qt bindings
TypeError: can only concatenate str (not "list") to str:
  File "/home/tgiglia/projects/gpsd/SConstruct", line 1886:
    src.split(".")[0] + '-py_' +
WARNING: Python3.11 too old (need 3.6): gps/aiogps.py will not be installed

Checking Python module serial (pyserial)... found
Checking Python module cairo (pycairo)... found
Checking Python module gi (pygobject)... found
Checking pkg-config for gtk+-3.0... yes
Altered configuration variables:
bluez = False (default True): BlueZ support for Bluetooth devices
qt = False (default True): build Qt bindings
TypeError: can only concatenate str (not "list") to str:
  File "/home/tgiglia/projects/gpsd/SConstruct", line 1886:
    src.split(".")[0] + '-py_' +
WARNING: Python3.11 too old (need 3.6): gps/aiogps.py will not be installed

I got python 3.11 but its telling me its too old and I need 3.6 - is there a bug in the scons check?

When I try to build executing "scons" It doesn't look like anything gets built and I get a similar message
WARNING: Python3.11 too old (need 3.6): gps/aiogps.py will not be installed

Checking Python module serial (pyserial)... found
Checking Python module cairo (pycairo)... found
Checking Python module gi (pygobject)... found
Checking pkg-config for gtk+-3.0... yes
Altered configuration variables:
bluez = False (default True): BlueZ support for Bluetooth devices
qt = False (default True): build Qt bindings
TypeError: can only concatenate str (not "list") to str:
  File "/home/tgiglia/projects/gpsd/SConstruct", line 1886:
    src.split(".")[0] + '-py_' +
WARNING: Python3.11 too old (need 3.6): gps/aiogps.py will not be installed

Can I work around this to build and install?

Thanks
Thomas




From: gpsd-users-bounces+tgiglia=hotmail.com@nongnu.org on behalf of Gary E. Miller
Sent: Monday, March 18, 2024 3:24 PM
To: gpsd-users@nongnu.org
Subject: Re: How do you access UBX MON-HW messages in a gpsd client

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

reply via email to

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