Re: [Bluez-users] How to configure a 723kbps connection?

Marcel Holtmann
2004-02-17T11:52:57Z

Hi Matt,

> > what iPAQ is this?
>
> 2215 running ppc2003

please run "hcitool info <bdaddr>" to show us what kind of Bluetooth
chip is inside. I think it is a Zeevo one.

> > In general this is not needed, because the link manager should choose
> > the best package types for you.
>
> I think it's not working for me. Here's my setup:

It can happen, because some link managers only does this right when they
are connected to there own dongles.

> linux 2.6.2 + USB bluetooth dongle (Actiontec); no other USB devices
> connected
>
> # hciconfig -a
> hci0: Type: USB
> BD Address: 00:20:E0:3A:2E:57 ACL MTU: 2000:32 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN AUTH ENCRYPT
> RX bytes:1717240 acl:19853 sco:0 events:99969 errors:0
> TX bytes:25192308 acl:134411 sco:0 commands:57 errors:0
> Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy: HOLD SNIFF PARK
> Link mode: ACCEPT MASTER
> Name: 'sermons.desiringGod.org-0'
> Class: 0x000104
> Service Classes: Unspecified
> Device Class: Computer, Desktop workstation
> HCI Ver: 1.1 (0x1) HCI Rev: 0x322 LMP Ver: 1.1 (0x1) LMP Subver: 0x322
> Manufacturer: Cambridge Silicon Radio (10)
>
> (The default ACL MTU is 192:8; I tried cranking it up to no avail.)

Don't change the MTU. This is not a value you can change. Leave it alone
until you really know what it does.

> For a poor man's throughput test I'm downloading a 7M mpeg file, both
> through Pocket IE and by having Pocket TV stream it from my 100Mbps LAN.
> I'm running "nload -o 800 -t 250 xl0" and watching the outgoing avg in
> kbit/s.
>
> No matter what I do, the average caps out at about 265kbps. I've tried all
> the following in various combinations:
>
> hcitool cpt ipaqbdaddr dh5
> hcitool cpt ipaqbdaddr dm5
> hciconfig hci0 ptype dh5
> hciconfig hci0 ptype dm5
> hciconfig hci0 aclmtu 2000:32
>
> Running "hcitool cpt ipaqbdaddr dm1" does slow the transfer down, but
> nothing gets it going faster than 265kbps. I think I have a good link:

The Bluetooth 1.2 spec makes it clear that the DM1 will be always
allowed not matter what you give as packet types.

> # hcitool rssi 00:04:3E:81:90:E0
> RSSI return value: 0
> # hcitool lq 00:04:3E:81:90:E0
> Link quality: 255
> # hcitool tpl 00:04:3E:81:90:E0
> Current transmit power level: -8
>
>
> Does all this mean that my ipaq has a slow UART?

No, because the link quality and the RSSI has nothing to do with the
choosen packet type.

Regards

Marcel