GATTS_Service_T
C
typedef struct GATTS_Service_T { struct GATTS_Service_T *p_next; GATTS_Attribute_T *p_attrList; GATTS_CccdSetting_T const *p_cccdSetting; uint16_t startHandle; uint16_t endHandle; uint8_t cccdNumber; } GATTS_Service_T;
Description
Structure for a GATT service with its attributes and handles.
Field Documentation
Field | Description |
---|---|
p_next | Pointer to the next service in a linked list. For internal chaining of services. |
p_attrList | Pointer to the array of attributes within this service. See GATTS_Attribute_T. |
p_cccdSetting | Pointer to the CCCD settings for the service. May be NULL if not used. See GATTS_CccdSetting_T. |
startHandle | Handle of the first attribute in the service. |
endHandle | Handle of the last attribute in the service. |
cccdNumber | Count of Client Characteristic Configuration Descriptors (CCCDs) in the service. |