gpsd-users
[Top][All Lists]
Advanced

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

Re: No sentence logs


From: Gary E. Miller
Subject: Re: No sentence logs
Date: Mon, 11 Mar 2024 22:53:22 -0700

Yo tangoing.mill745@aceecat.org!

On Mon, 11 Mar 2024 17:32:09 -0700
tangoing.mill745@aceecat.org wrote:

> I am trying to do something gauche:

Nothing wrong with being left.

> I run gpsd on the Raspberry Pi. My gps device doesn't conveniently
> speak serial, only i2c, but there's a workingish python library that
> can read the raw data from the gps device. I'm hoping to use the
> python library and forward the data to an udp socket, and have gpsd
> collect it like this:

Hope is not a plan.

>   # /usr/sbin/gpsd -n -N -D 2 udp://127.0.0.1:12947

Can you tell us more about the library that reads the i2c and sends
the data to udp?

Can you connect to the port, say with netcat, and see data?  If so,
grab a 30 second sample and send it here.

> When I do this, gpsd does print some lines about it initializing,

Which it always does.

> and then there is a couple of lines that seem to indicate it does see
> the data coming in -- there's a line saying it detected a particular
> NMEA dialect, and then one about not being able to use time from GLL
> and RMC sentences until it gets a ZDA one.

Much better to send us the log so ww can see ourselve.s  It sounds like
you are getting some NMEA, but no ZDA.  gpsd, and any other decoder,
needs ZDA.

> But after that, nothing. The manpage says -D2 should cause incoming
> sentences to be logged, so what is going on?

Beats me.  Show us what you see.  That would be a capture of the
raw data in udp, and the -D2 log.

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


reply via email to

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