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 174 of file app/framework/include/af-types.h

attributeType#

EmberAfAttributeType EmberAfAttributeMetadata::attributeType

Attribute type, according to the ZCL specs.


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

size#

uint8_t EmberAfAttributeMetadata::size

Size of this attribute in bytes.


Definition at line 182 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 188 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 193 of file app/framework/include/af-types.h