iOS:如何进行蓝牙通信? [英] iOS: how to perform bluetooth communication?

查看:151
本文介绍了iOS:如何进行蓝牙通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在配件(已配备认证芯片)和iOS应用程序之间建立蓝牙通信?

How can I establish a bluetooth communication between an accessory (already equipped with the authentication chip) and an iOS app?

谢谢

推荐答案

详细说明rckoenes的答案:

To elaborate on rckoenes' answer:

除非你是配件的原始制造商包含身份验证芯片,您可能无法使用正确的凭据在代码中使用它。

Unless you're the original manufacturer of the accessory that contains the authentication chip, you likely won't have the correct credentials to use it from your code.

Apple为制造商提供外部附件SDK,以便他们开发产品。他们没有向第三方提供针对其他第三方产品开发软件的信息。

Apple provides the external accessory SDK to manufacturers so they can develop their products. They don't provide it to third parties to develop software against other third party products.

您能够使用蓝牙与配件成功通信的唯一方法是如果您有有效的身份验证密钥和外部附件SDK。如果你错过了那些,你就做不到。

The only way you'll be able to successfully communicate with the accessory using bluetooth is if you have the valid authentication keys and the external accessory SDK. If you're missing those, you can't do it.

GameKit是一种使用蓝牙的更通用的方式,但它不适用于外部配件。

GameKit is a more generic way of using bluetooth, but it won't work for external accessories.

我能想到的另一件事就是越狱手机等,但我不准备帮忙。

The only other thing I can think of would be to jailbreak the phone, etc, but I'm not prepared to help with that.

这篇关于iOS:如何进行蓝牙通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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