Each attribute has it's metadata stored in such struct.

There is only one of these per attribute across all endpoints.

Public Attribute Documentation#

attributeId#

EmberAfAttributeId EmberAfAttributeMetadata::attributeId

Attribute ID, according to ZCL specs.


attributeType#

EmberAfAttributeType EmberAfAttributeMetadata::attributeType

Attribute type, according to ZCL specs.


size#

uint8_t EmberAfAttributeMetadata::size

Size of this attribute in bytes.


mask#

EmberAfAttributeMask EmberAfAttributeMetadata::mask

Attribute mask, tagging attribute with specific functionality. See ATTRIBUTE_MASK_ macros defined in att-storage.h.


defaultValue#

EmberAfDefaultOrMinMaxAttributeValue EmberAfAttributeMetadata::defaultValue

Pointer to the default value union. Actual value stored depends on the mask.