简体   繁体   English

如何将iOS与BLE和蓝牙的早期版本连接

[英]How to connect iOS with BLE and previous versions of Bluetooth

we are about to start developing an app for iOS that reads data sent via Bluetooth from a device. 我们将开始为iOS开发一个应用,该应用可读取通过蓝牙从设备发送的数据。 Which framework should we use if the Bluetooth device that sends the data is not BLE 4.0? 如果发送数据的蓝牙设备不是BLE 4.0,我们应该使用哪个框架? In addition to this, if it is possible to develop to app by using a different framework, will the same app also be able to connect to BLE 4.0? 除此之外,如果可以通过使用其他框架开发应用程序,那么同一应用程序也能够连接到BLE 4.0吗? Any pointer is highly appreciated. 任何指针都受到高度赞赏。 Thanks in advance for any pointer. 在此先感谢您的指导。

The framework you are looking for is the ExternalAccessory.framework (although there are limitations). 您正在寻找的框架是ExternalAccessory.framework (尽管有一些限制)。 You can use it and the Corebluetooth.framework inside the same app, but they will not be related on which devices they can connect to. 您可以在同一应用程序中使用它和Corebluetooth.framework ,但它们与可以连接到的设备无关。 Corebluetooth is Bluetooth low energy only. Corebluetooth仅限低功耗蓝牙。 Check this answer and the related links for more information on using the ExternalAccessory.framework : 检查此答案和相关链接,以获取有关使用ExternalAccessory.framework更多信息:

How to use bluetooth classic instead of le 如何使用蓝牙经典代替乐

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM