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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to