GATTS_Attribute_T

C

typedef struct GATTS_Attribute_T
{
    uint8_t     *p_uuid;
    uint8_t     *p_value;
    uint16_t    *p_len;
    uint16_t    maxLen;
    uint8_t     settings;
    uint8_t     permissions;
} GATTS_Attribute_T;

Description

Structure representing a GATT attribute.

Field Documentation

FieldDescription
p_uuidPointer to the UUID of the attribute.
p_valuePointer to the value of the attribute.
p_lenPointer to the length of the attribute's value.
maxLenMaximum length that the attribute's value can take.
settingsSettings for the attribute, defining how it can be used. Refer to Attribute settings for valid value.
permissionsPermissions for the attribute, defining access rights. Refer to Attribute permissions for valid value.