linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Bluetooth connection too slow
Date: Sat, 26 Nov 2005 19:13:50 +0100	[thread overview]
Message-ID: <1133028830.28718.19.camel@blade> (raw)
In-Reply-To: <1133028275.9123.29.camel@localhost.localdomain>

Hi Mario,

> I recently bought a Bluetooth 2.0 EDR USB adapter (Trust, BT-2200Tp),
> because I wanted to try it out with my new Motorola E1070 (UMTS phone).

you need EDR on both sides to profit from it.

> I tried it out with my Ubuntu linux. The device has been recognized
> properly. Then I tried the Internet connection (with UMTS you can have
> more than 30 kBytes/s). Unfortunately all I could see was a transfer
> rate (taken with wget downloading the kernel sources from a fast mirror)
> of about 9 kB/s. I also tried to do the same with Windows XP and there
> the transfer rate reached about 32 kB/s!! I did the same several times
> and all the times I had the same results.
> Furthermore, I tried to do the same under Linux with a USB connection,
> and I'm getting 32kB/s as well. This brought me to think the bottleneck
> is in the BT connection.
> 
> This is how I'm setting the BT connection:
> $ sudo hcitool cc --role=m 00:0E:A1:45:1F:AE
> $ sudo hcitool auth 00:0E:A1:45:1F:AE
> $ sudo rfcomm bind 00:0E:A1:45:1F:AE
> $ sudo ln -sf /dev/rfcomm0 /dev/modem

The two hcitool commands are not needed. RFCOMM can create the piconet
by itself.

> To dial I'm using exactly the same procedure as when using the USB
> connection (with kppp).
> 
> I'm wondering if I need to tweak some parameter of the bluetooth
> connection. hciconfig gives me many info but I don't know how to
> interpret them and what options to give (where can I find
> documentation?).

If you reach 32 kB/s then this is a good result. With Bluetooth prior
EDR you will reach max something around 80 kB/s, but this is not really
doable with PPP in between. The bottleneck can also be the UART inside
your mobile phone.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-11-26 18:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-26 18:04 [Bluez-users] Bluetooth connection too slow Mario Demontis
2005-11-26 18:13 ` Marcel Holtmann [this message]
2005-11-26 18:27   ` Mario Demontis
2005-11-26 18:32     ` Marcel Holtmann
2005-12-12 21:59       ` Mario Demontis
2005-12-12 23:35         ` 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=1133028830.28718.19.camel@blade \
    --to=marcel@holtmann.org \
    --cc=bluez-users@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;
as well as URLs for NNTP newsgroup(s).