Object methods are having trouble too, using # owserver new my $owserver; $owserver = OWNet->new('192.168.0.54:4304 -v') or $owserver = " ip error"; print "\towserver new >$owserver\n"; print "\towserver new > ", $!, "\n\n";
# present $io_1_8_Pio3 = $owserver->present('/29.9D6D04000000/PIO.3') or $io_1_8_Pio3 = " presence error"; print "\tPio present >$io_1_8_Pio3\n"; print "\tPio present returned > ", $!, "\n\n"; # read $io_1_8_Pio3 = $owserver->read('/29.9D6D04000000/PIO.3') or $io_1_8_Pio3 = " read error"; print "\tPio read >$io_1_8_Pio3\n"; print "\tPio read returned > ", $!, "\n\n"; # write $io_1_8_Pio3 = $owserver->write('/29.9D6D04000000/PIO.3', '1') or $io_1_8_Pio3 = " write error"; print "\tPio write >$io_1_8_Pio3\n"; print "\tPio write returned > ", $!, "\n"; *** gets this 1wire server ip > 192.168.0.54:4304 owserver new >OWNet=HASH(0xa176880) owserver new returned > Pio present >1 Pio present returned > Trouble getting data back Connection reset by peer after 24 of 24 at /usr/local/share/perl/5.10.0/OWNet.pm line 340. Trouble getting header Connection reset by peer at /usr/local/share/perl/5.10.0/OWNet.pm line 357. Pio read > read error Pio read returned > Connection reset by peer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers