public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rupesh Gujare" <rupesh_gujare@rediffmail.com>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] How can i change MTU to max value?
Date: 7 Nov 2006 08:28:38 -0000	[thread overview]
Message-ID: <20061107082838.28192.qmail@webmail70.rediffmail.com> (raw)


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

             reply	other threads:[~2006-11-07  8:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07  8:28 Rupesh Gujare [this message]
2006-11-13  8:24 ` [Bluez-devel] How can i change MTU to max value? Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061107082838.28192.qmail@webmail70.rediffmail.com \
    --to=rupesh_gujare@rediffmail.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox