gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Doc fix to serial.c


From: Gary E. Miller
Subject: Re: [gpsd-users] Doc fix to serial.c
Date: Tue, 16 Apr 2019 11:16:14 -0700

Yo Kai!

On Tue, 16 Apr 2019 19:48:43 +0200
Kai Harrekilde-Petersen <address@hidden> wrote:

> I was messing around in serial.c and noticed that the link to Linus'
> git repo (for devices.txt) was stale.
> The below 1-liner updates the link to a valid one.

Patch applied to git head.  Thanks!

If you are interested in the serial behavior of a u-blox then you
will be interested in two new commands added yeasterday to ubxtool.

For u-blox 5 to 9:

# ubxtool -p MON-IO
ubxtool: poll MON-IO
sent:
UBX-MON-IO:
 Poll request

UBX-MON-IO:
  Port: 0 (DDC)
   rxBytes 0 txBytes 0 parityErrs 0 framingErrs 0
   overrunErrs 0 breakCond 0 reserved 0
  Port: 1 (UART1)
   rxBytes 0 txBytes 104171017 parityErrs 0 framingErrs 0
   overrunErrs 0 breakCond 0 reserved 0
  Port: 2 (UART2)
   rxBytes 0 txBytes 0 parityErrs 0 framingErrs 0
   overrunErrs 0 breakCond 0 reserved 0
  Port: 3 (USB)
   rxBytes 182740 txBytes 11767546 parityErrs 0 framingErrs 0
   overrunErrs 0 breakCond 0 reserved 0
  Port: 4 (SPI)
   rxBytes 0 txBytes 0 parityErrs 0 framingErrs 0
   overrunErrs 0 breakCond 0 reserved 0
  Port: 5 (Reserved)
   rxBytes 0 txBytes 0 parityErrs 0 framingErrs 0
   overrunErrs 0 breakCond 0 reserved 0


New for u-blox 9:

# ubxtool -p MON-COMMS
ubxtool: poll MON-COMMS
sent:
UBX-MON-COMMS:
 Poll request

UBX-MON-COMMS:
version 0 nPorts 4 txErrors 0x0 reserved1 0
protIds 0x0/1/5/ff (UBX/NMEA/RTCM3/None)
  Port: 1 (UART1)
   txPending 0 txBytes 104329607 txUsage 14 txPeakUsage 16
   rxPending 0 rxBytes 0 rxUsage 0 rxPeakUsage 0
   overrunErrs 0 msgs 0/0/0/0 reserved 0 0 skipped 0
  Port: 2 (UART2)
   txPending 0 txBytes 125068263 txUsage 0 txPeakUsage 0
   rxPending 0 rxBytes 335283423 rxUsage 6 rxPeakUsage 14
   overrunErrs 0 msgs 18862/0/0/0 reserved 0 0 skipped 31
  Port: 3 (USB)
   txPending 0 txBytes 11784804 txUsage 0 txPeakUsage 39
   rxPending 0 rxBytes 182748 rxUsage 0 rxPeakUsage 6
   overrunErrs 0 msgs 45/0/1588/0 reserved 0 0 skipped 63
  Port: 1 (UART1)
   txPending 0 txBytes 335275915 txUsage 0 txPeakUsage 0
   rxPending 0 rxBytes 124682883 rxUsage 6 rxPeakUsage 12
   overrunErrs 0 msgs 22844/0/0/0 reserved 0 0 skipped 0

The txPeakUsage on USB is interesting.  That shows that at
one point since restart the USB port was 39% full and some
messages were "skipped".

Not exactly sure what that means, but it is data that is now
easy to see.

Yes, I note the two Port 1.  That is at odds with the u-blox 9
doc.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  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: pgpB5UoVGMXKG.pgp
Description: OpenPGP digital signature


reply via email to

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