Hello

I tried on my Sheevaplug: (perl 5.10.0, owfs/libow 2.8p13), same problem
than on my Pi:

The "d" of "Hello World" has been replaced by null character 00.

Length seems okay.

See log below:

 DEBUG: ow_cache.c:Cache_Add_Common(650) Add to cache sn FF 7D 08 00 00 01
00 2E pointer=0x4026710c index=0 size=4
   CALL: data.c:DataHandler(152) Write message
  DEBUG: write.c:WriteHandler(52) WriteHandler: hd->sm.payload=45
hd->sm.size=11 hd->sm.offset=0 OWQ_size=11 OWQ_offset=0
OWQ OneWireQuery structure of /uncached/FF.7D0800000100/line16.0
    OneWireQuery size=*11* offset=0, extension=0
Byte buffer OneWireQuery buffer, length=*11*
--000: *48 65 6C 6C 6F 20 57 6F 72 6C 00*
  * <Hello Worl.>*
    Cleanup = 0002    OneWireQuery I=11 U=11 F=5.43472E-323 Y=11 D=Thu Jan
 1 01:00:11 1970

--- OneWireQuery done
  DEBUG: ow_write.c:FS_write_postparse(116) Successful write to
/uncached/FF.7D0800000100/line16.0
  DEBUG: ow_parsename.c:FS_ParsedName_destroy(59)
/uncached/FF.7D0800000100/line16.0
  DEBUG: data.c:DataHandler(197) DataHandler: FS_ParsedName_destroy done
  DEBUG: data.c:DataHandler(211) DataHandler: cm.ret=0
  DEBUG: to_client.c:ToClient(56) payload=0 size=11, ret=0, sg=0x106
offset=0
  DEBUG: data.c:DataHandler(231) Finished with client request



2013/6/28 Jan Kandziora <[email protected]>

> Am 28.06.2013 09:27, schrieb Thomas:
> > Hello Jan,
> >
> > First of all, thank you for feedback.
> >
> > My mistake: I forgot the quote in the $owserver->write command.
> >
> > More info about my install:
> >
> > My Perl is the perl-5.14.2 with last CPAN update.
> > My OWFS is 2.8p15 (RPi default package) , running on Raspbian Raspberry
> Pi
> > (last update)
> >
> > For debugging, strange, when I launch owserver
> >
> > sudo owserver --debug --nozero --fake=FF.7D0800000100
> >
> Try
>
> $ sudo owserver --foreground --error_level=9 --error_print=2 --nozero
> --fake=FF.7D0800000100
>
> instead, just in case --debug means something different in 2.8p15.
>
>
> Kind regards
>
>         Jan
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to