cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 BLE example for CHAR_PROP_INDICATE

GMacw.1
Associate II

Hi,

Is there an example or note that guides to implement CHAR_PROP_INDICATE?

1 REPLY 1
Remi QUINTIN
ST Employee

The BLE_Ota project has a characteristic with the CHAR_PROP_INDICATE property.

 aci_gatt_add_char(OTAS_Context.OTAS_SvcHdle,

                   OTA_UUID_LENGTH,

                   (Char_UUID_t *)OTA_CONF_CHAR_UUID,

                   OTA_CONF_CHAR_SIZE,

                   CHAR_PROP_INDICATE,

                   ATTR_PERMISSION_NONE,

                   GATT_DONT_NOTIFY_EVENTS,

                   10,

                   0,

                   &(OTAS_Context.OTAS_Conf_CharHdle));