scanning & tracking in background
scanning & tracking in background
- Subject: scanning & tracking in background
- From: Frederic Visticot <email@hidden>
- Date: Fri, 03 Jan 2014 19:16:26 +0100
My iOS7 app tries to scan in background BUT I would like to "track" the scanned device when the app is in background.
Configuration:
- CBCentralManagerScanOptionAllowDuplicatesKey is set to false
- I scan for a dedicated serviceId
By using a background task + stoping / starting the centralManager I can successfully do the tracking in background (the tracking period is not good compared to active mode + allowDuplicate but it works :)
The pb is when the screen is locked. In that case the scanning process is stopped BUT restart when I unlock the phone...
- Any idea to solve my issue ?
- Is my idea to stop / start the centralManager to discover the same device in background a good solution ? any other solution available ?
_______________________________________________
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