gpsd-users
[Top][All Lists]
Advanced

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

Re: Change from 3.23 to 3.24 - program doesn't work?


From: Gary E. Miller
Subject: Re: Change from 3.23 to 3.24 - program doesn't work?
Date: Tue, 21 Jun 2022 11:11:04 -0700

Yo Mike!

Care to share with everyone?

On Tue, 21 Jun 2022 18:28:37 +0100
Mike Tubby <mike@tubby.org> wrote:

> David,
> 
> I have emailed you off list with an example from one of my projects 
> which works with GPSD 3.15 through 3.24 which you may find helpful.
> 
> Mike
> 
> On 20/06/2022 19:25, David Taylor wrote:
> > On 20/06/2022 18:39, Gary E. Miller wrote:  
> >> Yo David!
> >>
> >> On Mon, 20 Jun 2022 11:22:39 +0100
> >> David Taylor <gm8arv@yahoo.co.uk> wrote:
> >>  
> >>> On 20/06/2022 07:41, Gary E. Miller wrote:  
> >>>> Yo David!
> >>>>
> >>>> I can't see how that ever worked.  Your program does not check
> >>>> if the receiver JSON has the data you are trying to read.
> >>>>
> >>>> Take a look at example.c for ideas on what is missing.  
> >>>
> >>> Gary,
> >>>
> >>> I could not find "example.c" for gpsd.  
> >>
> >> It is in the git repo, in the tar ball, in the libgps man page, ion
> >> the web page,  etc.
> >>
> >> Since you don't know how to grep or search:
> >>
> >> https://gpsd.io/gpsd-client-example-code.html
> >>
> >>
> >>  
> >>> I did find gpssnmp.c and a compiled version, which appears to be a
> >>> tidied up version of the software I submitted some time back, for
> >>> which, thanks!  
> >>
> >> Yeah, bot used by many.
> >>  
> >>> On running the compiled version, though, I get a "connection
> >>> failed" error.
> >>>
> >>>      pi@RasPi-22:~/gpsd/gpsd-3.24.1~dev/clients $ gpssnmp -g
> >>> .1.3.6.1.2.1.25.1.33 gpssnmp: ERROR: connection failed  
> >>
> >> Hmm, I see that.  I'll look at it.
> >>
> >> WHile we are talking SNMP, I have been asked where those OIDs came
> >> from?
> >>
> >> RGDS
> >> GARY  
> >
> > Gary,
> >
> > I didn't find example.c in the GIT download.  I've used "find..." 
> > before, but when I saw lib... I thought "that can't be the right 
> > file"...  Thanks for the example URL.
> >
> > Thanks for checking out gpssnmp.c.  The only peculiar thing about
> > this RPi is that ipV6 is disabled, but it was disabled on the
> > previous 3.23 install.
> >
> > The OIDs are invented by me.  If you can find better - more
> > official - ones let's swap.
> >
> > Cheers,
> > David  
> 
> 




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


reply via email to

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