btobex and fisio820/825
Hi all,
I tried to transfer some pictures from my PC to my fisio 825 with btobex. I had to change a little bit the obex.c file to make it work.
I removed the first OBEX_ObjectAddHeader call :
//OBEX_ObjectAddHeader(handle, object, // OBEX_HDR_CONNECTION, hd, 4, OBEX_FL_FIT_ONE_PACKET);
and I replaced OBEX_FL_FIT_ONE_PACKET by 0 in the others OBEX_ObjectAddHeader call.
I tried to understand what does mean the OBEX_HDR_CONNECTION in reading OBEX spec, but I still do not understand why this OBEX header makes the transfer failed.
Does anybody have experience on transfering files with an other phone ? Is the transfer failing due to a limitation of the OBEX implementation in fisio ?
Cheers
Cedric
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hello,
Quoted 8 lines
I tried to transfer some pictures from my PC to my fisio 825 with btobex. I had to change a little bit the
obex.cfile to make it work.I removed the first
OBEX_ObjectAddHeadercall ://OBEX_ObjectAddHeader(handle, object, // OBEX_HDR_CONNECTION, hd, 4, OBEX_FL_FIT_ONE_PACKET);and I replaced
OBEX_FL_FIT_ONE_PACKETby 0 in the othersOBEX_ObjectAddHeadercall.
I have tested btobex with my T68i, and a custom device running BlueZ, and I have the same problem as you.
Your patch correct the problem, and after that, btobex is working with both my T68i and our custom device.
Marcel, can you see if this is a correct patch, or where is the problem with btobex ?
Thanks in advance.
Olivier
Signature · 4 lines
Olivier Bornet http://www.smartdata.ch/ [email protected] SMARTDATA SA Phone: +41-27-723'55'03 Rue du Collège 5A GPG key ID: C53D9218 CH-1920 Martigny