Skip to content

Conversation

@yuxCai
Copy link
Contributor

@yuxCai yuxCai commented May 28, 2024

BT_GAP_ADV_SLOW_INT_MIN and BT_GAP_ADV_SLOW_INT_MAX represent 1s and 1.2s, respectively, in the extended advertising context, where the bit interval is 0.625 ms. Using them for periodic advertising will result in a range of [2s, 2.4s], as the bit interval for periodic advertising is 1.25ms.

Instead, BT_GAP_PER_ADV_SLOW_INT_MIN and BT_GAP_PER_ADV_SLOW_INT_MAX should be used in this sample, and the range will become [1s, 1.2s].

BT_GAP_ADV_SLOW_INT_MIN and BT_GAP_ADV_SLOW_INT_MAX represent 1s and 1.2s,
respectively, in the extended advertising context, where the bit interval
is 0.625 ms. Using them for periodic advertising will result in a range
of [2s, 2.4s], as the bit interval for periodic advertising is 1.25ms.

Instead, BT_GAP_PER_ADV_SLOW_INT_MIN and BT_GAP_PER_ADV_SLOW_INT_MAX
should be used in this sample, and the range will become [1s, 1.2s].

Signed-off-by: Yuxuan Cai <yuxuan.cai@nordicsemi.no>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request May 29, 2024
…ntervals

BT_GAP_ADV_SLOW_INT_MIN and BT_GAP_ADV_SLOW_INT_MAX represent 1s and 1.2s, respectively,
in the extended advertising context, where the bit interval is 0.625 ms. Using them for
periodic advertising will result in a range of [2s, 2.4s], as the bit interval
for periodic advertising is 1.25ms.

Instead, BT_GAP_PER_ADV_SLOW_INT_MIN and BT_GAP_PER_ADV_SLOW_INT_MAX should be used in
this sample, and the range will become [1s, 1.2s].

Upstream PR: zephyrproject-rtos/zephyr#73418

Signed-off-by: Yuxuan Cai <yuxuan.cai@nordicsemi.no>
yuxCai added a commit to yuxCai/sdk-nrf that referenced this pull request May 30, 2024
sdk-zephyr PR: nrfconnect/sdk-zephyr#1750
upstream zephyr PR: zephyrproject-rtos/zephyr#73418

Signed-off-by: Yuxuan Cai <yuxuan.cai@nordicsemi.no>
@jhedberg jhedberg merged commit 0a5e7f8 into zephyrproject-rtos:main Jun 7, 2024
@github-actions
Copy link

github-actions bot commented Jun 7, 2024

Hi @yuxCai!
Congratulations on getting your very first Zephyr pull request merged 🎉🥳. This is a fantastic achievement, and we're thrilled to have you as part of our community!

To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge.

Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁

anangl pushed a commit to anangl/sdk-zephyr that referenced this pull request Jul 1, 2024
…ntervals

BT_GAP_ADV_SLOW_INT_MIN and BT_GAP_ADV_SLOW_INT_MAX represent 1s and 1.2s, respectively,
in the extended advertising context, where the bit interval is 0.625 ms. Using them for
periodic advertising will result in a range of [2s, 2.4s], as the bit interval
for periodic advertising is 1.25ms.

Instead, BT_GAP_PER_ADV_SLOW_INT_MIN and BT_GAP_PER_ADV_SLOW_INT_MAX should be used in
this sample, and the range will become [1s, 1.2s].

Upstream PR: zephyrproject-rtos/zephyr#73418

Signed-off-by: Yuxuan Cai <yuxuan.cai@nordicsemi.no>
(cherry picked from commit dd4f7c3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants