Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy ZCL type for placeholder app. #25594

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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