* [Bluez-devel] How can i change MTU to max value?
@ 2006-11-07 8:28 Rupesh Gujare
2006-11-13 8:24 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Rupesh Gujare @ 2006-11-07 8:28 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1.1: Type: text/plain, Size: 3939 bytes --]
Hello all,
I am programming for transferring data between my Linux box and mobile phone. But while transferring large files it takes quiet a few time.
I want to achieve maximum data transfer rates without affecting reliability of system. I am using "object push service" for this. And tried changing default MTU size in /usr/include/openobex/obex_const.h
But got same results.
Can anyone tell me how can i increase MTU size? Or is there any limitation on it? (I think Max. MTU size can be 64k).
Any help or suggestions are appreciated.
(partial) hcidump looks something like this:-
L2CAP(d): cid 0x0040 len 7 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 3 fcs 0x80
< ACL data: handle 1 flags 0x02 dlen 678
< ACL data: handle 1 flags 0x01 dlen 338
L2CAP(d): cid 0x0046 len 1012 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 1007 fcs 0x5a
< ACL data: handle 1 flags 0x02 dlen 25
L2CAP(d): cid 0x0046 len 21 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 17 fcs 0x5a
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 3 fcs 0x80
< ACL data: handle 1 flags 0x02 dlen 678
< ACL data: handle 1 flags 0x01 dlen 338
L2CAP(d): cid 0x0046 len 1012 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 1007 fcs 0x5a
< ACL data: handle 1 flags 0x02 dlen 25
L2CAP(d): cid 0x0046 len 21 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 17 fcs 0x5a
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 3 fcs 0x80
< ACL data: handle 1 flags 0x02 dlen 678
< ACL data: handle 1 flags 0x01 dlen 338
L2CAP(d): cid 0x0046 len 1012 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 1007 fcs 0x5a
< ACL data: handle 1 flags 0x02 dlen 25
L2CAP(d): cid 0x0046 len 21 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 17 fcs 0x5a
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 3 fcs 0x80
< ACL data: handle 1 flags 0x02 dlen 678
< ACL data: handle 1 flags 0x01 dlen 338
L2CAP(d): cid 0x0046 len 1012 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 1007 fcs 0x5a
< ACL data: handle 1 flags 0x02 dlen 25
L2CAP(d): cid 0x0046 len 21 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 17 fcs 0x5a
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 3 fcs 0x80
< ACL data: handle 1 flags 0x02 dlen 678
< ACL data: handle 1 flags 0x01 dlen 338
L2CAP(d): cid 0x0046 len 1012 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 1007 fcs 0x5a
< ACL data: handle 1 flags 0x02 dlen 25
L2CAP(d): cid 0x0046 len 21 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 17 fcs 0x5a
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 8 pf 0 ilen 3 fcs 0x80
< ACL data: handle 1 flags 0x02 dlen 678
< ACL data: handle 1 flags 0x01 dlen 338
[-- Attachment #1.2: Type: text/html, Size: 5131 bytes --]
[-- Attachment #2: Type: text/plain, Size: 373 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] How can i change MTU to max value?
2006-11-07 8:28 [Bluez-devel] How can i change MTU to max value? Rupesh Gujare
@ 2006-11-13 8:24 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-11-13 8:24 UTC (permalink / raw)
To: Rupesh Gujare, BlueZ development
Hi,
> I am programming for transferring data between my Linux box and
> mobile phone. But while transferring large files it takes quiet a few
> time.
> I want to achieve maximum data transfer rates without affecting
> reliability of system. I am using "object push service" for this. And
> tried changing default MTU size in /usr/include/openobex/obex_const.h
> But got same results.
> Can anyone tell me how can i increase MTU size? Or is there any
> limitation on it? (I think Max. MTU size can be 64k).
the maximum MTU is used by default.
Regards
Marcel
-------------------------------------------------------------------------
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
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-13 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 8:28 [Bluez-devel] How can i change MTU to max value? Rupesh Gujare
2006-11-13 8:24 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox