Return-Path: Subject: Re: [Bluez-users] How to configure a 723kbps connection? From: Marcel Holtmann To: grpmind+bluez.users@boromir.vpop.net Cc: BlueZ Mailing List In-Reply-To: <200402171142.i1HBgRV5023132@mail.holtmann.net> References: <200402171142.i1HBgRV5023132@mail.holtmann.net> Content-Type: text/plain Message-Id: <1077018777.2841.5.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 17 Feb 2004 12:52:57 +0100 Hi Matt, > > what iPAQ is this? > > 2215 running ppc2003 please run "hcitool info " 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 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users