gpsd-users
[Top][All Lists]
Advanced

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

Re: Ignore nmea checksum - possible?


From: Gary E. Miller
Subject: Re: Ignore nmea checksum - possible?
Date: Wed, 12 Jul 2023 11:09:06 -0700

Yo Andreas!

On Wed, 12 Jul 2023 15:57:13 +0200
Andreas B <panden@gmail.com> wrote:

> Question:
> Is there a way to make gpsd ignore the nmea checksum?

Nope.  And for very good reasons.  Serial lines have a lot of errors.

> Case:
> I've been playing with generated nmea sentences, and changing the
> coordinates, without calculating a (new valid) checksum.

Don't do that.  Calculating checksums is easy.

> When using gpsfake, gpsd seems to refuse to output the nmea sentence
> when the checksum is invalid.

Yup, and for very good reasons.

> Here's what I tried:
[...]
> * Run gpsfake:

Save yourself a lot of unneeded complexity, just use gpsdecode.

> For testing purposes, it would be nice to be able to pass through nmea
> sentences, even if the checksum is invalid.

Not nice.  Just fix your checksums.

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


reply via email to

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