[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Minimum working example for libgps
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] Minimum working example for libgps |
Date: |
Wed, 8 Nov 2017 11:17:41 -0800 |
Yo Hal!
On Wed, 08 Nov 2017 01:33:16 -0800
Hal Murray <address@hidden> wrote:
> > If you think you can do it in one page of code, I'd like to see
> > it.
>
> How is this?
Sorry, I thought you meant an addition to gpsd to keep state. Your
code is just a client thread.
> I'm assuming that the main-loop version had something like
> if gpsd-ready()
> xxx = GetGpsLocation(gps);
>
> where GetGpsLocation() does all the work of dealing with gpsd and
> returns the lat/lon.
Where is GetGPSLocation()? If all the work is there, best not left to
the imagination.
What you did is fine, but all you did is just create a loop, which is
what I have been saying is required.
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
pgpPkCnwQulq6.pgp
Description: OpenPGP digital signature
- Re: [gpsd-dev] Minimum working example for libgps, (continued)
- Re: [gpsd-dev] Minimum working example for libgps, David Huichen Dai, 2017/11/04
- Re: [gpsd-dev] Minimum working example for libgps, Eric S. Raymond, 2017/11/04
- Re: [gpsd-dev] Minimum working example for libgps, Gary E. Miller, 2017/11/04
- Re: [gpsd-dev] Minimum working example for libgps, David Huichen Dai, 2017/11/05
- Re: [gpsd-dev] Minimum working example for libgps, Gary E. Miller, 2017/11/06
- Re: [gpsd-dev] Minimum working example for libgps, Hal Murray, 2017/11/07
- Re: [gpsd-dev] Minimum working example for libgps, Gary E. Miller, 2017/11/07
- Re: [gpsd-dev] Minimum working example for libgps, Hal Murray, 2017/11/07
- Re: [gpsd-dev] Minimum working example for libgps, Gary E. Miller, 2017/11/07
- Re: [gpsd-dev] Minimum working example for libgps, Hal Murray, 2017/11/08
- Re: [gpsd-dev] Minimum working example for libgps,
Gary E. Miller <=
Re: [gpsd-dev] Minimum working example for libgps, Gary E. Miller, 2017/11/03
Re: [gpsd-dev] Minimum working example for libgps, Bernd Zeimetz, 2017/11/25