@@ -38,7 +38,7 @@ class MatterEndPoint {
38
38
}
39
39
40
40
// 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) {
42
42
if (endpoint_id == 0 ) {
43
43
log_e (" Endpoint ID is not set" );
44
44
return NULL ;
@@ -53,7 +53,7 @@ class MatterEndPoint {
53
53
log_e (" Cluster [%d] not found" , cluster_id);
54
54
return NULL ;
55
55
}
56
- attribute_t *attribute = attribute::get (cluster, attribute_id);
56
+ esp_matter:: attribute_t *attribute = attribute::get (cluster, attribute_id);
57
57
if (attribute == NULL ) {
58
58
log_e (" Attribute [%d] not found" , attribute_id);
59
59
return NULL ;
@@ -63,7 +63,7 @@ class MatterEndPoint {
63
63
64
64
// get the value of an attribute from its cluster id and attribute it
65
65
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);
67
67
if (attribute == NULL ) {
68
68
return false ;
69
69
}
@@ -77,7 +77,7 @@ class MatterEndPoint {
77
77
78
78
// set the value of an attribute from its cluster id and attribute it
79
79
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);
81
81
if (attribute == NULL ) {
82
82
return false ;
83
83
}
0 commit comments