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

FieldDescription
p_nextPointer to the next service in a linked list. For internal chaining of services.
p_attrListPointer to the array of attributes within this service. See GATTS_Attribute_T.
p_cccdSettingPointer to the CCCD settings for the service. May be NULL if not used. See GATTS_CccdSetting_T.
startHandleHandle of the first attribute in the service.
endHandleHandle of the last attribute in the service.
cccdNumberCount of Client Characteristic Configuration Descriptors (CCCDs) in the service.