Skip to content

Commit 0ac25c6

Browse files
Set Thermostat cluster revision as external and implement Read handler (project-chip#41223)
* Set Thermostat ClusterRevision to external. Implement the read handler and use the generated MetaData Revision constant * run zap_regen_all * Update src/app/clusters/thermostat-server/thermostat-server.cpp Co-authored-by: Andrei Litvin <[email protected]> --------- Co-authored-by: Andrei Litvin <[email protected]>
1 parent effe076 commit 0ac25c6

File tree

21 files changed

+27
-74
lines changed

21 files changed

+27
-74
lines changed

examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3472,7 +3472,7 @@ endpoint 5 {
34723472
callback attribute acceptedCommandList;
34733473
callback attribute attributeList;
34743474
ram attribute featureMap default = 1;
3475-
ram attribute clusterRevision default = 6;
3475+
callback attribute clusterRevision;
34763476

34773477
handle command SetpointRaiseLower;
34783478
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8743,7 +8743,7 @@ endpoint 1 {
87438743
callback attribute acceptedCommandList;
87448744
callback attribute attributeList;
87458745
ram attribute featureMap default = 0x0123;
8746-
ram attribute clusterRevision default = 7;
8746+
callback attribute clusterRevision;
87478747

87488748
handle command SetpointRaiseLower;
87498749
handle command SetActiveScheduleRequest;

examples/all-clusters-app/realtek/data_model/all-clusters-app.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9090,7 +9090,7 @@ endpoint 1 {
90909090
callback attribute acceptedCommandList;
90919091
callback attribute attributeList;
90929092
ram attribute featureMap default = 0x0123;
9093-
ram attribute clusterRevision default = 7;
9093+
callback attribute clusterRevision;
90949094

90959095
handle command SetpointRaiseLower;
90969096
handle command SetActiveScheduleRequest;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7001,7 +7001,7 @@ endpoint 1 {
70017001
ram attribute controlSequenceOfOperation default = 0x04;
70027002
ram attribute systemMode default = 0x01;
70037003
ram attribute featureMap default = 1;
7004-
ram attribute clusterRevision default = 6;
7004+
callback attribute clusterRevision;
70057005

70067006
handle command SetpointRaiseLower;
70077007
}

examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3320,7 +3320,7 @@ endpoint 5 {
33203320
callback attribute acceptedCommandList;
33213321
callback attribute attributeList;
33223322
ram attribute featureMap default = 1;
3323-
ram attribute clusterRevision default = 6;
3323+
callback attribute clusterRevision;
33243324

33253325
handle command SetpointRaiseLower;
33263326
}

examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2361,7 +2361,7 @@ endpoint 1 {
23612361
callback attribute acceptedCommandList;
23622362
callback attribute attributeList;
23632363
ram attribute featureMap default = 3;
2364-
ram attribute clusterRevision default = 7;
2364+
callback attribute clusterRevision;
23652365

23662366
handle command SetpointRaiseLower;
23672367
}

examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,7 @@ endpoint 1 {
26112611
callback attribute acceptedCommandList;
26122612
callback attribute attributeList;
26132613
ram attribute featureMap default = 39;
2614-
ram attribute clusterRevision default = 6;
2614+
callback attribute clusterRevision;
26152615

26162616
handle command SetpointRaiseLower;
26172617
}

examples/placeholder/linux/apps/app1/config.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9267,7 +9267,7 @@ endpoint 0 {
92679267
callback attribute ACCoilTemperature;
92689268
callback attribute ACCapacityformat default = 0x00;
92699269
ram attribute featureMap default = 0x000b;
9270-
ram attribute clusterRevision default = 6;
9270+
callback attribute clusterRevision;
92719271
}
92729272

92739273
server cluster ThermostatUserInterfaceConfiguration {

examples/placeholder/linux/apps/app2/config.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9230,7 +9230,7 @@ endpoint 0 {
92309230
callback attribute ACCoilTemperature;
92319231
callback attribute ACCapacityformat default = 0x00;
92329232
ram attribute featureMap default = 0x000b;
9233-
ram attribute clusterRevision default = 6;
9233+
callback attribute clusterRevision;
92349234
}
92359235

92369236
server cluster ThermostatUserInterfaceConfiguration {

examples/thermostat/nxp/zap/thermostat_matter_br.matter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2709,7 +2709,7 @@ endpoint 1 {
27092709
callback attribute acceptedCommandList;
27102710
callback attribute attributeList;
27112711
ram attribute featureMap default = 0x3;
2712-
ram attribute clusterRevision default = 9;
2712+
callback attribute clusterRevision;
27132713

27142714
handle command SetpointRaiseLower;
27152715
}

0 commit comments

Comments
 (0)