esp_zb_zcl_get_attribute() function
Get ZCL attribute descriptor.
Arguments
cluster_id
Cluster id for attribute list refer to esp_zb_zcl_cluster_id
cluster_role
Cluster role of this cluster, either server or client role refer to esp_zb_zcl_cluster_role
Return value
Notes
Getting the local attribute from the specific endpoint and cluster.