|
From: | teyrana |
Subject: | Re: [gpsd-dev] [RFC] python client patch - reconnect to gpsd |
Date: | Fri, 9 Mar 2018 18:43:15 -0500 |
> This patch enables the python client-side libraries to reconnect to
> gpsd: 1 .This behavior is off by default, and is enabled by passing
> 'reconnect=True' into the gps( ... ) constructor.
Most people are not gonna want to patch the code. Maybe add CLI options
to cgps, xgps, etc.?
I'd be tempted to make the new behavior the default. This is an issue
that has long annoyed people.
How does the user know if he is in disconnected state? cgps and xgps
should notify the user somehow, so he does not wait forever thinking his
connection to gpsd is up.
> 2. I've made an effort to keep the python function API backwards
> compatible. Please let me know if anything is missing.
Well:
# Don't hand-hack this list, it's generated.
I don't see any changes that move the generation from the old place to the
new. Did I miss something? To me this is the blocker, how does that
generation now work?
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
[Prev in Thread] | Current Thread | [Next in Thread] |