• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Selecting an external USB bluetooth adapter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting an external USB bluetooth adapter


  • Subject: Re: Selecting an external USB bluetooth adapter
  • From: Matthias Ringwald <email@hidden>
  • Date: Sat, 12 Dec 2009 15:49:39 +0100

Hi Andy

if you really need to use different/external BT adapters, have a look at my BTstack project at http://btstack.googlecode.com

It is aimed at embedded devices, but I do most development/testing on the Mac. For your use case, it has the following "drawbacks"
* it only supports a single BT adapter like the Mac OS X stack - but you could run multiple instances, e.g. one per adapter
* I've implemented the BT USB transport code, but it isn't working yet - shouldn't be too hard, but didn't find time to finish it yet. I'm using a serial BT dongle from 2002, which works fine (http://www.tik.ee.ethz.ch/~beutel/projects/bttester/bt_tester.html)

For more discussion on using BTstack, please join the BTstack mailing list

Best
 Matthias

On Dec 12, 2009, at 1:19 PM, Andy Bloch wrote:

> Thanks.  That will work to manually select the external adapter, but
> it requires a system password so it's probably not a good way for an
> application to switch automatically between devices.  I'd like to do
> it from my Objective-C code.
>
> Ideally, I'd like to access the external adapter outside of the API so
> the internal bluetooth can remain active.  All I really care about is
> opening a connection and getting the RSSI value.
>
> Andy
>
> Personal home page: www.andybloch.com
>
>
>
>
> On Sat, Dec 12, 2009 at 3:16 AM, Matthias Ringwald <email@hidden> wrote:
>>
>> try the "HCI Controller Selector" of the OS "Bluetooth Explorer" tool.
>>
>> Matthias
>> On Dec 12, 2009, at 12:12 PM, Andy Bloch wrote:
>>
>>> How does one disable an internal bluetooth adapter and select an
>>> external one instead?  I have a bluetooth dongle that I want to use.
>>> When I plug it in, OS-X sometimes switches to it, but sometimes
>>> doesn't.  I'd also like to be able to switch between the internal and
>>> external adapter or multiple external adapters.  (I want to be able to
>>> use multiple adapters so I can use multiple directional bluetooth
>>> adapters.)  Primarily I'm interested in getting RSSI signal levels for
>>> proximity detection.
>>>
>>> Ideally it would be nice if the OS-X bluetooth API supported multiple
>>> Bluetooth adapters simultaneously, but according to what I've read in
>>> the archives it doesn't.  (Seems like a poor API design decision to
>>> me.)
>>>
>>> Andy
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Bluetooth-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>

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

This email sent to email@hidden

References: 
 >Selecting an external USB bluetooth adapter (From: Andy Bloch <email@hidden>)
 >Re: Selecting an external USB bluetooth adapter (From: Matthias Ringwald <email@hidden>)
 >Re: Selecting an external USB bluetooth adapter (From: Andy Bloch <email@hidden>)

  • Prev by Date: Re: Selecting an external USB bluetooth adapter
  • Next by Date: IOBluetoothRFCOMMChannel writeSync:length: hangs or crashes
  • Previous by thread: Re: Selecting an external USB bluetooth adapter
  • Next by thread: IOBluetoothRFCOMMChannel writeSync:length: hangs or crashes
  • Index(es):
    • Date
    • Thread