Skip to content

Commit 1633380

Browse files
mideayanghuirestyled-commits
authored andcommitted
Add functions to set TagList attribute in descriptor cluster (#28753)
* Add TagList support feature in descriptor cluster * Restyled by clang-format * Add descriptor in all-cluster-app * modify descriptor cluster's revision * Restyled by clang-format * read featureMap before read tag attribute * Restyled by clang-format * modify the namespace in descriptor cluster * Restyled by clang-format * Optimize the descriptor cluster with review suggestion * Optimize GetTagListFromEndpointAtIndex api and add ReadFeatureMap api * Add read taglist and featureMap in TestDescriptorCluster.yaml * zap regen * Restyled by whitespace * Restyled by clang-format * Restyled by prettier-yaml * Add advice of review * update TestScript for descriptor cluster * Restyled by clang-format * update read tagList step in Test_TC_DESC_2_1.yaml * fixes spelling * resume featureMap setting in zap, set while set taglist * fix read tagList step in Test_TC_DESC_2_1.yaml * fix CI error * fix CI error --------- Co-authored-by: Restyled.io <[email protected]>
1 parent 1571d74 commit 1633380

File tree

11 files changed

+418
-158
lines changed

11 files changed

+418
-158
lines changed

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

+8-4
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ server cluster Descriptor = 29 {
558558
readonly attribute CLUSTER_ID serverList[] = 1;
559559
readonly attribute CLUSTER_ID clientList[] = 2;
560560
readonly attribute ENDPOINT_NO partsList[] = 3;
561+
readonly attribute SemanticTagStruct tagList[] = 4;
561562
readonly attribute command_id generatedCommandList[] = 65528;
562563
readonly attribute command_id acceptedCommandList[] = 65529;
563564
readonly attribute event_id eventList[] = 65530;
@@ -6130,12 +6131,13 @@ endpoint 0 {
61306131
callback attribute serverList;
61316132
callback attribute clientList;
61326133
callback attribute partsList;
6134+
callback attribute tagList;
61336135
callback attribute generatedCommandList;
61346136
callback attribute acceptedCommandList;
61356137
callback attribute eventList;
61366138
callback attribute attributeList;
61376139
ram attribute featureMap default = 0;
6138-
callback attribute clusterRevision default = 1;
6140+
callback attribute clusterRevision default = 2;
61396141
}
61406142

61416143
server cluster Binding {
@@ -6634,12 +6636,13 @@ endpoint 1 {
66346636
callback attribute serverList;
66356637
callback attribute clientList;
66366638
callback attribute partsList;
6639+
callback attribute tagList;
66376640
callback attribute generatedCommandList;
66386641
callback attribute acceptedCommandList;
66396642
callback attribute eventList;
66406643
callback attribute attributeList;
66416644
ram attribute featureMap default = 0;
6642-
callback attribute clusterRevision default = 1;
6645+
callback attribute clusterRevision default = 2;
66436646
}
66446647

66456648
server cluster Binding {
@@ -7646,12 +7649,13 @@ endpoint 2 {
76467649
callback attribute serverList;
76477650
callback attribute clientList;
76487651
callback attribute partsList;
7652+
callback attribute tagList;
76497653
callback attribute generatedCommandList;
76507654
callback attribute acceptedCommandList;
76517655
callback attribute eventList;
76527656
callback attribute attributeList;
76537657
ram attribute featureMap default = 0;
7654-
callback attribute clusterRevision default = 1;
7658+
callback attribute clusterRevision default = 2;
76557659
}
76567660

76577661
server cluster PowerSource {
@@ -7688,7 +7692,7 @@ endpoint 65534 {
76887692
callback attribute clientList;
76897693
callback attribute partsList;
76907694
ram attribute featureMap default = 0;
7691-
callback attribute clusterRevision default = 1;
7695+
callback attribute clusterRevision default = 2;
76927696
}
76937697

76947698
server cluster NetworkCommissioning {

0 commit comments

Comments
 (0)