Hi
I am trying to set a presentation format for a custom characteristic that I am added to CUSTS1 service in the ble_app_peripheral example.
我是你nable to figure out the code and more importantly, where to insert the code, in order to display the characteristic value as text. At the moment, I am able to see the characteristic value as empty, but I want to set it as readable text.
How do I set the presentation format for a characteristic ?
Thanks,
Keywords:
Device:
Hi ankitdaf,
You can check the battery example in order to implement something like this, check the BAS_IDX_BATT_LVL_PRES_FMT for the Presentation Format Descriptor and also check the enabling of the service in order to see how its properly enabled.
Thanks MT_dialog