From: Ray H. <ray...@ve...> - 2012-07-26 23:50:01
|
Hendrik, Here is what I get now: /usr/local/obexftp-0.23/bin/obexftp -v -b 00:19:88:01:63:28 -B3 -c PDF_FILES -g test.pdf -o test.pdf obexftp_open() obexftp_connect_src() Connecting...obexftp_connect_src() BT 1 cli_sync_request() Tx: 80 00 1A 10 00 04 00 46 00 13 F9 EC 7B C4 95 3C 11 D2 98 4E 52 54 00 DC 9E 09 \obexftp_sync() client_done() client_done() Sender identified client_done() Found connection number: 136 obexftp_sync() OBEX_HandleInput = 31 obexftp_sync() Done success=1 done Tried to connect for 402ms obexftp_setpath() Changing to PDF_FILES Sending "PDF_FILES"... obexftp_setpath() Setpath "PDF_FILES" cli_sync_request() Tx: 85 00 21 02 00 CB 00 00 00 88 01 00 17 00 50 00 44 00 46 00 5F 00 46 00 49 00 Tx: 4C 00 45 00 53 00 00 |obexftp_sync() client_done() obexftp_sync() OBEX_HandleInput = 3 obexftp_sync() Done success=1 done Receiving "test.pdf"... obexftp_get_type() Getting test.pdf -> test.pdf ((null)) cli_sync_request() Tx: 83 00 1D CB 00 00 00 88 01 00 15 00 74 00 65 00 73 00 74 00 2E 00 70 00 64 00 Tx: 66 00 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=53 client_done() obexftp_sync() OBEX_HandleInput = 3 obexftp_sync() Done success=0 failed: test.pdf obexftp_disconnect() Disconnecting...cli_sync_request() Tx: 81 00 08 CB 00 00 00 88 \obexftp_sync() client_done() obexftp_sync() OBEX_HandleInput = 3 obexftp_sync() Done success=1 done obexftp_close() I have the env set for debug and dump, but I dont see Rx output. I do see that I am getting obex_rsp=53 as part of the output. Is there something that I am missing here. Thanks, -- Ray On Thu, Jul 26, 2012 at 1:36 PM, Hendrik Sattler <po...@he...> wrote: > 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 > |