At first it is like below:
1. There are 2 services named Generic Attribute and Generic Access. I didn't create these. Why am I seeing these?
2. I want to remove the descriptor whose uuid 0x2902 belongs to 0xFF01 Service. It disappeared successfully after removing the below line of code. But the notify feature of the characteristic is also lost. Does a character need to have a descriptor to have a notify property?
Code: Select all
/* Client Characteristic Configuration Descriptor */
[IDX_CHAR_CFG_A] =
{{ESP_GATT_AUTO_RSP}, {ESP_UUID_LEN_16, (uint8_t *)&character_client_config_uuid, ESP_GATT_PERM_READ | ESP_GATT_PERM_WRITE,
sizeof(uint16_t), sizeof(heart_measurement_ccc), (uint8_t *)heart_measurement_ccc}},