gpsd-dev
[Top][All Lists]
Advanced

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

Re: gpsd on old systems


From: Gary E. Miller
Subject: Re: gpsd on old systems
Date: Thu, 19 Dec 2019 13:54:17 -0800

Yo Hal!

On Wed, 18 Dec 2019 23:15:35 -0800
Hal Murray <address@hidden> wrote:

> The following test Failed:
> ================================================================
> "test/daemon/garmin18x-bin.log"
> ================================================================
> 
> There is pages of printout.  Here is the first page or two.

[...]
> -$GPZDA,204657.00,15,12,2019,00,00*69
> -$GPGGA,204657.00,2926.7342,N,09836.3986,W,1,07,1.48,246.41,M,-26.443,M,,*54
> -$GPRMC,204657.00,A,2926.7342,N,09836.3986,W,0.4473,240.570,151219,4.1,E*7F
> +$GPZDA,235942.00,14,12,2019,00,00*61
> +$GPGGA,235942.00,,S,,W,1,07,1.48,-32421510.00,M,-0.000,M,,*50
> +$GPRMC,235942.00,A,,S,,W,0.0000,0.000,141219,,*39

That is crazy.  I was expecting a missed BE to LE conversion or
two, but that is a mess.

Looks like "__attribute__((__packed__))" got ignored?

The altHAE was 246.41, and is an IEEE float in the binary.

The bad altHAE is -32421510.00.  Since IEEE floats are supposed to
be same for BE and LE, I have no idea why the corruption.

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


reply via email to

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