Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9063371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:58:55+00:00 2026-06-16T15:58:55+00:00

This issue has been discussed back in October here . This is a new

  • 0

This issue has been discussed back in October here. This is a new question as CoreBluetooth is fairly new and some changes might have occurred since then.

I have a BLE device advertising every 2 seconds. Scanning is initiated using:

[self.CM scanForPeripheralsWithServices:nil options:0]

Which returns most often (via the centralManager didDiscoverPeripheral callback) around 2s to 4s later. (CM is my CentralManger)

However, about 30% of the time, the scan takes 10 to 18 seconds.
WiFi and BT in nearby devices has been disabled to clear the spectrum as much as possible.
The time to scan seems unrelated to RSSI. Which is -40dB when next to the iPAd3, -70dB when about 5 metres away in another room.

[self.CM stopScan]; 

is called before the scanWithPeripherals as it reduces the occurrence of really long waits.

No connection is being made. No characteristic or services data is being requested. Advertising data is sufficient.

There is a useful TI demonstrator app.
This gives similar results (actually slightly worse as it doesn’t make any stopScan calls)

The CBCentralManagerScanOptionAllowDuplicatesKey option as seen in this Stackoverflow answer if anything seems to lengthen discovery times.

Obviously, the next step is to use some more advanced BT sniffer / advert generation tools to further characterise this CoreBluetooth response.

This is another useful SO question, but does not elaborate enough on response times.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T15:58:57+00:00Added an answer on June 16, 2026 at 3:58 pm

    The CoreBluetooth isn’t listening continuously. It is sharing HW resources with bluetooth classic and Wifi.

    Basically you must be “Lucky” to receive the advertisement package.
    “Lucky” as in that the 2 sliding windows of the 2 unsynchronised systems must hit each other.
    If CoreBluetooth opens it’s BLE window 10% of the time and you have set the advertisement interval without knowledge about the exact timing then it will/can take 10 times the advertisement interval.

    One recommendation is to advertise >fast< for the first 30 seconds (say 20ms and you should discover it in the first active CoreBluetooth window) and then slow down to intervals specified by Apple. 2,00 seconds is NOT a good number.

    See guideline here:
    https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf

    Page 18

    Advertising Interval
    The advertising interval of the Bluetooth accessory should be carefully considered, because it affects the time
    to discovery and connect performance. For a battery-powered accessory, its battery resources should also be
    considered.
    To be discovered by the Apple product, the Bluetooth accessory should first use the recommended advertising
    interval of 20 ms for at least 30 seconds. If it is not discovered within the initial 30 seconds, the accessory may
    choose to save battery power and increase its advertising interval. Apple recommends using one of the following
    longer intervals to increase chances of discovery by the Apple product:

    645 ms
    768 ms
    961 ms
    1065 ms
    1294 ms

    So try 1294 ms if you must save battery.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hope someone can help... This issue has been discussed here and I have
I know this issue has been discussed already ( here for example), but It's
I know this issue has been touched on here but I have not found
I know this issue has been discussed numerous times, but I think this is
I know this has been discussed ad nauseum...but I have an issue with the
This issue has been reported here and has been closed. I do see that
Update: This issue has been resolved. you can read about the solution in here:
This issue has been stumping me. This only happens in IE7. I saw some
The question where exception logs should go has been discussed here once or twice
I know this issue has been touched on before, e.g. here: How to post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.