ios 蓝牙可以获得像安卓那样曾经匹配过的蓝牙列表吗?
巴扎黑
巴扎黑 2017-04-17 17:53:19
0
2
362

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

巴扎黑
巴扎黑

reply all(2)
刘奇

(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

巴扎黑

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template