• 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: Unable to scan while the application in the background.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On Sep 18, 2012, at 12:08 PM, email@hidden wrote:

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

  • Follow-Ups:
    • Re: Unable to scan while the application in the background.
      • From: Michael Kroll <email@hidden>
References: 
 >Unable to scan while the application in the background. (From: email@hidden)

  • Prev by Date: Re: how to find scan window and scan interval?
  • Next by Date: Re: Unable to scan while the application in the background.
  • Previous by thread: Unable to scan while the application in the background.
  • Next by thread: Re: Unable to scan while the application in the background.
  • Index(es):
    • Date
    • Thread