From 1d2d6e27262963caf9709d36e0f418eb8129f18c Mon Sep 17 00:00:00 2001 From: lpbeliveau-silabs Date: Tue, 10 Oct 2023 17:13:26 -0400 Subject: [PATCH] Fixed .matter for all clusters app --- .../all-clusters-app.matter | 45 ++++++++++++++++++- 1 file changed, 43 insertions(+), 2 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 635052df996693..157f04680269cf 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 @@ -191,6 +191,27 @@ server cluster Scenes = 5 { group_id groupID = 0; } + request struct EnhancedAddSceneRequest { + group_id groupID = 0; + INT8U sceneID = 1; + INT16U transitionTime = 2; + CHAR_STRING sceneName = 3; + ExtensionFieldSet extensionFieldSets[] = 4; + } + + request struct EnhancedViewSceneRequest { + group_id groupID = 0; + INT8U sceneID = 1; + } + + request struct CopySceneRequest { + ScenesCopyMode mode = 0; + group_id groupIdentifierFrom = 1; + INT8U sceneIdentifierFrom = 2; + group_id groupIdentifierTo = 3; + INT8U sceneIdentifierTo = 4; + } + response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; @@ -230,6 +251,27 @@ server cluster Scenes = 5 { optional INT8U sceneList[] = 3; } + response struct EnhancedAddSceneResponse = 64 { + status status = 0; + group_id groupID = 1; + INT8U sceneID = 2; + } + + response struct EnhancedViewSceneResponse = 65 { + status status = 0; + group_Id groupID = 1; + INT8U sceneID = 2; + optional INT16U transitionTime = 3; + optional CHAR_STRING sceneName = 4; + optional ExtensionFieldSet extensionFieldSets[] = 5; + } + + response struct CopySceneResponse = 66 { + status status = 0; + group_Id groupIdentifierFrom = 1; + INT8U sceneIdentifierFrom = 2; + } + fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1; fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2; @@ -7605,6 +7647,7 @@ endpoint 2 { ram attribute currentScene default = 0x00; ram attribute currentGroup default = 0x0000; ram attribute sceneValid default = 0x00; + ram attribute lastConfiguredBy; ram attribute nameSupport default = 0x80; ram attribute sceneTableSize default = 16; callback attribute remainingCapacity default = 8; @@ -7694,5 +7737,3 @@ endpoint 65534 { callback attribute clusterRevision default = 1; } } - -