【问题标题】:Bluetooth Scanning蓝牙扫描
【发布时间】:2015-03-03 18:47:58
【问题描述】:

有一种称为设备类别 (COD) 的东西,它对不同的支持蓝牙的设备进行分类。例如,iPhone、可穿戴手表等被放置在不同的类别中,并通过不同的十六进制代码进行标识。

通过此链接:- http://www.question-defense.com/tools/class-of-device-bluetooth-cod-list-in-binary-and-hex

我的问题是,如何从我的 iOS 应用程序启动 BLE 扫描,以便它仅搜索与特定 COD 代码对应的设备。 我正在使用普通的核心蓝牙方法来扫描通过服务 ID 和所有设备的设备。

提前致谢。

【问题讨论】:

    标签: ios iphone cocoa-touch bluetooth-lowenergy core-bluetooth


    【解决方案1】:

    核心蓝牙 API 不会公开此信息,并且没有可用于根据 COD 代码进行扫描的 API。您只能使用核心蓝牙框架扫描 GATT 服务

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-03-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多