Skip to content

[Backport v3.4-branch] BLE advertising improvements#724

Merged
rlubos merged 2 commits into
nrfconnect:v3.4-branchfrom
adigie:backport-723-to-v3.4-branch
Jun 1, 2026
Merged

[Backport v3.4-branch] BLE advertising improvements#724
rlubos merged 2 commits into
nrfconnect:v3.4-branchfrom
adigie:backport-723-to-v3.4-branch

Conversation

@adigie
Copy link
Copy Markdown
Member

@adigie adigie commented May 28, 2026

Summary

This PR backports changes from #723 to address KRKNWK-21911 issue.

Testing

Tested with a second BT identity used by Aliro.

adigie added 2 commits May 28, 2026 13:39
Add `CHIP_BLE_MULTI_IDENTITY_SUPPORT` Kconfig option. Filter Matter BLE
manager and advertising arbiter callbacks to only handle connections on
the Matter BLE identity.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
(cherry picked from commit b84e175)
Replace the sWasDisconnection flag with an atomic restart flag so
advertising can be retried when bt_le_adv_start() fails due to lack
of available connection object.

With CONFIG_CHIP_BLE_MULTI_IDENTITY_SUPPORT, disconnect and recycled
callbacks can arrive in an order where a restart attempt runs before
all connection slots are available. Re-arm the flag on failure so a
subsequent recycled callback schedules another restart attempt.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
(cherry picked from commit 6d8ea97)
@rlubos rlubos merged commit 689ea79 into nrfconnect:v3.4-branch Jun 1, 2026
11 checks passed
@adigie adigie deleted the backport-723-to-v3.4-branch branch June 1, 2026 13:27
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.

3 participants