Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Add pseudo-random advDelay when advertising #117

Open
dbrgn opened this issue Jun 5, 2020 · 2 comments
Open

Add pseudo-random advDelay when advertising #117

dbrgn opened this issue Jun 5, 2020 · 2 comments
Labels
area: beacons Code Area: BLE beacon advertisement, scanning, and advertising data structures area: link layer Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc) type: enhancement A new feature or an improvement for an existing one

Comments

@dbrgn
Copy link
Contributor

dbrgn commented Jun 5, 2020

When advertising, a random delay (advDelay) between 0 ms and 10 ms should be added.

From the spec (4.4.2.2 Advertising Interval):

delay

This is probably blocked by #2.

@jonas-schievink jonas-schievink added type: enhancement A new feature or an improvement for an existing one area: beacons Code Area: BLE beacon advertisement, scanning, and advertising data structures area: link layer Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc) labels Jun 5, 2020
@trembel
Copy link

trembel commented Jun 6, 2020

Could this be related to #56?

@jonas-schievink
Copy link
Owner

@trembel Unlikely, the random delay just reduces collisions a bit. The iOS issue is more likely because we don't respect the inter-frame spacing when getting scanned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: beacons Code Area: BLE beacon advertisement, scanning, and advertising data structures area: link layer Code Area: BLE Link Layer (establishing and maintaining connections, encryption, etc) type: enhancement A new feature or an improvement for an existing one
Projects
None yet
Development

No branches or pull requests

3 participants