(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
(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