On Thu, Aug 4, 2011 at 7:27 PM, Mark Richards
<[email protected]>wrote:
> On 8/4/2011 19:09, Paul Alfille wrote:
>
> Sorry for the poor documentation.
>
> I know that this is one of the most difficult parts of any project. May I
> be of some help?
>
> Please. Would you like edit access to the website? Or send me anything you
generate and I'll post it.
> owfs will show a "union" view of all the 1-wire buses. Internally it
> keeps track of the specific bus a device is on and will send read/write
> requests to the correct bus. If you wish you can refer to the device more
> specifically on the relevant bus (i.e. bus.0/10.234234234234 vs
> 10.234234234234) but the function is identical.
>
> So as I read your explanation:
> /uncached/bus.0/1F.5A1D02000000 is identical to
> /uncached/1F.5A1D02000000
> and
> /uncached/bus.1/1F.6A1D02000000 is identical to
> /uncached/1F.6A1D02000000
>
> i.e., with two active adapters (buses) /uncached will show each device in
> /uncached as if I were looking at bus.[n]/?
>
> Yes.
>
> What happens if the volatile cache timeout is 10 seconds and yet we have a
> raft of devices that cannot all possibly be converted within the timeout?
>
>
> The caching is only used for the next read, which would happen after the
value has timed out in your example.
Note that more than one process/thread can request data, so it's possible
that another process could use the cached value while the first process is
still acquiring other data.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers