views:

1586

answers:

6

So an iPhone can pair with a bluetooth headset and use it to make calls (although an iPod touch with the 3.0 OS can not pair with a headset, go figure).

But can I write an app that can access paired blue-tooth devices and their functionality (like the mic input from a headset).

This would be useful in VOIP apps or even multi-player games being played over WiFi that could use voice chat.

A: 

No, i don't think so.
But you still can use the mic if there is a headset it will use it.

CiNN
+1  A: 

I think so, but I'm not sure.

The very high level information is here: http://developer.apple.com/iphone/program/sdk/

The documentation for the new framework is here, you might have to log into the iPhone dev program to view it, I'm not sure:

http://developer.apple.com/iphone/library/documentation/ExternalAccessory/Reference/ExternalAccessoryFrameworkReference/ExternalAccessoryFrameworkReference.pdf

Hope this helps.

Tim Bowen
A: 

The hardware manufacturer would have to provide you with some specs to allow you to use it.

Corey Floyd
+4  A: 

If a compatible bluetooth headset is paired with the device, it will be used transparently if you're using the Core Audio APIs; you do not need to add specific support for bluetooth headsets to your application.

If you want to integrate specifically with bluetooth devices you will need to join the "Made for iPod" / "Works with iPhone" program, but that's still not going to let you talk to any arbitrary bluetooth device. Compatible bluetooth devices require a special Apple authentication chip, which usually means you'd need to build a custom device specifically for the iPhone/iPod (e.g. TomTom's in-car navigation device).

Nathan de Vries
A: 

As Nathan said, if it's already paired you use Core Audio.

If you need more advanced stuff (more than audio) I guess you were thinking of using the GameKit Framework to connect to the bluetooth devices. In this case forget it, since Apple allows you to connect only to "other iPhones or iPod Touches"...

Dimitris
A: 

i have tried to use core audio framework,but still didn't work.

i think that voice memos have use private APIs.

i couldn't search any answer about using bluetooth headset in iphone.

arthur_hu