怪我咯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
巴扎黑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