From: Paul A. <pau...@gm...> - 2011-08-23 17:14:19
|
For the most part, the bus masters don't announce that they have been reset. If there are persistent errors in transmission, owfs tries to reinitialize the bus master (close and open the channel). I don't know if this resets slaves, but it certainly could be reported (perhaps an entry under interface that is incremented each time the bus master is re-opened.) Can you describe more about the circumstances around the slave resets? Paul On Tue, Aug 23, 2011 at 11:19 AM, ekgnkb3d <ac...@gm...> wrote: > > Hi all, > a lot of the 1-Wire output devices need internal configuration to specify > the behavior. This configuration bytes need to be transferred before > outputting the value (e.g. a BAE0910 needs configuration of the PWM > frequency). > To reduce load on 1-Wire bus, I don't want to send all this configuration > on > each value update again, so I only send the changed value, when it changed. > > This all works until the bus is disconnected, maybe only for a short time - > but due to the power drop all the configuration in the device is usually > lost. The next time a value update arrives it is usually accepted without > any error but the device behaves not as expected (due to default > configuration). > > Is there a general way to detect that the device configuration needs to be > resend? A kind of "power-on-reset detect".... > I guess this is important for all output devices as well as for some more > complex input devices to prevent a manual reset of the application. > > Thanks > Achim > -- > View this message in context: > http://old.nabble.com/How-to-detect-lost-configuration-%28e.g.-in-BAE0910%29-tp32319775p32319775.html > Sent from the OWFS - Dev mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers > |