Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-26 Thread Paul Alfille
Great. The swig and owcapi derived programs get it for free: owperl, owphp powpython and owtcl. owfs and owhttpd and ptftpd also now use persistent tcp connections. owshell programs don't need it (they are essentially single shots). So itls only the ownet: OWNet.pm, ownet.py and ownet.php and v

Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-25 Thread Peter Kropf
On 1/25/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > Peter, have you looked persistent tcp connections? The strategy is to set > the persistent bit in the SG parameter of the message, and if it is returned > set, keep the same file descriptor open for the next message. If the next > message fails,

Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-25 Thread Paul Alfille
Found the problem -- it was in swig.i uu unsed by owperl, pwpython and owphp. Fixed in the CVS. I'm working on some "simultaneous" bugs that Chrstian found, then we'll make a new release. Peter, have you looked persistent tcp connections? The strategy is to set the persistent bit in the SG param

Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-25 Thread Peter Kropf
Is he running owpython or owphp? Email seems to indicate owphp but I'm not entirely clear. - Peter On 1/25/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > I'm guessing it's the python interface, since owread and owhttpd seem happy. > > Perhaps we are reading the entire buffer, rather than "size" b

Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-25 Thread Paul Alfille
I'm guessing it's the python interface, since owread and owhttpd seem happy. Perhaps we are reading the entire buffer, rather than "size" bytes. Paul Alfille On 1/24/07, Paul Alfille < [EMAIL PROTECTED]> wrote: Clearly sounds broken. Now to figure where. On 1/23/07, pappapop <[EMAIL PROTECTE

Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-24 Thread Paul Alfille
Clearly sounds broken. Now to figure where. On 1/23/07, pappapop <[EMAIL PROTECTED]> wrote: > > Don't know if this is the right forum... > Have been running owfs (monitoring temperature and switching_on/off in > heatingsystem) since owfs-2.5p6 using owphp/owserver. > > After uppgrading (./bootstra

[Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-24 Thread pappapop
Don't know if this is the right forum... Have been running owfs (monitoring temperature and switching_on/off in heatingsystem) since owfs-2.5p6 using owphp/owserver. After uppgrading (./bootstrap, make, make install) from owfs-2.5p10 to owfs-2.6p0 I get bad values in return from the DS2408_chip: