how to add characteristic aggregate format descriptor in BLE peripheral examples? please explain with example.
how to add characteristic aggregate format descriptor in BLE peripheral examples? please explain with example.
Doesn't seem as we have any example, but you can find a list of defined UUID's in ble_types.h, and then you need to use the sd_ble_gatts_descriptor_add() after calling sd_ble_gatts_characteristic_add().
I believe the example located in "your_sdk_folder\examples\ble_peripheral\ble_app_hids_mouse" can be used as example on how the sd_ble_gatts_descriptor_add() function can be used (e.g. the rep_char_add() function found in ble_hids.c file).
Doesn't seem as we have any example, but you can find a list of defined UUID's in ble_types.h, and then you need to use the sd_ble_gatts_descriptor_add() after calling sd_ble_gatts_characteristic_add().
I believe the example located in "your_sdk_folder\examples\ble_peripheral\ble_app_hids_mouse" can be used as example on how the sd_ble_gatts_descriptor_add() function can be used (e.g. the rep_char_add() function found in ble_hids.c file).