From e175d46494cbea912b19d78f3dd90b27ba64a232 Mon Sep 17 00:00:00 2001
From: James Swan <122404367+swan-amazon@users.noreply.github.com>
Date: Mon, 29 Jul 2024 20:49:14 +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 | 93 ++++++++++++-------
.../chip/general-commissioning-cluster.xml | 40 +++++++-
2 files changed, 100 insertions(+), 33 deletions(-)
diff --git a/data_model/master/clusters/GeneralCommissioningCluster.xml b/data_model/master/clusters/GeneralCommissioningCluster.xml
index ed10afa8406a5a..ad6c3484aa9835 100644
--- a/data_model/master/clusters/GeneralCommissioningCluster.xml
+++ b/data_model/master/clusters/GeneralCommissioningCluster.xml
@@ -65,7 +65,7 @@ Davis, CA 95616, USA
-
+
@@ -87,19 +87,28 @@ Davis, CA 95616, USA
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
@@ -150,27 +159,43 @@ Davis, CA 95616, USA
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
@@ -231,10 +256,13 @@ Davis, CA 95616, USA
-
-
-
-
+
+
+
+
+
+
+
@@ -242,13 +270,16 @@ 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..da813b60fef2e4 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 @@