Hi guys !
I am working on SDK 15.2 and I have created a custom service thanks to this tutorial : https://github.com/NordicPlayground/nRF5x-custom-ble-service-tutorial
I have one characteristic, and I want to change the Presentation Format Descriptor after the initialisation of the Service so I need its handle to do that with sd_ble_gatts_value_set, but sd_ble_gatts_descriptor_add returns only four handlers and there is not the CPF.
I have tried to get this handler with descriptor_add from the ble_srv_common.c library, but it returns NRF_ERROR_FORBIDDEN.
From the documentation, we have this error message if "Forbidden value supplied, certain UUIDs are reserved for the stack."
So it means that we cannot obtain this handle and modify the CPF handler ? Is there another way to do that ?
Thanks for your answers,
Regards
Beldramma