Skip to content

Conversation

@NordicBuilder
Copy link
Contributor

Backport 59d05a4~2..59d05a4 from #2821.

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 <[email protected]>
(cherry picked from commit 7b61bd6)
(cherry picked from commit 336b11a)
The parameter length for this command was missing the additional
length from the arrayed parameters.

Upstream PR #: 89092

Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit 59d05a4)
@sonarqubecloud
Copy link

@ryanjh ryanjh self-requested a review April 29, 2025 07:24
@carlescufi carlescufi merged commit 77f865b into v4.0.99-ncs1-branch Apr 29, 2025
22 of 23 checks passed
@thst-nordic thst-nordic deleted the backport-2821-to-v4.0.99-ncs1-branch branch August 29, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants