From 2cb81a7eb7381e1914762b99fb63778f060254ba Mon Sep 17 00:00:00 2001 From: James Swan Date: Wed, 1 May 2024 00:51:57 +0000 Subject: [PATCH] Add new error codes, attributes, and commands to GeneralCommissioningCluster This commit adds the following enhancements to the GeneralCommissioningCluster: - Added error codes: - RequiredTCNotAccepted (0x5) - TCAcknowledgementsNotReceived (0x6) - TCMinVersionNotMet (0x7) - Added attributes: - TC_ACCEPTED_VERSION (0x05) - TC_MIN_REQUIRED_VERSION (0x06) - TC_ACKNOWLEDGEMENTS (0x07) - TC_ACKNOWLEDGEMENTS_REQUIRED (0x08) - Added command: - SetTCAcknowledgements (0x06) - Added command response: - SetTCAcknowledgementsResponse (0x05) --- .../chip/general-commissioning-cluster.xml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) 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..a6718a7d6b8166 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 @@ -23,6 +23,9 @@ limitations under the License. + + + @@ -50,6 +53,14 @@ limitations under the License. RegulatoryConfig LocationCapability SupportsConcurrentConnection + TCAcceptedVersion + TCMinRequiredVersion + + TCAcknowledgements + + + + TCAcknowledgementsRequired Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock @@ -83,5 +94,16 @@ limitations under the License. + + Set the acknowledged Terms and Conditions + + + + + + Indicates to client whether TCAcknowledgements command satisfied all of the required terms and conditions + + +