Paul Alfille wrote:
> Slower or faster?
> 1-wire isn't all that fast in the first place, you know.
> I think the SELECT function is used for shorter delays.
Faster, like 1/2 second.  I guess 1 second could work.  It's kind of a 
bummer though as one of the other apps I was working on is data 
acquisition board for race engines, where < 1 second granularity is 
critical.  OTOH, that uses 1wire with a microcontroller, so perhaps the 
dynamics are different.

>     Which leads to a question.  Does the owserver 'push' new data to
>     clients, or does it expect clients to poll?  It seems like it expects
>     clients to poll.....
>
> Pull model. (Like a filesystem).
> Note that 1-wire itself doesn't reliably notify of updates. (A least 
> not in multiuser environment when other data transfer can mask a 
> presence pulse.)
>
Ah, I just need to know when X ibutton appears on the bus so that Y can 
be done.   I find it strange that 1 wire is not reliable as it is used 
for all kinds of automation and stuff like public transport payment 
where presence (or not) would seem to be critical... 

BTW, I've been looking into Inotify 
(http://en.wikipedia.org/wiki/Inotify), but after trying a bunch of 
code, I discovered that Fuse probably does not support it :-(   So back 
to square one (File::Monitor or something + callbacks....).   If you 
have any great ideas on this, please pass them on.

Thx.

Chris.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to