On Sat, Mar 19, 2011 at 11:59:59PM +0100, Vincent Danjean wrote:
> > Got it, and I take it owfs automatically does 'alarmed only' searches on its
> > own on 1sec interval or somesuch.
> 
> No. owfs does nothing on its own. It does 'alarmed only' searches when you
> ask it to list the contents of an alarm/ directory.
 
Gotcha. So if I poll an alarm directory once a second, it will poll that
bus, or hub sub-branch once a second.
If I only have a single DS2408 to poll for I/O state though, it sounds like
the bus traffic from my polling for alarm may not be much less than my
polling the DS2408 directly.
If I understand correctly, though, it will be faster to poll alarm for a
bunch of DS2408 all at once, and then talk to the one that triggered an
alarm if need be, but if you only havea a single one it may not be worth it.

> If I understand correctly (I also have a hub), each DS2409 allows to have
> two separate branches (main and aux) that can and must be scanned separately
> from the global 1-wire network.

Yes, that's correct.

>   If you want to enumerate devices on a subbranch, devices on other branches
> will not be involved. But if you want to scan on all your devices, you will
> have to do it on all DS2409 branches.

That is also correct.

Since my DS2408 is by itself on its own branch, it sounds like scanning that
branch for alarm or scanning the DS2408 for I/O status will likely take
about the same amount of time (or close to it).

Thanks for the info,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to