Each attribute has its metadata stored in the struct.

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

Public Attribute Documentation#

attributeId#

EmberAfAttributeId EmberAfAttributeMetadata::attributeId

Attribute ID, according to the ZCL specs.


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

attributeType#

EmberAfAttributeType EmberAfAttributeMetadata::attributeType

Attribute type, according to the ZCL specs.


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

size#

uint8_t EmberAfAttributeMetadata::size

Size of this attribute in bytes.


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

mask#

EmberAfAttributeMask EmberAfAttributeMetadata::mask

Attribute mask, which tags the attribute with a specific functionality. See ATTRIBUTE_MASK_ macros defined in af-storage.h.


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

defaultValue#

EmberAfDefaultOrMinMaxAttributeValue EmberAfAttributeMetadata::defaultValue

Pointer to the default value union. The actual value stored depends on the mask.


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