Core Bluetooth - constant RSSI updates of in-range devices

后端 未结 4 936
遥遥无期
遥遥无期 2020-12-08 03:34

I just started with the core bluetooth framework for iOS and I\'m developing an app that needs to constantly scan for BLE devices so that I can retrieve their RSSI number ev

4条回答
  •  温柔的废话
    2020-12-08 03:44

    Swift Implementation of @Anders solution:

    manager.scanForPeripheralsWithServices(nil, options: [CBCentralManagerScanOptionAllowDuplicatesKey : NSNumber(value: true)])
    

提交回复
热议问题