Skip to content

Commit

Permalink
Change OnOff revision to 5 (XML). Update all impacted .zap files. (#2…
Browse files Browse the repository at this point in the history
…6524)

Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
3 people authored and pull[bot] committed Aug 30, 2023
1 parent 5e6b425 commit 1246751
Show file tree
Hide file tree
Showing 92 changed files with 346 additions and 250 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ client cluster OnOff = 6 {

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
}

bitmap OnOffControl : BITMAP8 {
Expand Down Expand Up @@ -361,6 +362,7 @@ server cluster OnOff = 6 {

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
}

bitmap OnOffControl : BITMAP8 {
Expand Down Expand Up @@ -6529,7 +6531,7 @@ endpoint 1 {
ram attribute offWaitTime default = 0x0000;
persist attribute startUpOnOff default = 0xFF;
ram attribute featureMap default = 0x0001;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster OnOffSwitchConfiguration {
Expand Down Expand Up @@ -7558,7 +7560,7 @@ endpoint 2 {
ram attribute offWaitTime default = 0;
ram attribute startUpOnOff;
ram attribute featureMap default = 0x0000;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster Descriptor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -650,7 +650,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -10127,7 +10127,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -10297,7 +10297,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -29897,7 +29897,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -30019,7 +30019,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ server cluster OnOff = 6 {

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
}

bitmap OnOffControl : BITMAP8 {
Expand Down Expand Up @@ -4209,7 +4210,7 @@ endpoint 1 {
server cluster OnOff {
persist attribute onOff default = 0x00;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster LevelControl {
Expand Down Expand Up @@ -4594,7 +4595,7 @@ endpoint 2 {
server cluster OnOff {
ram attribute onOff default = 0x00;
ram attribute featureMap default = 0x0000;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster Descriptor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -650,7 +650,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -9153,7 +9153,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -9323,7 +9323,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -21564,7 +21564,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -21686,7 +21686,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down
3 changes: 2 additions & 1 deletion examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ server cluster OnOff = 6 {

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
}

bitmap OnOffControl : BITMAP8 {
Expand Down Expand Up @@ -1970,7 +1971,7 @@ endpoint 2 {
server cluster OnOff {
ram attribute onOff default = 0x00;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster LevelControl {
Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -6270,7 +6270,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -6328,7 +6328,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ server cluster OnOff = 6 {

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
}

bitmap OnOffControl : BITMAP8 {
Expand Down Expand Up @@ -1843,7 +1844,7 @@ endpoint 1 {
callback attribute acceptedCommandList default = 0;
callback attribute attributeList default = 0;
ram attribute featureMap default = 0x1;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster LevelControl {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -610,7 +610,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -6224,7 +6224,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -6394,7 +6394,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ server cluster OnOff = 6 {

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
}

bitmap OnOffControl : BITMAP8 {
Expand Down Expand Up @@ -1707,7 +1708,7 @@ endpoint 1 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster LevelControl {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -610,7 +610,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -6313,7 +6313,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -6499,7 +6499,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -610,7 +610,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ server cluster OnOff = 6 {

bitmap Feature : BITMAP32 {
kLighting = 0x1;
kDeadFront = 0x2;
}

bitmap OnOffControl : BITMAP8 {
Expand Down Expand Up @@ -1619,7 +1620,7 @@ endpoint 1 {
callback attribute acceptedCommandList default = 0;
callback attribute attributeList default = 0;
ram attribute featureMap default = 0x1;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;
}

server cluster LevelControl {
Expand Down
8 changes: 4 additions & 4 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -610,7 +610,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -6249,7 +6249,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -6419,7 +6419,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
Loading

0 comments on commit 1246751

Please sign in to comment.