From 20af3af65feea6912e879900a436c89af7d78756 Mon Sep 17 00:00:00 2001 From: cecille Date: Thu, 12 Oct 2023 23:10:10 -0400 Subject: [PATCH] all-clusters: Fix conformance on Switch Attribute 2 requires the MSM feature, which in turn requires two other features that are not on. Instead, turn off this attribute. --- .../all-clusters-app.matter | 2 -- .../all-clusters-common/all-clusters-app.zap | 35 ++++++------------- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index f4d14a49f75c8b..17bef30757c008 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -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; @@ -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; } diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap index 983304e753c7a7..656c9560dc93b3 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap @@ -1,6 +1,6 @@ { "fileFormat": 2, - "featureLevel": 98, + "featureLevel": 99, "creator": "zap", "keyValuePairs": [ { @@ -17,6 +17,12 @@ } ], "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", @@ -24,12 +30,6 @@ "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": [ @@ -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, @@ -23371,5 +23355,6 @@ "endpointId": 65534, "networkId": 0 } - ] -} \ No newline at end of file + ], + "log": [] +}