Skip to content

Commit

Permalink
Zap Updates for conformance (#37038)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratgr authored Jan 16, 2025
1 parent 19ae943 commit f9c7a8d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 49 deletions.
16 changes: 7 additions & 9 deletions examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2860,7 +2860,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
ram attribute clusterRevision default = 4;
}

server cluster OtaSoftwareUpdateRequestor {
Expand Down Expand Up @@ -2897,7 +2897,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 2;
ram attribute clusterRevision default = 3;
}

server cluster GeneralCommissioning {
Expand All @@ -2910,7 +2910,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;

handle command ArmFailSafe;
handle command ArmFailSafeResponse;
Expand All @@ -2923,8 +2923,6 @@ endpoint 0 {
server cluster NetworkCommissioning {
ram attribute maxNetworks;
callback attribute networks;
ram attribute scanMaxTimeSeconds;
ram attribute connectMaxTimeSeconds;
ram attribute interfaceEnabled;
ram attribute lastNetworkingStatus;
ram attribute lastNetworkID;
Expand Down Expand Up @@ -3055,7 +3053,7 @@ endpoint 0 {
callback attribute operationalDatasetComponents;
callback attribute activeNetworkFaultsList;
ram attribute featureMap default = 0x000F;
ram attribute clusterRevision default = 2;
ram attribute clusterRevision default = 3;

handle command ResetCounts;
}
Expand Down Expand Up @@ -3191,7 +3189,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 4;
ram attribute clusterRevision default = 5;

handle command Identify;
handle command TriggerEffect;
Expand Down Expand Up @@ -3223,7 +3221,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x0A;
ram attribute clusterRevision default = 2;
ram attribute clusterRevision default = 3;
}

server cluster DoorLock {
Expand Down Expand Up @@ -3271,7 +3269,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x7DB3;
ram attribute clusterRevision default = 7;
ram attribute clusterRevision default = 8;

handle command LockDoor;
handle command UnlockDoor;
Expand Down
48 changes: 8 additions & 40 deletions examples/lock-app/lock-common/lock-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@
"storageOption": "RAM",
"singleton": 1,
"bounded": 0,
"defaultValue": "3",
"defaultValue": "4",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -1318,7 +1318,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "3",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -1547,7 +1547,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -1669,38 +1669,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ScanMaxTimeSeconds",
"code": 2,
"mfgCode": null,
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ConnectMaxTimeSeconds",
"code": 3,
"mfgCode": null,
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "InterfaceEnabled",
"code": 4,
Expand Down Expand Up @@ -1743,7 +1711,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3365,7 +3333,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "3",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -4874,7 +4842,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -5262,7 +5230,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"defaultValue": "3",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -6130,7 +6098,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "7",
"defaultValue": "8",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down

0 comments on commit f9c7a8d

Please sign in to comment.