10

i'm participating in the iPhone Developer Program and i have access to the iPhone 3.0 firmware and SDK.

one of the new features of the iPhone 3.0 -- is ability to use Bluetooth, but i can't find any documentation about it. can someone point me please -- where is it?

4 Answers4

14

The only way of using bluetooth directly is if you join the Made for iPod / Works With iPhone program and integrate the Apple authentication chip into your custom device. Once you've done that, you can use the ExternalAccessory framework which exposes a low-level IO stream API to the device.

Frameworks like Core Audio will let you play and record music via bluetooth headsets and the Gamekit framework will let you discover and talk to other devices via bluetooth, but the fact that it's bluetooth is not exposed to the developer at all.

Nathan de Vries
  • 15,481
  • 4
  • 49
  • 55
2

Look at the GameKit API - it provides simple high level access to BlueTooth connections between devices (built on Apple's Bonjour discovery service).

Ben Bederson
  • 788
  • 6
  • 8
1

My iphone 3G & 4 will connect to my Sony BT1500 car head unit which was made well before iPhone existed (i.e it's not iPod signed).

Dom
  • 2,057
  • 1
  • 14
  • 17
1

If I recall correctly, you aren't allowed direct access to the Bluetooth, but rather, you are able to use certain API calls that will search for nearby devices. However, I'm not a developer currently, so I can't point you at any documentation. Perhaps someone else can back me up with a bit more information.

Topher Fangio
  • 20,372
  • 15
  • 61
  • 94
  • i don't care how exactly i need to do this, all i care about is how to communicate with a serial port on other device with bluetooth. – Vyacheslav Karpukhin Jun 12 '09 at 21:44
  • Becoming a developer now (I've been meaning to do this anyway). Perhaps I can find something and point you in the correct direction. – Topher Fangio Jun 12 '09 at 22:52
  • Looks like it might take a while to get my activation e-mail. I'll get back to you as soon as I can. – Topher Fangio Jun 12 '09 at 22:59
  • 1
    that's impossible. developers can't just use some other devices via bluetooth, device should be "made for ipod and works with iphone" certified =( – Vyacheslav Karpukhin Jun 12 '09 at 23:31
  • The ones that hook up through the dock connector have to be, but I am not sure about the Bluetooth connection. P.S. I got my activation key, iPhone apps here I come! – Topher Fangio Jun 13 '09 at 01:02