Hi Michael,
Not sure I got all the details of your issue.
Scanning for advertising peripherals is boosted then the app is in the foreground compared to a backgrounded app. A good "rule of thumb" for how long it will take to discover a device when the app is in the background is 55 times the advertising interval of the peripheral. So, if a peripheral is advertising every 20 ms it would be discovered in about 1 second on average. However, it it is only advertising once a second it would take a whole minute for it to be discovered.
Also, please note that you will only be able to discover the device when in the background, not track it. The app will only get the advertising packet the first advertising packet when backgrounded, the rest will be filtered out in order to save power.
Hope this helps.
Thanks, Joakim
Ah ok thanks!
@Joakim: Could you please confirm, that the background scanning issues I'm dealing with are based on the fact, that I'm trying this on iOS5.1.1 ?
Thank you very much in advance, Michael. ---
Blog: http://www.mkroll.mobi
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
|