问题描述
我需要实现自我的蓝牙应用程序与所有蓝牙设备将iPhone连接。我知道这是不可能的CoreBluetooth框架。
I need to implement a self bluetooth app to connect with all bluetooth devices to iPhone. I know it is not possible with CoreBluetooth framework.
我使用私有API和DeviceManager和BluetoothManager加入头文件私人框架,并从计划。这允许(等等)SPP蓝牙连接为认证设备。但有一个问题:你需要有一个内部有认证芯片的设备。
I am just supposing, but I think the problem is that the BluetoothManager.framework is made for the External Accessory Program by Apple. And this allows (among others) SPP Bluetooth connection to certificated devices. But there is the problem: you need to have a device with a authentication chip inside.
我不知道在哪个级别/层苹果实现的身份验证,但我担心的是用它做私人的框架下BeeTee一层。
I don't know on which level/layer Apple implemented the authentication, but I fear the did it one layer under the private framework BeeTee is using.
更新:也许这有助于您:
UPDATE: Maybe this is helpful for you:
BluetoothManager *bluetoothManager = //...
[bluetoothManager setDevicePairingEnabled:YES];
[bluetoothManager connectDevice:bluetoothDevice withServices:0x00002000];
这篇关于通过BeeTee应用程序连接到其他蓝牙设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!