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.


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

attributeType#

sl_zigbee_af_attribute_type_t sl_zigbee_af_attribute_metadata_t::attributeType

Attribute type, according to the ZCL specs.


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

size#

uint8_t sl_zigbee_af_attribute_metadata_t::size

Size of this attribute in bytes.


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

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.


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


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