Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broadcom BT Performance 20x slower than Cambridge Silicon




I have an application in which I use Bluetooth to wirelessly control a robot which also supports Bluetooth. The user can use the keyboard arrows/space bar to drive the robot around and shoot balls much like they would a First Person Shooter video game.

The application works great on Macs with a built-in Cambridge Silicon Bluetooth chip. However, it is dismally slow on the more recent Macs with the Broadcom part. This seems to include MacBook Pro (2008 or later) and MacBook Air. There is so much lag between when the user pushes an arrow key and when the robot responds that the robot is completely uncontrollable. However, if I use a USB Bluetooth dongle that has a Cambridge Silicon part in it, everything works great.

This would indicate that either the Broadcom part or Apple's implementation of the stack for Broadcom have major performance problems.

My application calls IOBluetoothRFCOMMChannelWriteAsync and then looks for the IOBluetoothRFCOMMChannelEventTypeWriteComplete event.
With the Cambridge Silicon part it takes an average of 12.8ms for the Event to come.
With the Broadcom part, it takes and average of 231ms.
This is 20 times longer!
(see the Packet Logger trace attached - tab 1 for Cambridge Silicon, tab 2 for Broadcom).

After finding this, I found at least 3 different forums where people had reported major performance problems with Bluetooth applications when they switched to newer Mac hardware which seems to corroborate my findings.

http://discussions.apple.com/thread.jspa?threadID=1786050
http://www.htcwiki.com/thread/982336/Bluetooth+Tethering+on+a+Mac?offset=20
http://forums.macrumors.com/showthread.php?t=432722

Do any of you know if Apple is aware of / working on this? Have you run into this?
Thanks,
Tony Iglesias

Attachment: Packet logger comparison.pdf
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bluetooth-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.