Re: [Owfs-developers] OWNet write error

2010-06-16 Thread Paul Alfille
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

Re: [Owfs-developers] OWNet write error

2010-06-16 Thread Pascal Brugier
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

Re: [Owfs-developers] OWNet write error

2010-06-16 Thread Paul Alfille
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

Re: [Owfs-developers] OWNet write error

2010-06-16 Thread Pascal Brugier
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