From 211da96e22e9f518a03eafbaecf8989c70fc8c48 Mon Sep 17 00:00:00 2001
From: James Swan <122404367+swan-amazon@users.noreply.github.com>
Date: Tue, 7 May 2024 18:31:54 +0000
Subject: [PATCH] Add TC feature definitions to General Commissioning Cluster
XML files
This commit introduces the "Terms and Conditions" (TC) feature
definitions to the General Commissioning Cluster XML data model files.
The changes include new attributes, commands, and commissioning errors
related to the TC feature.
Changes include:
- Added TC feature definition with bitmask.
- Introduced new commissioning errors related to TC:
- RequiredTCNotAccepted
- TCAcknowledgementsNotReceived
- TCMinVersionNotMet
- Added new attributes for TC:
- TCAcceptedVersion
- TCMinRequiredVersion
- TCAcknowledgements
- TCAcknowledgementsRequired
- Added new commands for TC acknowledgements:
- SetTCAcknowledgements
- SetTCAcknowledgementsResponse
These changes only modify the XML files. A follow-up commit will
regenerate the necessary files.
---
.../clusters/GeneralCommissioningCluster.xml | 95 +++++++++++++++++++
.../chip/general-commissioning-cluster.xml | 45 ++++++++-
2 files changed, 139 insertions(+), 1 deletion(-)
diff --git a/data_model/clusters/GeneralCommissioningCluster.xml b/data_model/clusters/GeneralCommissioningCluster.xml
index e440222780ea02..50fa47ed6fda46 100644
--- a/data_model/clusters/GeneralCommissioningCluster.xml
+++ b/data_model/clusters/GeneralCommissioningCluster.xml
@@ -63,6 +63,11 @@ Davis, CA 95616, USA
+
+
+
+
+
-
@@ -80,6 +85,30 @@ Davis, CA 95616, USA
-
+ -
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
-
@@ -127,6 +156,46 @@ Davis, CA 95616, USA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -185,5 +254,31 @@ Davis, CA 95616, USA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml
index eabc56a4d95916..f0789c91d344e1 100644
--- a/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml
@@ -1,6 +1,6 @@