• 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
Repeat discovery in the background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Repeat discovery in the background


  • Subject: Repeat discovery in the background
  • From: "Mosher, Ben" <email@hidden>
  • Date: Thu, 05 Jul 2012 23:06:20 -0400
  • Acceptlanguage: en-US
  • Thread-topic: Repeat discovery in the background

I have set up a scan for peripherals w/ a specific service UUID and asked for repeat delegate calls. This works fine in the foreground. (I get them about as frequently as the peripheral is pumping them out)

However, even w/ "bluetooth-central" in my background modes, I only ever seem to get one call to the didDiscoverPeripheral: delegate method when the device is in range/turned on while the app is in the background. Is this the expected behavior?

It seems as if CBCentralManagerScanOptionAllowDuplicatesKey is automagically set to 'NO' when in the background.

I have found that if I walk out of range, then back in, I may get notified, but if I toggle the peripheral off for a while (a few minutes), then back on, I receive no callback.
 _______________________________________________
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

  • Prev by Date: Needing to restart ipad3 when connecting to multiple BLE devices
  • Next by Date: BLE Maximum number of slaves that a master can connect
  • Previous by thread: Needing to restart ipad3 when connecting to multiple BLE devices
  • Next by thread: BLE Maximum number of slaves that a master can connect
  • Index(es):
    • Date
    • Thread