Besides including David Torrey's fix for the TIA8570 barometer, this release includes "owserver loop suppression."
Owservers can connect to 1-wire bus maters, as well as other owservers. If you aren't careful, you could make a loop with an owserver connecting in a chain that eventually led back to itself. Any 1-wire query would travel around that loop indefinitely.
The loop suppression is surprisingly simple. owserver adds it's (hopefully) unique tag to the end of every outgoing message, and searches for it's tag on incoming messages, returning an error if it sees it's tag again. The version field encodes the tag string length so the current version is backwards compatible.
The tags are 16bytes. There is interesting information on UUIDs (universally unique identifiers) but it adds another library dependency so currently we use just PID and jiffies count for the unique identifier.
The real impetus for this is to add "autodiscovery" usng mDNS (aka zerconf, Bonjour,...) for owservers and owhttpd and allow owfs programs to link to owservers as they become available. Such ad-hoc networks are at real risk for loops (imagine 2 owservers discovering each other).
Paul Alfille
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
