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 Name | Description |
---|---|
endpointId | Endpoint unique identifier |
clusterId | Cluster unique identifier |
clusterSide | Cluster 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