Each attribute has its metadata stored in the struct.

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

Public Attribute Documentation#

attributeId#

sl_zigbee_af_attribute_id_t sl_zigbee_af_attribute_metadata_t::attributeId

Attribute ID, according to the ZCL specs.


attributeType#

sl_zigbee_af_attribute_type_t sl_zigbee_af_attribute_metadata_t::attributeType

Attribute type, according to the ZCL specs.


size#

uint8_t sl_zigbee_af_attribute_metadata_t::size

Size of this attribute in bytes.


mask#

sl_zigbee_af_attribute_mask_t sl_zigbee_af_attribute_metadata_t::mask

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


defaultValue#

sl_zigbee_af_default_or_min_max_attribute_value_t sl_zigbee_af_attribute_metadata_t::defaultValue

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