如何在IOS上浏览和列出经典蓝牙设备?

如何在IOS上浏览和列出经典蓝牙设备?,ios,bluetooth,external-accessory,Ios,Bluetooth,External Accessory,各位! 我正在开发一个ios日志应用程序。它应该写下附近的蓝牙设备 对于BLE设备,已成功使用CoreBluetooth BT设备(经典蓝牙)有何解决方案 我试过外部配件,但失败了 EAAccessoryManager.sharedAccessoryManager().connectedAccessories is always empty, EAAccessoryManager.sharedAccessoryManager().showBluetoothAccessoryPickerWithN

各位!

我正在开发一个ios日志应用程序。它应该写下附近的蓝牙设备

对于BLE设备,已成功使用CoreBluetooth

BT设备(经典蓝牙)有何解决方案

我试过外部配件,但失败了

EAAccessoryManager.sharedAccessoryManager().connectedAccessories is always empty,
EAAccessoryManager.sharedAccessoryManager().showBluetoothAccessoryPickerWithNameFilter(nil, completion: nil) shows nothing.
2013年末,我测试了与iphone 5、iphone 6s和macbook pro的配对。
也许问题在于macbook不是MFI设备。另外,我没有在info.plist中添加协议字符串,您可能没有必要的权利。为iPhone制造的BT 3.x设备只有在相关应用程序有权(原文如此!)使用时才会出现