【问题标题】:difference between CoreBluetooth framework and IOBluetooth frameworkCoreBluetooth 框架和 IOBluetooth 框架的区别
【发布时间】:2013-02-08 11:53:18
【问题描述】:

CoreBluetooth 框架和 IOBluetooth 框架(用于 MAC 应用)有什么区别?

【问题讨论】:

    标签: xcode bluetooth bluetooth-lowenergy


    【解决方案1】:

    CoreBluetooth 是一个用于蓝牙 LE 通信的 iOS 框架。 IOBluetooth 是适用于 Bluetooth Classic 和 Bluetooth LE 的 OS X 框架。 IOBluetooth 包含其中的 CoreBluetooth 框架,并使用与桌面上蓝牙 LE 的 iOS 版本大部分相同的代码。

    【讨论】:

    • CoreBluetooth 在 MacOS X、iOS、AppleTV 和 WatchOS 上可用。 IOBluetooth 仅适用于 Mac。
    【解决方案2】:

    CoreBluetooth 用于访问低功耗蓝牙 API。 而 IOBluetooth 用于蓝牙经典接口

    【讨论】:

    • 没有适用于 LE 的 CoreBluetooth
    • CoreBluetooth 仅适用于 LE,但 IOBluetooth 可以同时搜索两者
    猜你喜欢
    • 2017-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-27
    相关资源
    最近更新 更多