Background reconnection
Background reconnection
- Subject: Background reconnection
- From: Nick Brook <email@hidden>
- Date: Sun, 03 Jan 2016 02:26:43 +1100
Hi all, hoping someone can help with this.
I want my App to either be connected or attempting to connect to a known peripheral previously discovered or retrieved with -retrievePeripheralsWithIdentifiers or -retrieveConnectedPeripheralsWithServices. When the peripheral disconnects, re-connection should be attempted. In this way, the App receives notifications from the peripheral and presents local push notifications. This works fine when the App is in the foreground or in the background while still running. In the background, if the App is killed for whatever reason (user closes, memory low) then the system disconnects the peripheral, but the App does not get notified of disconnection, so cannot reconnect automatically to continue receiving notifications. How can I attempt reconnection when the App is quit?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden