[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: |
Sun, 17 Mar 2024 13:20:22 -0700 |
Yo Thomas!
On Sun, 17 Mar 2024 14:46:36 +0000
Thomas Giglia <tgiglia@hotmail.com> wrote:
> The output from gpsdebuginfo is attached to this email.
> + gpsd -V
> gpsd: 3.22 (revision 3.22)
That is pretty old. We can't support code that old.
Version 3.35 is current.
> # Magic Hat enabled
Are you on a reapberry pi? You only need this if you use /dev/ttyAMA0,
but you use /dev/ttyS0.
> /usr/sbin/gpsd -n /dev/ttyS0 /dev/pps0
WHy do you have /dev/pps0 on your command line? Do you really have a
separate PPS device, like on a raspberry pi?
> {"class":"DEVICE","path":"/dev/ttyS0","driver":"u-blox",
> "subtype":"SW 7.03 (45969),HW 00040007",
> "activated":"2024-03-17T14:38:02.390Z","flags":1,"native":1,
> "bps":9600,"parity":"N","stopbits":1,"cycle":1.00,"mincycle":0.02}
Looks like a "newer" u-blox 6, Only 11 years old. With the "newer"
7.03 firmware. This is important below..
Don;t enable a lot of extra messages, the 9600 can't handle them.
> Is the raw data from the UBLOX stored inside gpd_data_t? If so which
> field has it?
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.
> "Can you use the git master for gpsd?"
> Sure I don't see why not.
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.
The new code has UBX-MON-HW sent every 4 epochs for protVer < 27. For
newer devices UBX-MON-RF is sent. The antenna status is then hooked to
the gpsd JSON output.
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.
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
pgpG3ZmsZ_nnw.pgp
Description: OpenPGP digital signature
- How do you access UBX MON-HW messages in a gpsd client, Thomas Giglia, 2024/03/15
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/15
- Re: How do you access UBX MON-HW messages in a gpsd client, Thomas Giglia, 2024/03/15
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/15
- Re: How do you access UBX MON-HW messages in a gpsd client, Thomas Giglia, 2024/03/17
- Re: How do you access UBX MON-HW messages in a gpsd client,
Gary E. Miller <=
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/17
- Re: How do you access UBX MON-HW messages in a gpsd client, Thomas Giglia, 2024/03/18
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/18
- Re: How do you access UBX MON-HW messages in a gpsd client, Thomas Giglia, 2024/03/18
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/18
- Re: How do you access UBX MON-HW messages in a gpsd client, Thomas Giglia, 2024/03/18
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/18
- Re: How do you access UBX MON-HW messages in a gpsd client, Thomas Giglia, 2024/03/19
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/19
- Re: How do you access UBX MON-HW messages in a gpsd client, Gary E. Miller, 2024/03/19