Hello,
When you add a characteristic to a service, you should increase the value Max_Attribute_Records parameter when you call aci_gatt_add_service function.
The number of attribute records goes from 2 to 5 depending on the characteristic properties:
- Minimum of 2 (1 for declaration and 1 for the value)
- Add 1 more record for each additional property: Notify or Indicate, Broadcast, Extended property
- Notify and Indicate properties correspond to CCCD (Client Characteristic Configuration Descriptor)
- Broadcast property corresponds to SCCD (Server Characteristic Configuration Descriptor)
- Extended property corresponds to CEPD (Characteristic Extended Property Descriptor)
Best Regards