• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Not receiving BLE events in background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not receiving BLE events in background


  • Subject: Re: Not receiving BLE events in background
  • From: Joakim Linde <email@hidden>
  • Date: Fri, 17 Aug 2012 08:47:09 -0700


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 

On Aug 17, 2012, at 6:45 AM, m.kroll <email@hidden> wrote:

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

  • Follow-Ups:
    • Re: Not receiving BLE events in background
      • From: "m.kroll" <email@hidden>
References: 
 >Re: Not receiving BLE events in background (From: "m.kroll" <email@hidden>)

  • Prev by Date: Re: Not receiving BLE events in background
  • Next by Date: CBPeripheralManager Implementation
  • Previous by thread: Re: Not receiving BLE events in background
  • Next by thread: Re: Not receiving BLE events in background
  • Index(es):
    • Date
    • Thread