Patch for making z-agent reconnect

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
Posts: 1
Joined: 29 Dec 2012 01:07

Patch for making z-agent reconnect

Post by gaspode » 31 Dec 2012 03:55


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 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.

Posts: 2053
Joined: 08 Apr 2012 13:44

Looks interesting. I hope the

Post by pz1 » 31 Dec 2012 03:55

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.
Since 29-12-2016 I am no longer a moderator for this forum

Posts: 20
Joined: 17 Jun 2011 11:52

Thanks! Great job!

Post by pvdspek » 31 Dec 2012 03:55

I hope the patch will be included into a new version of Z-Agent for Windows and Mac very soon as well...

Posts: 17
Joined: 26 Nov 2012 18:07

Hi, could you add those

Post by jussiva » 31 Dec 2012 03:55

Hi, could you add those changes to my google.code GIT repository? ->

Post Reply