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

ex. get("/29.C8BD0100/sensed.0")
returns "0??" instead of "0" (?=garble-chars)

Is something broken here?

/pontus

-- 
View this message in context: 
http://www.nabble.com/owphp-owfs-2.6p0-DS2408-tf3066337.html#a8528776
Sent from the OWFS - Dev mailing list archive at Nabble.com.


-
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


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 (./bootstrap, make, make install) from owfs-2.5p10 to
> owfs-2.6p0 I get bad values in return from the DS2408_chip:
>
> ex. get("/29.C8BD0100/sensed.0")
> returns "0??" instead of "0" (?=garble-chars)
>
> Is something broken here?

-
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


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 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 (./bootstrap, make, make install) from owfs-2.5p10 to
> owfs-2.6p0 I get bad values in return from the DS2408_chip:
>
> ex. get("/29.C8BD0100/sensed.0")
> returns "0??" instead of "0" (?=garble-chars)
>
> Is something broken here?

-
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


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" 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 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 (./bootstrap, make, make install) from owfs-2.5p10 to
> > > owfs-2.6p0 I get bad values in return from the DS2408_chip:
> > >
> > > ex. get("/29.C8BD0100/sensed.0")
> > > returns "0??" instead of "0" (?=garble-chars)
> > >
> > > Is something broken here?
> >
>
>
> -
> 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


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 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, close and open a new descriptor and try sending again. The
connection may have timed out.

It's implemented in the perl module: OWNet.pm

Paul Alfille

On 1/25/07, Peter Kropf <[EMAIL PROTECTED]> wrote:


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" 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 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 (./bootstrap, make, make install) from owfs-2.5p10to
> > > owfs-2.6p0 I get bad values in return from the DS2408_chip:
> > >
> > > ex. get("/29.C8BD0100/sensed.0")
> > > returns "0??" instead of "0" (?=garble-chars)
> > >
> > > Is something broken here?
> >
>
>
>
-
> 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

-
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


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, close and open a new descriptor and try sending again. The
> connection may have timed out.

I haven't looked at it yet but I should be able to get to it over the weekend.

- Peter

-
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


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 visual basic
modules that could benefit.

Paul Alfille

On 1/26/07, Peter Kropf <[EMAIL PROTECTED]> wrote:


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, close and open a new descriptor and try sending again.
The
> connection may have timed out.

I haven't looked at it yet but I should be able to get to it over the
weekend.

- Peter

-
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