Hello Hans,

FFFFFFB6 is -74, an error indication. It's actually EBADMSG

Looking through the code, I think the payload length of 0 is causing this.
You need to send a directory path. Even a zero-length path with a trailing
null should work, but "/" would be the proper initial path.

Paul


On Tue, Mar 12, 2013 at 4:58 AM, Hans Erik Busk <[email protected]> wrote:

> I am trying to develop a delphi component (in Windows7) to communicate
> with owserver over TCP, using a delphi TCP-client wrapper/component.
>
> Just to start I am just sending a simple "dir" type message with the
> data content as follows (cut and paste from a WireShark logging), the
> datapart of the message in []:
>
> 0030  fa f0 71 80 00 00) [00 00  00 00 00 00 00 00 00 00   ..q.....
> ........
> 0040  00 04 00 00 00 01 00 00  00 00 00 00 00 00]         ........
>
> But the response from owserver is just (in WireShark):
>
> 0030  39 08 33 9e 00 00) [00 00  00 00 00 00 00 00 ff ff   9.3.....
> ........
> 0040  ff b6 00 00 00 01 00 00  00 00 00 00 00 00]         ........ ......
>
> the ff ff ff b6  is the return value part of the fixed header, but I
> have not succeded in finding the meaning of that value.
>
> I hope someone can help or give a hint, as this is really a blocking
> problem :-)
>
> owserver version 2.9p0 is running on piRaspberry, and I have no problem
> reading temperatures with owread locally.
>
> --
> --
> Med venlig Hilsen
> Hans Erik Busk
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to