iPhone 上的蓝牙设备列表
我正在开发iPhone应用程序,需要连接到蓝牙设备并处理设备断开连接。
我尝试使用ExternalAccessory框架,但它没有显示任何设备(在设置中我已配对A2DP设备),在苹果网站上我看到“具体来说,您必须包含 UISupportedExternalAccessoryProtocols 键来声明您的应用程序支持的特定硬件协议.”,我认为这有问题,但我不知道 A2DP 示例的协议字符串是什么。
几个问题:
- 知道如何通过其他技术(GameKit 或 Bonjour 示例)制作我想要的东西;
- 有人可能知道 A2DP 之类设备的标准协议字符串。
谢谢。
I'm develop iphone app, what need connect to bluetooth device and handle disconnection of device.
I'm tryied to use ExternalAccessory framework, but it don't show any device (in settings I have paired A2DP device), on apple site I see " Specifically, you must include the UISupportedExternalAccessoryProtocols key to declare the specific hardware protocols your application supports.", I think problem in this, but I don't know what is protocol strings for A2DP example.
Few questions:
- have any idea how make what I want via other tech (GameKit or Bonjour example);
- somebody maybe know standart protocol strings for A2DP like devices.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除非您注册了 Apple 的“Made for iPod”计划,否则您将无法使用蓝牙,除了 GameKit 框架提供的 API 之外,该框架只能与运行您的软件的其他 iOS 设备进行通信,
Unless you have signed up for Apple's "Made for iPod" program you will have no access to bluetooth, beyond the API's offered by the GameKit framework, which can only communicate with other iOS devices, running your software,