Skip to content

Remove illegal CCCD from example - #310

Open
KingRocco21 wants to merge 1 commit into
embassy-rs:masterfrom
KingRocco21:patch-1
Open

Remove illegal CCCD from example#310
KingRocco21 wants to merge 1 commit into
embassy-rs:masterfrom
KingRocco21:patch-1

Conversation

@KingRocco21

Copy link
Copy Markdown

Unlike ble_keyboard_peripheral_builder, ble_keyboard_peripheral_builder_macro attempts to add a Client Characteristic Configuration Descriptor explicitly. However, the softdevice returns Forbidden if you attempt to add this descriptor, most likely because the UUID is reserved for the softdevice's own use.

This PR removes the CCCD so the example will hopefully stop returning this error.

Should fix #290

The softdevice returns Forbidden if you attempt to add this descriptor.
@KingRocco21 KingRocco21 changed the title Remove illegal CCCD descriptor from example Remove illegal CCCD from example Jul 31, 2026
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.

ble_keyboard_peripheral_builder example works but ble_keyboard_peripheral_builder_macro does not on nrf52840

1 participant