Thursday, July 25, 2019

Re: Prepare for gpsd-3.x

On Thu, Jul 25, 2019 at 10:59:09AM +0300, Kirill Bychkov wrote:
> On Thu, July 25, 2019 08:50, Landry Breuil wrote:
> > On Wed, Jul 24, 2019 at 11:48:13PM +0300, Kirill Bychkov wrote:
> >> On Thu, June 20, 2019 10:08, Kirill Bychkov wrote:

<snip>

> > other than that, it seems gpsd is still able to read/access data from my
> > usb gps, so that part looks good :)
> >
> > Thanks for working on it!
> >
> > Landry
> >
> >
> Updated diff attached.

This version looks good to me, and i just realized there's the nice
addition of ubxtool (https://www.mankier.com/1/ubxtool) that allows me
to talk low-level to my device via py-serial:

$doas ubxtool -f /dev/ttyp8 -p CFG-GNSS
ubxtool: poll CFG-GNSS
sent:
UBX-CFG-GNSS:
Poll request

UBX-CFG-GNSS:
msgVer 0 numTrkChHw 32 numTrkChUse 32 numConfigBlocks 5
gnssId 0 TrkCh 8 maxTrCh 16 reserved 0 Flags x01010001
GPS L1C/A enabled
gnssId 1 TrkCh 1 maxTrCh 3 reserved 0 Flags x01010001
SBAS L1C/A enabled
gnssId 3 TrkCh 8 maxTrCh 16 reserved 0 Flags x01010000
BeiDou B1I
gnssId 5 TrkCh 0 maxTrCh 3 reserved 0 Flags x01010001
QZSS L1C/A enabled
gnssId 6 TrkCh 8 maxTrCh 14 reserved 0 Flags x01010001
GLONASS L1 enabled

UBX-ACK-ACK:
ACK to Class x6 (CFG) ID x3e (GNSS)

$doas ubxtool -f /dev/ttyp8 -p MON-VER
ubxtool: poll MON-VER
sent:
UBX-MON-VER:
Poll request

UBX-MON-VER:
swVersion 2.01 (75331)
hwVersion 00080000
extension PROTVER 15.00
extension GPS;SBAS;GLO;BDS;QZSS

Landry

No comments:

Post a Comment