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.


Definition at line 154 of file ./app/framework/include/af-types.h

attributeType#

EmberAfAttributeType EmberAfAttributeMetadata::attributeType

Attribute type, according to ZCL specs.


Definition at line 158 of file ./app/framework/include/af-types.h

size#

uint8_t EmberAfAttributeMetadata::size

Size of this attribute in bytes.


Definition at line 162 of file ./app/framework/include/af-types.h

mask#

EmberAfAttributeMask EmberAfAttributeMetadata::mask

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


Definition at line 168 of file ./app/framework/include/af-types.h

defaultValue#

EmberAfDefaultOrMinMaxAttributeValue EmberAfAttributeMetadata::defaultValue

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


Definition at line 173 of file ./app/framework/include/af-types.h