Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-14 Thread 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. Paul Alfille On 12/14/06, J

Re: [Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Paul Alfille
I've applied the origical patch. As soon as we get the simultaneous/single and simultaneous/present stable, I'll make another release. Paul On 12/14/06, Jan Kandziora <[EMAIL PROTECTED]> wrote: Am Donnerstag, 14. Dezember 2006 23:52 schrieb Jan Kandziora: > Ahhh, forget the previous posting

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 12:33 schrieb Jan Kandziora: > > But from the problems we encounter I think the following is done when > reading "1F./simultaneous/single" > > Byte 0 0x55 ROM Command (Match ROM) > Byte 1 0x1F Family Code (DS2409) > Byte 2..7 ID > Byte

Re: [Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 23:52 schrieb Jan Kandziora: > Am Donnerstag, 14. Dezember 2006 22:29 schrieb Paul Alfille: > > Jan, > > > > Thank you very much! > > I think I found another occurrence of this bug. As the discharge lines > command is not really needed for branch turnoff, I left it

Re: [Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 22:29 schrieb Paul Alfille: > Jan, > > Thank you very much! > I think I found another occurrence of this bug. As the discharge lines command is not really needed for branch turnoff, I left it out. diff -Naur owfs.orig/module/owlib/src/c/ow_select.c owfs/module/

Re: [Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Paul Alfille
Jan, Thank you very much! Paul Alfille On 12/14/06, Jan Kandziora <[EMAIL PROTECTED]> wrote: Hi All, Hi Paul I think I found a bug in the DS2409 code. According to the datasheet, the discharge lines command is 0x99, not 0xCC (that's Smart-On Main). Proposed patch: --- owfs.orig/module/owli

[Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Jan Kandziora
Hi All, Hi Paul I think I found a bug in the DS2409 code. According to the datasheet, the discharge lines command is 0x99, not 0xCC (that's Smart-On Main). Proposed patch: --- owfs.orig/module/owlib/src/c/ow_2409.c 2006-12-14 20:50:04.0 +0100 +++ owfs/module/owlib/src/c/ow_2409.c

Re: [Owfs-developers] Proposed Enhancement: "read_ROM" node in simultaneous directories

2006-12-14 Thread Jan Kandziora
Am Mittwoch, 13. Dezember 2006 23:09 schrieb Paul Alfille: > Look at http://owfs.sourceforge.net/commands.html > It is a list of devices and the listed command codes. > 0x0F for read_ROM works only for DS2401 (and DS2400 I guess). > 0x33 works for almost all chips, except > DS1821 (thermometer do