Am 04.07.2017 um 17:38 schrieb Nigel Titley:
> Folks, I'm trying to add a new 1-wire device to OWFS and thrashing
> around trying to make a start. I've tried looking at the code for
> various devices and can sort of see how it hangs together but I wondered
> if there was a guide anywhere (unlikely, I know) or any suggested order
> of reading of code or *anything* really. I'm sure once I start to get
> the feel of it I'll be Ok but at the moment I'm just thrashing.
> 
No, there isn't a guide on writing OWFS drivers as far as I'm aware of.

My advice is to take the module/owlib/src/c/ow_2450.c file as a
template. It has a clear structure, touches a lot of subsystems and you
can leave out things you don't need easily.

What does your device do?

Kind regards

        Jan

------------------------------------------------------------------------------
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

Reply via email to