Manuel,

the 194 is not important. I'll give you a break down:

90 => 80: final packet for this command + 10: more packets to come
00 C2 => 194 byte in this packet
C3 => object (overall payload) length is 00 00 00 AC = 172
CB => conn id 00 00 E9 0F
42 => type (length 00 19) "x-obex/folder-listing"
48 => body (length 00 9C = 156) ...

So this packet contains a body with 153 bytes payload from 172 bytes 
overall.
The next packet will contain 19 bytes body, likely "</folder-listing>\r\n".

Be careful reading the dump below. The wrapping is wrong.

HTH,
Christian

Manuel Francisco Naranjo schrieb:
> obex_data_indication(): Got 68 bytes msg len=194
> Rx: 90 00 C2 C3 00 00 00 AC CB 00 00 E9 0F 42 00        ..............B
> Rx: 19 78 2D 6F 62 65 78 2F 66 6F 6C 64 65 72 2D        ..x-obex/folder
> Rx: 6C 69 73 74 69 6E 67 00 48 00 9C 3C 66 6F 6C        -listing.H..<fo
> Rx: 64 65 72 2D 6C 69 73 74 69 6E 67 3E 0D 0A 3C        lder-listing>..
> Rx: 66 69 6C 65 20 6E 61 6D 65 3D 22 41 49 52 63        <file name="AIR
> Rx: 61 62 6C 65 2E 62 61 73 22 20 63 72 65 61 74        cable.bas" crea
> Rx: 65 64 3D 22 32 30 30 35 30 34 32 39 54 31 30        ted="20050429T1
> Rx: 34 38 30 30 5A 22 20 73 69 7A 65 3D 22 31 36        04800Z" size="1
> Rx: 33 38 34 22 2F 3E 0D 0A 3C 66 69 6C 65 20 6E        6384"/>..<file
> Rx: 61 6D 65 3D 22 63 6F 6E 66 69 67 2E 74 78 74        name="config.tx
> Rx: 22 20 63 72 65 61 74 65 64 3D 22 32 30 30 35        t" created="200
> Rx: 30 34 32 39 54 31 30 34 38 30 30 5A 22 20 73        50429T104800Z"
> Rx: 69 7A 65 3D 22 31 30 32 34 22 2F 3E 0D 0A           size="1024"/>.
>
> Aparently the device is telling that it will send only 194 bytes, 
> which as you can see don't include the </folder-listing>,


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to