Am Donnerstag, 26. Juli 2012, 17:02:53 schrieb Ray Hunter:
> I am trying to find out why transferring a file that is a 2mb pdf file
> fails, but I am not having much success. I am wondering if anyone
> might point me in the right direction of why it would be failing and
> if there is something that I can do:
> 
> ObexFTP 0.23
> OpenObex 1.3
> device: Intermec CK32

Can you upgrade to OpenObex 1.5 (not 1.6)? Because then...

[...]
> Receiving "CK32_User_Manual.pdf"... obexftp_get_type() Getting
> CK32_User_Manual.pdf -> CK32_User_Manual.pdf ((null))
> cli_sync_request()
> Tx: 83 00 35 CB 00 00 00 4E 01 00 2D 00 43 00 4B 00 33 00 32 00 5F 00
> 55 00 73 00
> Tx: 65 00 72 00 5F 00 4D 00 61 00 6E 00 75 00 61 00 6C 00 2E 00 70 00
> 64 00 66 00
> Tx: 00
> obexftp_sync()
> obexftp_sync() OBEX_HandleInput = 667
> Tx: 83 00 03
> \obexftp_sync() OBEX_HandleInput = 1024
> cli_obex_event() OBEX_EV_REQDONE: obex_rsp=50
> client_done()
> obexftp_sync() OBEX_HandleInput = 3
> obexftp_sync() Done success=0
> failed: CK32_User_Manual.pdf
> obexftp_disconnect()
> Disconnecting...cli_sync_request()
> Tx: 81 00 08 CB 00 00 00 4E
> obexftp_sync()
> client_done()
> obexftp_sync() OBEX_HandleInput = 3
> obexftp_sync() Done success=1
> done
> obexftp_close()

...you can set environment variables for debugging without recompiling:
OBEX_DEBUG=4
OBEX_DUMP=3

The latter is to also get the "Rx:" output from the device, not only just what 
is sent to the device (Tx).

Btw: obex_rsp=50 meanst "Internal Server Error".
That can mean almost anything.

HS


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to