- Application has specified the bluetooth-central background mode.
- Peripheral Device(BLE) is connected to the iPhone.
- Application will initiate a request 'retrieveConnectedPeripheralsWithServices' along with list of services to scan for.
- Application will receive a list of peripherals connected to the system whose service UUID's match.
- From the list of peripherals, application will initiate a request 'connectPeripheral' with the interested peripheral along with the option set to 'CBConnectPeripheralOptionEnableAutoReconnect'. This option is available from iOS 17+.
- CBConnectPeripheralOptionEnableAutoReconnect - This option will help in reconnect back to peripheral when peripheral becomes available. (Turn OFF and Turn ON)
How do we achieve the same thing in earlier IOS version