回复: Re: scan BLE device in background
回复: Re: scan BLE device in background
- Subject: 回复: Re: scan BLE device in background
- From: "email@hidden" <email@hidden>
- Date: Tue, 31 Jul 2012 10:12:06 +0800
Hi Joakim
Thank you for your reply.
Additional question is how to scan the BLE
device in background.
Thanks advance.
发送时间: 2012-07-31 07:16
主题: Re: scan BLE device in background
Hi zz_zhang,
The "bluetooth-central" keyword gives the application the right to handle
Bluetooth specific events while in the background. It does not give the app a
generic permission to run in the background. Meaning, NSTimers will not work
when the app is in the background.
Thanks,
Joakim
Hi,
How to scan BLE device in
background?
I schedule a NSTimer to
call scan function. But the timer event is not called when app in the
background.
I have added the "bluetooth-central" to UIBackgroundModes in the app's info.plist. And my app
run well in background when receives a notificaion form
peripheral.
Thanks advance.
_______________________________________________ Do
not post admin requests to the list. They will be ignored. Bluetooth-dev
mailing list ( email@hidden) Help/Unsubscribe/Update
your Subscription: 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