gpsd-users
[Top][All Lists]
Advanced

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

Re: What is the easiest / best way to build just the Python client libra


From: Gary E. Miller
Subject: Re: What is the easiest / best way to build just the Python client library?
Date: Sun, 13 Feb 2022 19:54:02 -0800

Yo W.!

On Sun, 13 Feb 2022 22:35:27 -0500
"W. Craig Trader" <craig.trader@gmail.com> wrote:

> > The problem lies when I try to enable RAW mode using this code:
> > instead of getting NMEA messages, I get nothing.  
> 
> I can't debug what I can't see.  AFAIK, there are no gpsd example
> clients that use WAATCH_RAW, so you may be right that work needs to
> be done on the Python part.
> 
> > When I wrote a
> > straight TCP client (in Python), I get the correct messages, so the
> > problem isn't with my receiver or GPSD, it's with the Python library
> > (but still not using the packet module).  
> 
> Yup.

After pondering a few moments.  I remembered that gpscat.py uses the
gps.packet module to dump raw packets.  So if you use the gpsd Python
library as designed, you do get WATCH_RAW working.

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


reply via email to

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