From: Marco C. <mar...@fa...> - 2005-08-06 21:14:42
|
Probe is not working here: enabling -P result in a can't connect to device error message. Assuming the command ./obexftp -b <devid> -l E:/ is correct for Nokia 6680 here's what I get: (the interesting part is the response code to set path cmd which is 0x06. what does it mean?) Browsing <devid> ... Channel: 10 No custom transport obexftp_cli_open() obexftp_cli_connect_uuid() Connecting...BtOBEX_TransportConnect(): btobex_connect_request(): obex_create_socket(): btobex_connect_request(): transport mtu=1024 obexftp_cli_connect_uuid() BT 1 obex_object_setrsp(): obex_object_setcmd(): 00 obex_insert_connectframe(): obex_object_addheader(): obex_object_addheader(): Fit one packet! obex_object_addheader(): BS header size 16 insert_byte_stream_header(): cli_sync_request() OBEX_Request(): obex_client(): obex_client(): STATE_START obex_object_send(): obex_object_send(): Adding 4 bytes of non-headerdata obex_object_send(): 4 obex_object_send(): Adding non-body header obex_object_send(): Sending package with opcode 128 obex_data_request(): len = 26 bytes obex_transport_write(): do_write(): sending 26 bytes obexftp_sync() OBEX_HandleInput(): obex_transport_handle_input(): obex_transport_handle_input(): Data available on client socket obex_data_indication(): obex_transport_read(): Request to read max 3 bytes obex_data_indication(): Got 3 bytes obex_transport_read(): Request to read max 28 bytes obex_data_indication(): Got 28 bytes msg len=31 obex_client(): obex_client(): STATE_REC obex_client(): We expect a connect-rsp obex_parse_connect_header(): obex_parse_connect_header(): Len: 31 obex_parse_connect_header(): version=10 obex_parse_connect_header(): requested MTU=fa0, used MTU=400 obex_object_receive(): obex_object_receive(): Command has 4 bytes non-headerdata obex_object_receive(): Header: cb obex_object_receive(): Copying 4 bytes obex_object_receive(): Pulling 5 bytes obex_object_receive(): Header: 4a obex_object_receive(): Copying 16 bytes obex_object_receive(): Pulling 19 bytes obex_client(): Done! Rsp=20! client_done() obex_object_getnextheader(): client_done() Found connection number: -1022384746 obex_object_getnextheader(): client_done() Sender identified obex_object_getnextheader(): obex_object_delete(): free_headerq(): free_headerq(): free_headerq(): obexftp_sync() OBEX_HandleInput = 31 obexftp_sync() Done success=1 done Receiving "E:/"... obexftp_setpath() Changing to E:/ Sending "E:"... obexftp_setpath() Setpath "E:" obex_object_setrsp(): obex_object_setcmd(): 05 OBEX_CharToUnicode(): obex_object_addheader(): obex_object_addheader(): Unicode header size 6 insert_unicode_header(): cli_sync_request() OBEX_Request(): obex_client(): obex_client(): STATE_START obex_object_send(): obex_object_send(): Adding 2 bytes of non-headerdata obex_object_send(): 4 obex_object_send(): Adding non-body header obex_object_send(): Sending package with opcode 133 obex_data_request(): len = 14 bytes obex_transport_write(): do_write(): sending 14 bytes obexftp_sync() OBEX_HandleInput(): obex_transport_handle_input(): obex_transport_handle_input(): Data available on client socket obex_data_indication(): obex_transport_read(): Request to read max 3 bytes obex_data_indication(): Got 3 bytes obex_data_indication(): Got 0 bytes msg len=3 obex_client(): obex_client(): STATE_REC obex_object_receive(): obex_client(): Done! Rsp=06! cli_obex_event() OBEX_EV_REQDONE: obex_rsp=06 client_done() obex_object_getnextheader(): obex_object_delete(): free_headerq(): free_headerq(): free_headerq(): obexftp_sync() OBEX_HandleInput = 3 obexftp_sync() Done success=0 failed: E:/ failed: E:/ obexftp_cli_disconnect() Disconnecting...obex_object_setrsp(): obex_object_setcmd(): 01 cli_sync_request() OBEX_Request(): obex_client(): obex_client(): STATE_START obex_object_send(): obex_object_send(): 4 obex_object_send(): Sending package with opcode 129 obex_data_request(): len = 3 bytes obex_transport_write(): do_write(): sending 3 bytes obexftp_sync() OBEX_HandleInput(): obex_transport_handle_input(): obex_transport_handle_input(): Data available on client socket obex_data_indication(): obex_transport_read(): Request to read max 3 bytes obex_data_indication(): Got 3 bytes obex_data_indication(): Got 0 bytes msg len=3 obex_client(): obex_client(): STATE_REC obex_client(): CMD_DISCONNECT done. Resetting MTU! obex_object_receive(): obex_client(): Done! Rsp=20! client_done() obex_object_getnextheader(): obex_object_delete(): free_headerq(): free_headerq(): free_headerq(): obexftp_sync() OBEX_HandleInput = 3 obexftp_sync() Done success=1 done obexftp_cli_close() btobex_disconnect_request(): obex_delete_socket(): btobex_disconnect_server(): obex_delete_socket(): On Saturday 06 August 2005 22:48, Gabriel Ortega wrote: > i have to warn: the probe doesnt work well. only probe with FBS uuid. > finished the FBS uuid probe, the rest (S45, and wihout uuid) doesn't work. > > the result of FBS probe: > Probing with FBS uuid. > No custom transport > Connecting...done > getting null object without type > response code 20 > getting empty object without type > Receiving ""... failed: > response code 43 > getting null object with x-obex/folder-listing type > Receiving "(null)"... failed: (null) > response code 53 > getting empty object with x-obex/folder-listing type > Receiving ""... failed: > response code 53 > getting null object with x-obex/capability type > Receiving "(null)"... failed: (null) > response code 53 > getting empty object with x-obex/capability type > Receiving ""... failed: > response code 53 > getting null object with x-obex/object-profile type > Receiving "(null)"... failed: (null) > response code 43 > getting empty object with x-obex/object-profile type > Receiving ""... failed: > response code 43 > getting telecom/devinfo.txt object > Receiving "telecom/devinfo.txt"... failed: telecom/devinfo.txt > response code 43 > getting telecom/devinfo.txt object with setpath > Receiving "telecom/devinfo.txt"... Sending "telecom"... failed: telecom/ > failed: telecom/ > response code 06 > Disconnecting...done > Allowing 7 seconds for recovery. > > > after that, i deleted the FSB and S45 probes to get working the probe > without FSB. > # ./obexftp -U 1 -P > > Probing without uuid. > No custom transport > Connecting...done > getting null object without type > response code 20 > getting empty object without type > Receiving ""... failed: > response code 43 > getting null object with x-obex/folder-listing type > Receiving "(null)"... <?xml version="1.0"?> > <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd" > [ <!ATTLIST folder mem-type CDATA #IMPLIED> > <!ATTLIST folder label CDATA #IMPLIED> ]> > <folder-listing version="1.0"> > <folder name="C:" user-perm="RW" mem-type="DEV" label="Phone memory"/> > <folder name="E:" user-perm="RW" mem-type="MMC" label=" "/> > </folder-listing>done > response code 20 > getting empty object with x-obex/folder-listing type > Receiving ""... <?xml version="1.0"?> > <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd" > [ <!ATTLIST folder mem-type CDATA #IMPLIED> > <!ATTLIST folder label CDATA #IMPLIED> ]> > <folder-listing version="1.0"> > <folder name="C:" user-perm="RW" mem-type="DEV" label="Phone memory"/> > <folder name="E:" user-perm="RW" mem-type="MMC" label=" "/> > </folder-listing>done > response code 20 > getting null object with x-obex/capability type > Receiving "(null)"... <?xml version="1.0" ?> > <!-- OBEX Capability Object --> > <!DOCTYPE Capability SYSTEM "obex-capability.dtd"> > <Capability Version="1.0"> > <General> > <Manufacturer>Nokia</Manufacturer> > <Model>RH-51</Model> > <SN>353387001546294</SN> > <SW Version="V 4.0421.4" Date="20040522T000000Z"/> > <Language>en</Language> > <Memory> > <MemType>DEV</MemType> > <Location>C:\</Location> > <Free>4692076</Free> > <Used>3559316</Used> > <FileNLen>256</FileNLen> > </Memory> > <Memory> > <MemType>MMC</MemType> > <Location>E:\</Location> > <Free>100028416</Free> > <Used>156454912</Used> > <FileNLen>256</FileNLen> > </Memory> > </General> > > <Service> > <Name>SyncML</Name> > <UUID>SYNCML-SYNC</UUID> > <Version>1.1</Version> > <Object> > <Type>application/vnd.syncml+wbxml</Type> > </Object> > </Service> > > <Service> > <Name>PCCS</Name> > <UUID>F9EC7BC4-953c-11d2-984E-525400DC9E09</UUID> > <Version>1.0</Version> > <Ext> > <XNam>Backup</XNam> > <XVal>File=C:\System\backup.xml</XVal> > </Ext> > </Service> > > <Service> > <Name>Folder-Browsing</Name> > <UUID>F9EC7BC4-953c-11d2-984E-525400DC9E09</UUID> > <Version>1.0</Version> > <Object> > <Type>x-obex/folder-listing</Type> > </Object> > <Ext> > <XNam>Images</XNam> > <XVal>Folder=C:\Nokia\Images\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Graphics</XNam> > <XVal>Folder=C:\Nokia\Images\Backgrounds\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Tones</XNam> > <XVal>Folder=C:\Nokia\Sounds\Digital\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Music</XNam> > <XVal>Folder=C:\Nokia\Sounds\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Videos</XNam> > <XVal>Folder=C:\Nokia\Videos\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Installs</XNam> > <XVal>Folder=C:\Nokia\Installs\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > </Service> > > </Capability> > done > response code 20 > getting empty object with x-obex/capability type > Receiving ""... <?xml version="1.0" ?> > <!-- OBEX Capability Object --> > <!DOCTYPE Capability SYSTEM "obex-capability.dtd"> > <Capability Version="1.0"> > <General> > <Manufacturer>Nokia</Manufacturer> > <Model>RH-51</Model> > <SN>353387001546294</SN> > <SW Version="V 4.0421.4" Date="20040522T000000Z"/> > <Language>en</Language> > <Memory> > <MemType>DEV</MemType> > <Location>C:\</Location> > <Free>4692076</Free> > <Used>3559316</Used> > <FileNLen>256</FileNLen> > </Memory> > <Memory> > <MemType>MMC</MemType> > <Location>E:\</Location> > <Free>100028416</Free> > <Used>156454912</Used> > <FileNLen>256</FileNLen> > </Memory> > </General> > > <Service> > <Name>SyncML</Name> > <UUID>SYNCML-SYNC</UUID> > <Version>1.1</Version> > <Object> > <Type>application/vnd.syncml+wbxml</Type> > </Object> > </Service> > > <Service> > <Name>PCCS</Name> > <UUID>F9EC7BC4-953c-11d2-984E-525400DC9E09</UUID> > <Version>1.0</Version> > <Ext> > <XNam>Backup</XNam> > <XVal>File=C:\System\backup.xml</XVal> > </Ext> > </Service> > > <Service> > <Name>Folder-Browsing</Name> > <UUID>F9EC7BC4-953c-11d2-984E-525400DC9E09</UUID> > <Version>1.0</Version> > <Object> > <Type>x-obex/folder-listing</Type> > </Object> > <Ext> > <XNam>Images</XNam> > <XVal>Folder=C:\Nokia\Images\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Graphics</XNam> > <XVal>Folder=C:\Nokia\Images\Backgrounds\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Tones</XNam> > <XVal>Folder=C:\Nokia\Sounds\Digital\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Music</XNam> > <XVal>Folder=C:\Nokia\Sounds\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Videos</XNam> > <XVal>Folder=C:\Nokia\Videos\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > <Ext> > <XNam>Installs</XNam> > <XVal>Folder=C:\Nokia\Installs\</XVal> > <XVal>MemType=DEV</XVal> > </Ext> > </Service> > > </Capability> > done > response code 20 > getting null object with x-obex/object-profile type > Receiving "(null)"... failed: (null) > response code 43 > getting empty object with x-obex/object-profile type > Receiving ""... failed: > response code 43 > getting telecom/devinfo.txt object > Receiving "telecom/devinfo.txt"... failed: telecom/devinfo.txt > response code 43 > getting telecom/devinfo.txt object with setpath > Receiving "telecom/devinfo.txt"... Sending "telecom"... failed: telecom/ > failed: telecom/ > response code 44 > Disconnecting...done > > 2005/8/6, Christian W. Zuckschwerdt <Chr...@zu...>: > > Hi, > > > > another snapshot is available and it contains a -P switch to automate > > some uuid and object testing. > > > > Marco Canini wrote: > > >One positice note is that with [-l and -l /] I get some results [empty > > > xml] Why should it report an empty root folder? > > > > This happens when the path isn't valid. Perhaps there is no default root > > on Nokia and C: is forbidden without the proper UUID. > > > > cu, > > Christian > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing & QA Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Openobex-users mailing list > > Ope...@li... > > http://lists.sourceforge.net/lists/listinfo/openobex-users -- Marco Canini |