From b69d5c0f86023534a667f3d08e194567d4ced2da Mon Sep 17 00:00:00 2001 From: erwinpan1 Date: Tue, 3 Oct 2023 15:30:51 +0800 Subject: [PATCH] Remove MultiPressMax since we don't support MSM We just support LatchingSwitch(LS) bit but not MomentarySwitchMultiPress (MSM) bit. So the MultiPressMax event shouldn't be enabled. --- .../devices/rootnode_genericswitch_9866e35d0b.matter | 2 -- .../devices/rootnode_genericswitch_9866e35d0b.zap | 12 ++++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter index 73772cdbf9a3b4..509b894a5adf21 100644 --- a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter +++ b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter @@ -629,7 +629,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; @@ -1023,7 +1022,6 @@ endpoint 1 { emits event SwitchLatched; persist attribute numberOfPositions default = 2; persist attribute currentPosition default = 0; - persist attribute multiPressMax default = 2; callback attribute generatedCommandList; callback attribute acceptedCommandList; callback attribute eventList; diff --git a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.zap b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.zap index 31407eec0616e9..48689989ff9390 100644 --- a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.zap +++ b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.zap @@ -5520,7 +5520,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "0x0", - "reportable": 0, + "reportable": 1, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -5536,7 +5536,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "0x00", - "reportable": 0, + "reportable": 1, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -5716,7 +5716,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "", - "reportable": 0, + "reportable": 1, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -5732,7 +5732,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "", - "reportable": 0, + "reportable": 1, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -5748,7 +5748,7 @@ "singleton": 0, "bounded": 0, "defaultValue": "", - "reportable": 0, + "reportable": 1, "minInterval": 1, "maxInterval": 65534, "reportableChange": 0 @@ -5955,7 +5955,7 @@ "mfgCode": null, "side": "server", "type": "int8u", - "included": 1, + "included": 0, "storageOption": "NVM", "singleton": 0, "bounded": 0,