search

Home  >  Q&A  >  body text

ios 蓝牙可以获得像安卓那样曾经匹配过的蓝牙列表吗?

如题,需要获取的就是蓝牙下面“我的设备”那个列表里的数据

巴扎黑巴扎黑2889 days ago369

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-04-17 17:55:19

    (1) When matching for the first time, save it, such as using NSUserDefaults:

    (2) When connecting again, send the ID list to retrievePeripheralsWithIdentifiers, official document:
    Retrieving a List of Known Peripherals

    (3)Supplement: What you need should be this retrieveConnectedPeripheralsWithServices, including Bluetooth devices that have been connected by other applications

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 17:55:19

    Welcome IoT masters to join the IoT iOS exchange group 499604323. Let’s discuss issues related to the Internet of Things together

    reply
    0
  • Cancelreply