Re: Unable to scan while the application in the background.
Re: Unable to scan while the application in the background.
- Subject: Re: Unable to scan while the application in the background.
- From: Joakim Linde <email@hidden>
- Date: Tue, 18 Sep 2012 14:49:23 +0100
See comments below.
Thanks, Joakim
Hi all,
1) I have added bluetooth-central.to Required Background Modes in the .plist.
2) Launching the application, and press button which invokes scanForPeripheralsWithServices:nil options:nil on the centralManager.
You need to specify the service UUIDs for the scan to work in the background.
3) Now i press home button, so that application goes to the background mode, and now i switch on the BLE device.
4) I dont see didDiscoverPeripheral is invoked.
But the same works when the application in the foreground.
Did i miss anything in the concept?
Kindly suggest.
|
_______________________________________________
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