@@ -38,7 +38,7 @@ class MatterEndPoint {
3838 }
3939
4040 // helper functions for attribute manipulation
41- attribute_t *getAttribute (uint32_t cluster_id, uint32_t attribute_id) {
41+ esp_matter:: attribute_t *getAttribute (uint32_t cluster_id, uint32_t attribute_id) {
4242 if (endpoint_id == 0 ) {
4343 log_e (" Endpoint ID is not set" );
4444 return NULL ;
@@ -53,7 +53,7 @@ class MatterEndPoint {
5353 log_e (" Cluster [%d] not found" , cluster_id);
5454 return NULL ;
5555 }
56- attribute_t *attribute = attribute::get (cluster, attribute_id);
56+ esp_matter:: attribute_t *attribute = attribute::get (cluster, attribute_id);
5757 if (attribute == NULL ) {
5858 log_e (" Attribute [%d] not found" , attribute_id);
5959 return NULL ;
@@ -63,7 +63,7 @@ class MatterEndPoint {
6363
6464 // get the value of an attribute from its cluster id and attribute it
6565 bool getAttributeVal (uint32_t cluster_id, uint32_t attribute_id, esp_matter_attr_val_t *attrVal) {
66- attribute_t *attribute = getAttribute (cluster_id, attribute_id);
66+ esp_matter:: attribute_t *attribute = getAttribute (cluster_id, attribute_id);
6767 if (attribute == NULL ) {
6868 return false ;
6969 }
@@ -77,7 +77,7 @@ class MatterEndPoint {
7777
7878 // set the value of an attribute from its cluster id and attribute it
7979 bool setAttributeVal (uint32_t cluster_id, uint32_t attribute_id, esp_matter_attr_val_t *attrVal) {
80- attribute_t *attribute = getAttribute (cluster_id, attribute_id);
80+ esp_matter:: attribute_t *attribute = getAttribute (cluster_id, attribute_id);
8181 if (attribute == NULL ) {
8282 return false ;
8383 }
0 commit comments