问题描述
我开发一个应用,该应用需要连接到蓝牙设备。我不想部署该应用程序在App Store中。我只需要这个供个人使用。有什么办法连接到该蓝牙设备(这是旧的地狱,绝对不是MFI认证)。在MFI项目的FAQ(),它说,能够与第三方解决方案。有谁知道什么样?我还没有发现它建立在iPhone和蓝牙设备之间的桥梁的任何产品。
I am developing an App which needs to connect to a bluetooth device. I dont want to deploy this app in the app store. I only need this for personal use. Is there any way to connect to this bluetooth device (which is old as hell and definitely not MFI certified). In the FAQ of the MFI program (http://mfi.apple.com/faqs) it says that it is possible with third party solutions. Does anyone know something about that? I havent found any products which builds a bridge between the iPhone and the bluetooth device.
此外,常见问题解答说:
Furthermore the faq says:
应用程序开发者和那些只依赖于标准的技术(例如,蓝牙低功耗或标准的蓝牙协议)不需要加入MFI计划。配件开发商的
"app developers and developers of accessories that rely solely on standard technology (e.g., Bluetooth Low Energy or standard Bluetooth profiles) do not need to join the MFi Program."
我的蓝牙设备使用标准的蓝牙配置文件,但我无法连接到它。
My bluetooth device uses a standard bluetooth profile, but i can't connect to it.
推荐答案
如果您的应用程序不会应用程序商店,你可以尝试使用所谓的BlueToothManager私有框架。我还没有与它的工作,但它可以帮助你。
If your app is not going to app store, you can try using the private framework called BlueToothManager. I haven't worked with it but it can help you.
在MFI兼容设备与苹果注册,并与苹果公司注册的蓝牙模式进行通信。特定的协议字符串(如com.apple.ps1)将由MFI设备制造商,您将需要在Info.plist文件,包括给予。
The MFI compatible devices are registered with Apple and communicate with a Bluetooth Profile registered with Apple. That particular protocol string (Eg. com.apple.ps1) will be given by the MFI device manufacturer, which you will need to include in the info.plist file.
这篇关于现有的蓝牙设备和苹果MFI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!