Re: Resetting CentralManager to re-detect previously detected devices
Re: Resetting CentralManager to re-detect previously detected devices
- Subject: Re: Resetting CentralManager to re-detect previously detected devices
- From: Kelvin Kakugawa <email@hidden>
- Date: Mon, 05 Nov 2012 15:47:08 -0800
That key is disabled in the background.
On Mon, Nov 5, 2012 at 3:40 PM, Rick Mann
<email@hidden> wrote:
On Nov 5, 2012, at 14:40 , Nick Moen <
email@hidden> wrote:
> Has there been any update with iOS 6.0 that allows for the reset of CentralManager so that that same device can be discovered multiple times in the background? I have a device that I would like to trigger multiple callbacks to didDiscoverPeripheral in the background. I know there was no way to do this in iOS5 but I wanted to see if there were any updates.
There's the CBCentralManagerScanOptionAllowDuplicatesKey you can pass to -scanForPeripheralsWithServices:options:. Dunno what that does in the background, but if it's on in the foreground, you get advertising packets as long as you scan.
--
Rick
_______________________________________________
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
_______________________________________________
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