Add descriptor to a characteristic
AliMoal opened this issue · 2 comments
AliMoal commented
How to add a descriptor (for example UUID: 0x2904) to a characteristic?
I used add_descriptor
function but it returns: Raw(Forbidden)
and the program panics.
If any example was provided, it would be more helpful.
Thanks.
alexmoon commented
Per Nordic's documentation certain UUID values are reserved to the softdevice. The characteristic presentation format is one of those. Instead, you need to add the presentation format definition to the characteristic metadata. However, that is not currently implemented in our Metadata
struct.
PRs are welcome.
AliMoal commented
Thank you for your information.
I'll try it.