iPhone SDK 3.0:蓝牙在哪里? [英] iPhone SDK 3.0: where is the Bluetooth?

查看:21
本文介绍了iPhone SDK 3.0:蓝牙在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在参与 iPhone 开发者计划,并且可以访问 iPhone 3.0 固件和 SDK.

iPhone 3.0 的一项新功能 -- 是能够使用蓝牙,但我找不到有关它的任何文档.有人可以指点我吗 - 它在哪里?

解决方案

直接使用蓝牙的唯一方法是加入 Made for iPod/Works With iPhone 计划并将 Apple 身份验证芯片集成到您的自定义设备中.完成后,您可以使用 ExternalAccessory 框架,该框架向设备公开低级 IO 流 API.

像 Core Audio 这样的框架可以让你通过蓝牙耳机播放和录制音乐,而 Gamekit 框架可以让你通过蓝牙发现其他设备并与之交谈,但它是蓝牙的事实根本没有暴露给开发者.

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?

解决方案

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.

这篇关于iPhone SDK 3.0:蓝牙在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆