Struct describing a cluster.

Public Attribute Documentation#

clusterId#

sl_zigbee_af_cluster_id_t sl_zigbee_af_cluster_t::clusterId

ID of the cluster according to the ZCL spec.


attributes#

sl_zigbee_af_attribute_metadata_t* sl_zigbee_af_cluster_t::attributes

Pointer to attribute metadata array for this cluster.


attributeCount#

uint16_t sl_zigbee_af_cluster_t::attributeCount

Total number of attributes.


clusterSize#

uint16_t sl_zigbee_af_cluster_t::clusterSize

Total size of non-external, non-singleton, attribute for this cluster.


mask#

sl_zigbee_af_cluster_mask_t sl_zigbee_af_cluster_t::mask

Mask with additional functionality for the cluster. See CLUSTER_MASK macros.


functions#

const sl_zigbee_af_generic_cluster_function_t* sl_zigbee_af_cluster_t::functions

An array into the cluster functions. The length of the array is determined by the function bits in mask. This may be null if this cluster has no functions.