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

WindowCovering: Zap definition updates / fixes #19968

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
807d4d8
ZAP: Fix descriptor clusters
jmeg-sfy Jun 24, 2022
8b40e45
ZAP: Window Covering clusters add missing global attributes
jmeg-sfy Jun 24, 2022
ad148cd
ZAP: Update WindowCovering for all-clusters-minimal-app
jmeg-sfy Jun 24, 2022
7d8482c
ZAP: window-app WindowCovering remove non-use declaration
jmeg-sfy Jun 24, 2022
74903cb
ZAP: update all-clusters-minimal-app.matter
jmeg-sfy Jun 24, 2022
56725c0
ZAP: Identify ep0 add missing attribute
jmeg-sfy Jun 24, 2022
fbaf495
ZAP: Identify ep2
jmeg-sfy Jun 24, 2022
723478c
ZAP: Identify ep1
jmeg-sfy Jun 24, 2022
5a091d6
ZAP: Align GeneralCommissioning
jmeg-sfy Jun 24, 2022
3c0c1cf
ZAP: tweak identify
jmeg-sfy Jun 24, 2022
7b5fb27
ZAP: Add Binding Clusters on ep 1, 2
jmeg-sfy Jun 24, 2022
cbe2083
ZAP: Scenes + Group fix ep 1,2
jmeg-sfy Jun 24, 2022
4c63f44
ZAP: Remove not used Thread Diag Cluster from Ep
jmeg-sfy Jun 24, 2022
8011360
ZAP: Remove not used Network Commissioning from bad ep
jmeg-sfy Jun 24, 2022
5e17ea4
ZAP: Remove not used BASIC_CLUSTER from bad ep
jmeg-sfy Jun 24, 2022
6f79629
ZAP: Remove not use BASIC_CLUSTER from bad ep 2
jmeg-sfy Jun 24, 2022
f925e42
ZAP: Autogenerated files
jmeg-sfy Jun 24, 2022
f73aed9
ZAP: Scenes remove non-implemented enhanced calls
jmeg-sfy Jun 24, 2022
c31c4d5
ZAP: Desactivate non required Binding server cluster ep 1 2
jmeg-sfy Jun 28, 2022
522cbb6
Revert "ZAP: Update WindowCovering for all-clusters-minimal-app"
jmeg-sfy Jun 28, 2022
b82c9d0
ZAP: all-cluster-minimal add missing global attributes
jmeg-sfy Jun 28, 2022
b81a1d4
ZAP: RollBack all-cluster-minimal.matter
jmeg-sfy Jun 28, 2022
ae08157
ZAP: remove Binding server artifact
jmeg-sfy Jun 28, 2022
289d535
ZAP: Update + Regen
jmeg-sfy Jul 4, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,9 @@ server cluster WindowCovering = 258 {
readonly attribute OperationalStatus operationalStatus = 10;
readonly attribute EndProductType endProductType = 13;
attribute access(write: manage) Mode mode = 23;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -3590,6 +3593,9 @@ endpoint 1 {
ram attribute operationalStatus;
ram attribute endProductType;
persist attribute mode;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 5;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13880,6 +13880,54 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "GeneratedCommandList",
"code": 65528,
"mfgCode": null,
"side": "server",
"type": "array",
"included": 1,
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "AcceptedCommandList",
"code": 65529,
"mfgCode": null,
"side": "server",
"type": "array",
"included": 1,
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "AttributeList",
"code": 65531,
"mfgCode": null,
"side": "server",
"type": "array",
"included": 1,
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
Expand Down
77 changes: 73 additions & 4 deletions examples/window-app/common/window-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ server cluster Identify = 3 {

attribute int16u identifyTime = 0;
readonly attribute enum8 identifyType = 1;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

Expand All @@ -49,6 +52,9 @@ server cluster Identify = 3 {

server cluster Groups = 4 {
readonly attribute bitmap8 nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -103,7 +109,7 @@ server cluster Groups = 4 {
command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}

client cluster Scenes = 5 {
server cluster Scenes = 5 {
bitmap ScenesCopyMode : BITMAP8 {
kCopyAllScenes = 0x1;
}
Expand All @@ -123,7 +129,10 @@ client cluster Scenes = 5 {
readonly attribute group_id currentGroup = 2;
readonly attribute boolean sceneValid = 3;
readonly attribute bitmap8 nameSupport = 4;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct AddSceneRequest {
Expand Down Expand Up @@ -640,6 +649,7 @@ server cluster GeneralCommissioning = 48 {
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute RegulatoryLocationType regulatoryConfig = 2;
readonly attribute RegulatoryLocationType locationCapability = 3;
readonly attribute boolean supportsConcurrentConnection = 4;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
Expand Down Expand Up @@ -1529,6 +1539,9 @@ server cluster WindowCovering = 258 {
readonly attribute int16u installedClosedLimitTilt = 19;
attribute access(write: manage) Mode mode = 23;
readonly attribute SafetyStatus safetyStatus = 26;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

Expand Down Expand Up @@ -1671,6 +1684,7 @@ endpoint 0 {
callback attribute basicCommissioningInfo;
callback attribute regulatoryConfig;
callback attribute locationCapability;
callback attribute supportsConcurrentConnection default = 1;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
Expand Down Expand Up @@ -1871,17 +1885,35 @@ endpoint 0 {
}
endpoint 1 {
device type windowcovering = 514;
binding cluster Scenes;

server cluster Identify {
ram attribute identifyTime;
ram attribute identifyType;
ram attribute identifyType default = 0x05;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
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 attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}

server cluster Scenes {
ram attribute sceneCount;
ram attribute currentScene;
ram attribute currentGroup;
ram attribute sceneValid;
ram attribute nameSupport;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}
Expand All @@ -1891,6 +1923,9 @@ endpoint 1 {
callback attribute serverList;
callback attribute clientList;
callback attribute partsList;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap;
callback attribute clusterRevision default = 1;
}
Expand Down Expand Up @@ -1918,16 +1953,44 @@ endpoint 1 {
persist attribute installedClosedLimitTilt default = 0xFFFF;
persist attribute mode;
ram attribute safetyStatus;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x0017;
ram attribute clusterRevision default = 5;
}
}
endpoint 2 {
device type windowcovering = 514;
binding cluster Scenes;

server cluster Identify {
ram attribute identifyTime;
ram attribute identifyType default = 0x05;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
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 attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}

server cluster Scenes {
ram attribute sceneCount;
ram attribute currentScene;
ram attribute currentGroup;
ram attribute sceneValid;
ram attribute nameSupport;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap;
ram attribute clusterRevision default = 4;
}
Expand All @@ -1937,6 +2000,9 @@ endpoint 2 {
callback attribute serverList;
callback attribute clientList;
callback attribute partsList;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap;
callback attribute clusterRevision default = 1;
}
Expand Down Expand Up @@ -1964,6 +2030,9 @@ endpoint 2 {
persist attribute installedClosedLimitTilt default = 0xFFFF;
persist attribute mode;
ram attribute safetyStatus;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x0017;
ram attribute clusterRevision default = 5;
}
Expand Down
Loading