Re: BLE discover device while backgrounded
Re: BLE discover device while backgrounded
- Subject: Re: BLE discover device while backgrounded
- From: Jacky Tsoi <email@hidden>
- Date: Fri, 30 Nov 2012 08:22:27 +0800
You must set a service id to scan in background. Discover with service "nil" does not work.
-- Jacky @ iPad
Hi Marlon,
you should try removing service filtering from the scan options. This may solve the issue. However, as you noted, no official response from Apple has been received so far.
Cheers, Andras
On 2012.11.29., at 23:55, Marlon Smith < email@hidden> wrote:
Hi everyone,
I'm using a TI BLE key fob, along with an application running on my ipod that will scan for and connect to the key fob. Everything works fine until I start the scan and then background the application before powering up the keyfob. Even though I have set UIBackgroundModes = "bluetooth-central" in the application's info.plist, the didDiscoverPeripheral function never seems to be called when in the background.
Reading through the documentation and the forums, I understand that it can take 55 times longer to discover a peripheral in the background. However even after waiting much longer than that, the device never seems to be detected. If I bring the app back to the foreground, the key fob is detected instantly.
I've seen several posts outlining similar problems, but I haven't seen any solutions on this forum.
Can anyone shed some light on this?
Thanks
Marlon
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (email@hidden)
_______________________________________________Do not post admin requests to the list. They will be ignored.Bluetooth-dev mailing list (email@hidden)
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