gpsd-users
[Top][All Lists]
Advanced

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

Re: open SHM data only after cgps start


From: Gary E. Miller
Subject: Re: open SHM data only after cgps start
Date: Sat, 6 Feb 2021 16:51:21 -0800

Yo Hans!

On Sat, 6 Feb 2021 23:00:56 +0100
Hans Kurscheidt <lve0200@gmail.com> wrote:

> Sorry Gary, you're giving me a hard time. As a long lasting UNIX
> expert you can't read plain vanilla C?? Are you trolling me??

I have age related macular degeneration, cataracts almost due for
surgery, 12.5 diopters of near sightness, and 2.5 diopters of
astihmayism.  So, yes, I am giving you are hard time that I can not read
a low contrast screen shot that is much larger than my screen that uses
a small type face.

Plain text only please.

> May be you don't know VisualStudio, but C is C!

But blue on purple looks like jello to me.  I can't debug jello.

You want my help, send me plain text  With plain text I can compile it
on my end, insert debug statements, comment the code, and learn how
it works.  I can't do any of that from a screen shot that I can not
read.

> The data sample was taken after:

I just got the screen shot, no data sample.

> During the time the GPS device was searching for a fix, the
> mode/status data was correct! The inconsistent data remained
> inconsistent over 30 min, after the GPS LED on the device itself
> flagged an available fix and gpsd was incorrectly showing mode=3 and
> status =1, but Lat/Log=0.

Send me your text output and I'll look at it.

> As I said b4, as an end-user I am not supposed to dive into the gpsd 
> code to its full extend.

So why are you?

> I therefore don't know, how you mutex the 
> writing to the SHM.

You don't  need to, libgps handles that.  Not a mutex as many systems
do not do not support them.

> In any case, my APP wouldn't mind to get a
> mixture of t0 and t-1 data, as long as the data is reasonable. Mode=3
> and status=1, but Lat/Log data =0 while Satellites-used is happily
> updated every second, is not acceptable, unless for the very 1st read.

I'd love to help you, but until I can see what you are doing I can not.

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


reply via email to

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