Skip to content

Commit

Permalink
Remove legacy ZCL type for placeholder app. (#25594)
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 authored and pull[bot] committed Jul 19, 2023
1 parent 5fef491 commit f8aceea
Show file tree
Hide file tree
Showing 4 changed files with 2,286 additions and 320 deletions.
53 changes: 52 additions & 1 deletion examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ server cluster Identify = 3 {
INT16U identifyTime = 0;
}

request struct TriggerEffectRequest {
IdentifyEffectIdentifier effectIdentifier = 0;
IdentifyEffectVariant effectVariant = 1;
}

command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0;
command access(invoke: manage) TriggerEffect(TriggerEffectRequest): DefaultSuccess = 64;
}

server cluster Groups = 4 {
Expand Down Expand Up @@ -370,6 +376,10 @@ server cluster LevelControl = 8 {
}

readonly attribute nullable int8u currentLevel = 0;
readonly attribute int16u remainingTime = 1;
attribute LevelControlOptions options = 15;
attribute nullable int8u onLevel = 17;
attribute access(write: manage) nullable int8u startUpCurrentLevel = 16384;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -3597,7 +3607,7 @@ endpoint 0 {
}
}
endpoint 1 {
device type anonymousEndpointType = 258, version 1;
device type anonymousEndpointType = 257, version 1;
binding cluster OnOff;
binding cluster LocalizationConfiguration;
binding cluster UnitLocalization;
Expand All @@ -3606,12 +3616,20 @@ endpoint 1 {
server cluster Identify {
ram attribute identifyTime;
ram attribute identifyType;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}

server cluster Groups {
ram attribute nameSupport;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}
Expand All @@ -3622,22 +3640,55 @@ endpoint 1 {
ram attribute currentGroup;
ram attribute sceneValid;
ram attribute nameSupport;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}

server cluster OnOff {
ram attribute onOff;
ram attribute globalSceneControl default = 1;
ram attribute onTime;
ram attribute offWaitTime;
ram attribute startUpOnOff;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}

server cluster LevelControl {
ram attribute currentLevel;
ram attribute remainingTime;
ram attribute options;
ram attribute onLevel;
ram attribute startUpCurrentLevel;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 5;
}

server cluster Descriptor {
callback attribute deviceTypeList;
callback attribute serverList;
callback attribute clientList;
callback attribute partsList;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}

server cluster BasicInformation {
callback attribute dataModelRevision default = 10;
callback attribute vendorName;
Expand Down
Loading

0 comments on commit f8aceea

Please sign in to comment.