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

attributeId

EmberAfAttributeId EmberAfAttributeMetadata::attributeId

Attribute ID, according to ZCL specs.

attributeType

EmberAfAttributeType EmberAfAttributeMetadata::attributeType

Attribute type, according to ZCL specs.

defaultValue

EmberAfDefaultOrMinMaxAttributeValue EmberAfAttributeMetadata::defaultValue

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

mask

EmberAfAttributeMask EmberAfAttributeMetadata::mask

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

size

uint8_t EmberAfAttributeMetadata::size

Size of this attribute in bytes.


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