[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to build min gpsd feed server?
From: |
Gary E. Miller |
Subject: |
Re: How to build min gpsd feed server? |
Date: |
Sun, 6 Dec 2020 10:01:20 -0800 |
Yo Владимир!
On Sun, 6 Dec 2020 15:02:40 +0300
Владимир Калачихин <v.kalachikhin@gmail.com> wrote:
> 02.12.2020 16:05, Владимир Калачихин пишет:
> > What should it be minimal functionality ?
>
> I test such construct:
> MyFakeGPSD <-> gpsd:// <-> gpsd <-> telnet
>
> It's works, but if end client (telnet) died - gpsd no send to slave
> (MyFakeGPSD) anything. He just close socket with the slave after a
> timeout.
>
> Is this behavior correct?
We can debate if it is correct, but that is the way gpsd has been
forever.
gpsd gets data from the data source, and passes it on. gpsd does not
create data. If no data in then no data out.
Clients need to keep tracak of timestamps and implement their own
timeouts.
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
pgpV3WK7AxH3E.pgp
Description: OpenPGP digital signature