Skip to content

Commit

Permalink
all-clusters: Fix conformance on Switch
Browse files Browse the repository at this point in the history
Attribute 2 requires the MSM feature, which in turn requires two
other features that are not on. Instead, turn off this attribute.
  • Loading branch information
cecille committed Oct 13, 2023
1 parent 85b54cd commit 20af3af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,6 @@ server cluster Switch = 59 {

readonly attribute int8u numberOfPositions = 0;
readonly attribute int8u currentPosition = 1;
readonly attribute int8u multiPressMax = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -6854,7 +6853,6 @@ endpoint 1 {
emits event SwitchLatched;
ram attribute numberOfPositions default = 2;
ram attribute currentPosition;
ram attribute multiPressMax default = 2;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 1;
}
Expand Down
35 changes: 10 additions & 25 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"fileFormat": 2,
"featureLevel": 98,
"featureLevel": 99,
"creator": "zap",
"keyValuePairs": [
{
Expand All @@ -17,19 +17,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl-with-test-extensions.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data with some extensions"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -8423,22 +8423,6 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "MultiPressMax",
"code": 2,
"mfgCode": null,
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
Expand Down Expand Up @@ -23371,5 +23355,6 @@
"endpointId": 65534,
"networkId": 0
}
]
}
],
"log": []
}

0 comments on commit 20af3af

Please sign in to comment.