On 8/2/07, Matthias Urlichs <[EMAIL PROTECTED]> wrote:
>
> That would allow people to address the devices by position, which is not
> stable -- you insert another device near the beginning and everything
> still works -- but some time later, when the cache for the ordering
> times out, everything is mislabeled.
>
> IMHO it's better to offer a file that shows the ordering, but still
> force everybody to address devices by ID.
>

I think I disagree.  It goes back to the question of why you are using
chaining in the first place.  The only good reason I can think up for doing
it is that you have a product with some kind of fixed layout and wiring and
you want your software to be able to address the devices by where they are
in the wiring.  This relieves you of having to learn the IDs of the devices
that are installed in a particular item and associate them with their
functions in some kind of ROM.  With chaining you don't need the ROM.

So if you are going to change the wiring around by inserting new devices
here and there then there isn't any point to using chaining at all. You are
going to have to update the software to tell it which chain position now
matches which function so you might as well just tell it which ID belongs to
each function. But then you don't need the chain.

Not that it really matters all that much, lol.  I just thought it would be
easier for the software to get the names in order.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to