Skip to content

Commit

Permalink
Fixed .matter for all clusters app
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs committed Oct 10, 2023
1 parent 03adda5 commit 1d2d6e2
Showing 1 changed file with 43 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -7694,5 +7737,3 @@ endpoint 65534 {
callback attribute clusterRevision default = 1;
}
}


0 comments on commit 1d2d6e2

Please sign in to comment.