【问题标题】:Get the RSSI on Apple Watch在 Apple Watch 上获取 RSSI
【发布时间】:2018-07-10 02:10:03
【问题描述】:

如何获取 Apple Watch 的 RSSI?现在支持核心蓝牙,所以我们应该很好。我找不到任何有效的文档或代码!我需要帮助:)

【问题讨论】:

    标签: swift core-bluetooth apple-watch watchos


    【解决方案1】:

    来自CBCentralManagerDelegate,你应该可以通过实现这个方法得到,

    func centralManager(_ central: CBCentralManager, 
                         didDiscover peripheral: CBPeripheral, 
                         advertisementData: [String : Any], 
                         rssi RSSI: NSNumber)
    

    【讨论】:

      猜你喜欢
      • 2015-06-02
      • 2020-07-19
      • 1970-01-01
      • 1970-01-01
      • 2015-05-25
      • 1970-01-01
      • 1970-01-01
      • 2015-10-06
      • 2015-11-14
      相关资源
      最近更新 更多