This is an ambitious, but tricky change. When you are happy with it, let me
test it too. I can construct a 2 level network here.

Paul

On 12/15/06, Jan Kandziora <[EMAIL PROTECTED]> wrote:

Am Freitag, 15. Dezember 2006 03:05 schrieb Paul Alfille:
> Jan,
>
> The DS2409 code has been quite a chore to implement. OWFS has the most
> flexible of any implementation I know -- support for unlimitted
branching,
> interleaved bus usage, and lazy bus changes. I'll be interested in any
> improvements you can make, but it isn't easy.
>
I made some progress in catching the "smart-on" problem -- a "single"
implementation in the DS2409 code branch just works as expected, only the
iButton connected to the main branch of the DS2409 responds to a 0x33
"read
ROM" command. Example code is attached.


The needed changes in the BUS_select code could be quite simple, I think.
Just
the final BUS_reset in ow_select.c, line 90 has to be replaced by a more
sophisticated reset method. Pseudocode:

if    last_branch_component(_path_) == "")
   || last_branch_component(_path_) == "bus.n")
  { BUS_reset(); }
else
  {
    Bus_select(last_branch_ds2409(_path_);
    if last_branch_component(_path_) == "main")
     { DS2409_Smart_On_Main(_path_) }
    else
     { DS2409_Smart_On_Aux(_path_) }
  }


I'm digging deeper into the path functions next week, as the
last_branch...
pseudofunctions may be the toughest part to implement.

Kind regards

        Jan
--
Windows ist Kommunismus: Es hört sich gut an, funktioniert aber nicht.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to