Hi Paul,
On Wed, 16 Jun 2010 10:09:32 -0400, Paul Alfille
wrote:
> die "No owserver available\n" if length($ow->dir("/settings"))==0 ;
It works and I can use "$!", thank you.
Regards,
Pascal.
--
ThinkGeek and WIRED's
my $ow->OWNet->new("4304") ;
# Test owserver response -- "/settings" always available and requires no
1-wire bus activity
die "No owserver available\n" if length($ow->dir("/settings"))==0 ;
Tested and seems to work. I could make this activity hidden within the OWNet
code, but it's what would be r
On Wed, 16 Jun 2010 07:16:16 -0400, Paul Alfille
wrote:
> Can you tell me what behavior you would like? I'll be glad to implement.
Well If I can use somthing like :
my $owserver = $self->{_owserver} = OWNet->new($server)
or die "connection error: $!\n";
it will be very interesting.
I hope i
Can you tell me what behavior you would like? I'll be glad to implement.
Note that the owserver protocol doesn't really have a "valid connection"
mode, so OWNet->new isn't really generating any network activity. Couldn't
you just try to get a directory listing first and see if any of the expected
Hello,
On Mon, 14 Jun 2010 21:58:44 -0400, Paul Alfille
wrote:
> Found the error.
> Fixed the write problem
That's ok, it works fine :).
I didn't test other addons.
I've a question about the connection at owserver->new
As I said I try to make an xpl-owserver instead of xpl-owfs so, if I use
Hi,
On Mon, 14 Jun 2010 21:58:44 -0400, Paul Alfille
wrote:
> Found the error.
>
> Just uploaded OWNet.pm version 1.20 to CPAN (and it's in the CVS and
will
> be
> included in the next release).
>
> Fixed the write problem
> Added optional offset to write
> Added optional size and offset to rea
Found the error.
Just uploaded OWNet.pm version 1.20 to CPAN (and it's in the CVS and will be
included in the next release).
Fixed the write problem
Added optional offset to write
Added optional size and offset to read
Added "-slash" to more easily tell which directory elements are themselves
dir
> Can you describe the problem in a little more detail? Or help me
identify
> the original report?
Off course :)
The subject was " Problem with OWNet::write"
Archives messages are available here :
http://www.mail-archive.com/owfs-developers@lists.sourceforge.net/msg05198.html
In fact I've got
Can you describe the problem in a little more detail? Or help me identify
the original report?
Thanks,
Paul Alfille
On Sun, Jun 6, 2010 at 10:56 AM, Pascal Brugier wrote:
> Hello,
>
> I found a message about this problem in the mailing list archives.
> I've tried to made an xpl-perl module using
Hello,
I found a message about this problem in the mailing list archives.
I've tried to made an xpl-perl module using owserver instead of owfs with
the OWNet perl module.
I've found the same problem about writing to a sensor and the return error
code when intialising the connexion if I use a bad
10 matches
Mail list logo