No. All app threads are suspended in background but you get 10 or so seconds of operation every time a BLE callback happens. After this, the execution will be suspended again.
Someone mentioned that their app was shut down after some time but e.g. my app never experienced that. I can leave it running in the background as long as I want.
What I meant was then you start the connectPeripheral request, it will stay there as long as the app is running (even in background) or cancelPeripheral connection is called somewhere from the app.
I may be mistaken but this is actually my experience.
Andras On Sep 27, 2012, at 11:26 PM, David Chouinard < email@hidden> wrote: Thanks. My understanding is that the OS will eventually shut down background apps that use the "bluetooth-central" background mode. I've read reports that the OS automatically closes those apps typically after 40-60 mins, which is unacceptable for my application.
Is that incorrect? Your comment that there is "no timeout or other things" seems to imply that.
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
|