5.1.7.3.4 ZCL_GetCluster Function

Syntax

ZCL_Cluster_t * ZCL_GetCluster(Endpoint_t endpointId, ClusterId_t clusterId, uint8_t clusterSide);

Description

This function finds the cluster descriptor by the endpoint ID and the cluster ID.

Input Parameters
Parameter NameDescription
endpointId Endpoint unique identifier
clusterIdCluster unique identifier
clusterSideCluster side (client or server)
Return Type and Values
  • Retrieves the ZCL cluster descriptor upon finding a match
  • Returns NULL in case of not finding a match