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

#include < af-types.h >

Data Fields

EmberAfAttributeId attributeId
EmberAfAttributeType attributeType
uint8_t size
EmberAfAttributeMask mask
EmberAfDefaultOrMinMaxAttributeValue defaultValue

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

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

Field Documentation

EmberAfAttributeId EmberAfAttributeMetadata::attributeId

Attribute ID, according to ZCL specs.

EmberAfAttributeType EmberAfAttributeMetadata::attributeType

Attribute type, according to ZCL specs.

EmberAfDefaultOrMinMaxAttributeValue EmberAfAttributeMetadata::defaultValue

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

EmberAfAttributeMask EmberAfAttributeMetadata::mask

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

uint8_t EmberAfAttributeMetadata::size

Size of this attribute in bytes.


The documentation for this struct was generated from the following file:
  • af-types.h