Skip to main content
GMacw.1
Associate II
Jun 14, 2021 12:18 PM UTC
Question

STM32 BLE example for CHAR_PROP_INDICATE

Hi,

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

This topic has been closed for replies.

1 reply

Remi QUINTIN
ST Technical Moderator
Jun 15, 2021 5:10 PM UTC

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));