In fact i see a little diference beetween -t and -i connection, it's MTU, 
that why?
I put the -i connection result here :
[EMAIL PROTECTED] eric]# obexftp -i -p NotYet
Connecting...irobex_discover_devices(): Discovered 1 devices :
irobex_discover_devices():   [1] name:  MT170, daddr: 
0xc3963689irobex_discover_devices():
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
obex_data_request(): len = 26 bytes
do_write(): sending 26 bytes
obex_data_indication(): Got 28 bytes msg len=31
Rx: A0 00 1F 10 00 03 F7 4A 00 13 F9 EC 7B C4 95 3C 11 D2 98 4E 52 54 00 DC 
9E 09
Rx: CB 00 00 00 00
obex_parse_connect_header(): version=10
obex_parse_connect_header(): requested MTU=3f7, used MTU=3f7
done
Sending "NotYet"... Tx: 82 00 8F CB 00 00 00 00 01 00 11 00 4E 00 6F 00 74 
00 59 00 65 00 74 00 00 C3
Tx: 00 00 00 6E 49 00 71 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 
30 22
Tx: 3F 3E 3C 21 44 4F 43 54 59 50 45 20 66 6F 6C 64 65 72 2D 6C 69 73 74 69 
6E 67
Tx: 3E 3C 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 20 76 65 72 73 69 6F 6E 
3D 22
Tx: 31 2E 30 22 3E 3C 70 61 72 65 6E 74 2D 66 6F 6C 64 65 72 2F 3E 3C 2F 66 
6F 6C
Tx: 64 65 72 2D 6C 69 73 74 69 6E 67 3E 0A
obex_data_request(): len = 143 bytes
do_write(): sending 143 bytes
obex_data_indication(): Got 0 bytes msg len=3
Rx: A0 00 03
done
Disconnecting...Tx: 81 00 08 CB 00 00 00 00
obex_data_request(): len = 8 bytes
do_write(): sending 8 bytes
obex_data_indication(): Got 0 bytes msg len=3
Rx: A0 00 03
done
[EMAIL PROTECTED] eric]#


>From: "surfzoid surfzoid" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [EMAIL PROTECTED]
>CC: [email protected]
>Subject: [openobex-users] M341 and put function of obexftp
>Date: Fri, 10 Nov 2006 20:45:45 +0000
>
>Since obexftp work with my M341i, i never try the put function i think, and
>it's strance with a -t connection obex server answer with a "non permit"
>response see :
>[EMAIL PROTECTED] eric]# obexftp -t /dev/ttyS70 -p NotYet
>Connecting...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
>obex_data_request(): len = 26 bytes
>obex_data_indication(): Got 28 bytes msg len=31
>Rx: A0 00 1F 10 00 03 C0 4A 00 13 F9 EC 7B C4 95 3C 11 D2 98 4E 52 54 00 DC
>9E 09
>Rx: CB 00 00 00 00
>obex_parse_connect_header(): version=10
>obex_parse_connect_header(): requested MTU=3c0, used MTU=3c0
>done
>Sending "NotYet"... Tx: 82 00 8F CB 00 00 00 00 01 00 11 00 4E 00 6F 00 74
>00 59 00 65 00 74 00 00 C3
>Tx: 00 00 00 6E 49 00 71 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E
>30 22
>Tx: 3F 3E 3C 21 44 4F 43 54 59 50 45 20 66 6F 6C 64 65 72 2D 6C 69 73 74 69
>6E 67
>Tx: 3E 3C 66 6F 6C 64 65 72 2D 6C 69 73 74 69 6E 67 20 76 65 72 73 69 6F 6E
>3D 22
>Tx: 31 2E 30 22 3E 3C 70 61 72 65 6E 74 2D 66 6F 6C 64 65 72 2F 3E 3C 2F 66
>6F 6C
>Tx: 64 65 72 2D 6C 69 73 74 69 6E 67 3E 0A
>obex_data_request(): len = 143 bytes
>obex_data_indication(): Got 0 bytes msg len=3
>Rx: C6 00 03
>failed: NotYet
>Disconnecting...Tx: 81 00 08 CB 00 00 00 00
>obex_data_request(): len = 8 bytes
>obex_data_indication(): Got 0 bytes msg len=3
>Rx: A0 00 03
>done
>[EMAIL PROTECTED] eric]#
>
>Also if i use -i connection the file is put correctly on the fone with
>exactly the same obex frame for connection and send command.
>Do you know why ?
>
>_________________________________________________________________
>Retrouvez tout en un clin d'œil avec Windows Desktop Search !
>http://desktop.msn.fr/
>
>
>-------------------------------------------------------------------------
>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

_________________________________________________________________
Découvrez un moyen pour éliminez tous les virus de votre PC ! 
http://safety.live.com/site/fr-FR


-------------------------------------------------------------------------
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