Skip to content

Conversation

@olivier-le-sage
Copy link
Contributor

@olivier-le-sage olivier-le-sage commented Apr 25, 2025

Cherry-picks from upstream

Add simple helper macro so users can define a CCCD with a write cb
without having to combine BT_GATT_CCC_MANAGED() and
BT_GATT_CCC_INITIALIZER() themselves.

Unlike the changed callback the write callback has a return value
that can be used to reject the write request.

Signed-off-by: Olivier Lesage <olivier.lesage@nordicsemi.no>
(cherry picked from commit 7b61bd6)
The parameter length for this command was missing the additional
length from the arrayed parameters.

Upstream PR #: 89092

Signed-off-by: Olivier Lesage <olivier.lesage@nordicsemi.no>
@olivier-le-sage olivier-le-sage force-pushed the cherry-pick-upstream-changes branch from 2de184a to 6c56ecc Compare April 28, 2025 08:16
@sonarqubecloud
Copy link

@ryanjh ryanjh self-requested a review April 28, 2025 08:24
@rlubos rlubos merged commit 59d05a4 into nrfconnect:main Apr 28, 2025
25 of 26 checks passed
@olivier-le-sage olivier-le-sage added the backport v4.0.99-ncs1-branch Relates to NCS v3.0-branch label Apr 28, 2025
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.

4 participants