Skip to contentSkip to conversation

New: Bluetooth LE advertising interval: Using same value for max and min

Bug 187871 [email protected] 1 participant 2 messages Nov 16, 2016 – Nov 17, 2016 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=187871

Bug ID: 187871
Summary: Bluetooth LE advertising interval: Using same value
for max and min
Product: Drivers
Version: 2.5
Kernel Version: 4.9
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Bluetooth
Assignee: [email protected]
Reporter: [email protected]
Regression: No

The Bluetooth Core Specification 4.2, Vol 2, Part E, Section 7.8.5 states the following:

"The Advertising_Interval_Min and Advertising_Interval_Max should not be the same value to enable the Controller to determine the best advertising interval given other activities."

However, I noticed when inspecting hci commands through btmon that bluez is setting Advertising_Interval_Min and Advertising_Interval_Max to 0x800. A more appropriate solution would be to modify either, e.g. set Advertising_Interval_Min to 0x600.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 187871] Bluetooth LE advertising interval: Using same value for max and min

https://bugzilla.kernel.org/show_bug.cgi?id=187871

Joseph Hwang <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Joseph Hwang <[email protected]> ---
On page 969 of the same Section 7.8.5 in the specification, it states that the default values of both Advertising_Interval_Min and Advertising_Interval_Max are 0x0800 (1.28 seconds).

When setting distinct Advertising_Interval_Min and Advertising_Interval_Max values, a controller may pick up any value between the range. The chosen value might be different from the default 1.28 seconds that a user expects, and may keep changing each time after reboot depending on the controller's behavior. That could be a bit confusing though.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.