On 05.09.2018 11:00, Jan Kandziora wrote: > Yes, exactly. But that's what a clever designed library can assist the > application programmer. By requiring him to think about the logical > abstraction of a whole device first, not just a Onewire slave.
Well, I can't help with "requiring". But once the logical abstraction is established, the 1wire library needs to fit into the concrete code that maintains the abstraction in a way that won't require it [more than absolutely necessary] to pay attention to 1wire-specific issues like co-ordinating scanning /alert or writing to /simultaneous, and which won't break [more than unavoidably] when Things Happen to the bus. And that in turn requires more support from the 1wire library than the ability to call read, write, and getdir. That's the easy part. -- -- Matthias Urlichs
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers