Skip to content

Conversation

@barbibulle
Copy link
Collaborator

This allows experimenting with the behavior of the controller when sending/receiving data while a scan and/or advertising is still going on.

# pylint: disable=line-too-long

DEVICE_MIN_SCAN_INTERVAL = 25
DEVICE_MIN_SCAN_INTERVAL = 2.5
Copy link
Collaborator

@richardissuperman richardissuperman May 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: does this mean changing min scan interval to 2.5 milli seconds?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change corrects a mistake where this constant was set at 25ms instead of 2.5ms. According to the spec, the scan interval value, in units of 0.625ms is allowed values in the range 0x0004 to 0x4000, so 2.5ms to 10.24s.

@barbibulle barbibulle merged commit 4d07726 into main May 28, 2025
57 checks passed
@zxzxwu zxzxwu deleted the gbg/bt-bench-advertise-scan branch December 31, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants