Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced advertising mode #23

Closed
hathach opened this issue Mar 25, 2017 · 0 comments
Closed

Advanced advertising mode #23

hathach opened this issue Mar 25, 2017 · 0 comments
Labels
Milestone

Comments

@hathach
Copy link
Member

hathach commented Mar 25, 2017

https://developer.apple.com/library/content/qa/qa1931/_index.html

For discovering your accessory successfully

You must follow the general advertising guidelines in the Bluetooth Accessory Design Guidelines for Apple Products when constructing your advertising packets. A common mistake is to use improper advertising intervals, either due to misconfiguration or in order to save battery usage on the peripheral. Improper intervals are the most common reasons for your app to not be able to discover your accessory in the field, even though you may have observed discovery working properly in your tests.

The advertising interval of your peripheral affects the time to discovery and connect performance. Outside of ideal conditions, for example when your app is no longer active in the foreground, the time to discovery becomes longer. To maximize the probability of being discovered, the accessory must advertise at one of the listed intervals exactly.

The recommended advertising pattern and advertising intervals are:

  • First, advertise at 20 ms intervals for at least 30 seconds
  • If not discovered after 30 seconds, you may change to one of the following longer intervals: 152.5 ms, 211.25 ms, 318.75 ms, 417.5 ms, 546.25 ms, 760 ms, 852.5 ms, 1022.5 ms, 1285 ms

Important: These specific intervals are the ones to be used exactly! Even the slightest deviation from these actual intervals may dramatically increase your time to discovery.

Note: The above advertising intervals are only for non iBeacon BLE peripherals. For iBeacon advertising, you must follow the iBeacon Specifications, which you can find in the iBeacon for Developers page

@hathach hathach added this to the 0.6 milestone Apr 2, 2017
@hathach hathach added this to In Progress in Next Release Apr 8, 2017
@hathach hathach moved this from In Progress to TODO in Next Release Apr 8, 2017
@hathach hathach moved this from TODO to In Progress in Next Release Jul 11, 2017
@hathach hathach moved this from In Progress to Done in Next Release Jul 12, 2017
@hathach hathach closed this as completed Jul 12, 2017
@hathach hathach removed this from Done in Next Release Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants