Re: Selecting an external USB bluetooth adapter
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