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: Fri, 15 Mar 2024 13:10:42 -0700

Yo Thomas!

On Fri, 15 Mar 2024 19:43:56 +0000
Thomas Giglia <tgiglia@hotmail.com> wrote:

> Using a UBLOX NEO-6 and Raspberry PI.

The 6-series is a bit long in the tooth.

> I have gpsd setup and can get
> NMEA messages, however I am trying to figure out how I can access UBX
> protocol messages.  Specifically looking get MON-HW messages.

Depends on a lot of things.  Can you post the output of gpsdebuginfo,
run as root, here?  Latest version is here:

    https://gpsd.io/gpsdebuginfo

What do you mean by "access".  You can see UBX-MON-HW with ubxtool,  But
gpsd does not decode UBX-MON-HW.

> I have
> been able to use ubxtool to configure MON-HW "ubxtool  --device
> /dev/ttyS0 -p CFG-MSG,10,9,1"

Much better to start gpsd, then run ubxtool this way:

    ubxtool -p CFG-MSG,10,9,1

Or just poll directly:

    ubxtool -p MON-HW

> and I can see the MON-HW messages
> coming into gpsmon.

Please don't use gpsmon, it is an old, unmaitained and buggry developers tool
Us the other clients: cpgs, xgps, gpspipe, gpscsv, etc.

> How do I access that data inside a gpsd client?

ubxtool is a gpsd client, you are just not using it that way.  Since gpsd
does not, presently, decode the UBX-MON-HW message, your only two choices
are ubxtool, and gpspipe raw mode (gpspipe -R).

Is there something specifically in USB-MON-HW that you want?  Maybe antenna
detection or the jamming signal?  Those could be adde to gpsd.  No one
ever wanted those until recently, now they are in popular demand.

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: pgpFogSIMjysL.pgp
Description: OpenPGP digital signature


reply via email to

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