Page 1 of 1

Patch for making z-agent reconnect

Posted: 31 Dec 2012 03:55
by gaspode
Hi,

I got a bit tired of the z-agent not reconnecting after my Internet connection gets issues, so I added a reconnect option to the Unix version of z-agent.
Patch against the current version of the Z-Connector package is available here https://dl.dropbox.com/u/50524858/reconnect.patch in case someone else finds it useful.

Also, as the _sleep definition in common.h didn't seem to work on my Debian box, I redefined that to use sleep rather than usleep. This may or may not be supported on other Unixes of course.

Looks interesting. I hope the

Posted: 31 Dec 2012 03:55
by pz1
Looks interesting. I hope the originators of Zwave.Me will give this a try. If positive they could consider to incorporate it in the standard distribution. Unfortunately I do not feel comfortable to compile this patch myself at the moment.

Thanks! Great job!

Posted: 31 Dec 2012 03:55
by pvdspek
I hope the patch will be included into a new version of Z-Agent for Windows and Mac very soon as well...

Hi, could you add those

Posted: 31 Dec 2012 03:55
by jussiva
Hi, could you add those changes to my google.code GIT repository? ->
https://code.google.com/p/z-cloud/source/checkout