@@ -169,7 +169,7 @@ cluster AccessControl = 31 {
169
169
readonly attribute int16u clusterRevision = 65533;
170
170
171
171
request struct ReviewFabricRestrictionsRequest {
172
- AccessRestrictionStruct arl[] = 0;
172
+ CommissioningAccessRestrictionEntryStruct arl[] = 0;
173
173
}
174
174
175
175
response struct ReviewFabricRestrictionsResponse = 1 {
@@ -348,6 +348,9 @@ cluster GeneralCommissioning = 48 {
348
348
kInvalidAuthentication = 2;
349
349
kNoFailSafe = 3;
350
350
kBusyWithOtherAdmin = 4;
351
+ kRequiredTCNotAccepted = 5;
352
+ kTCAcknowledgementsNotReceived = 6;
353
+ kTCMinVersionNotMet = 7;
351
354
}
352
355
353
356
enum RegulatoryLocationTypeEnum : enum8 {
@@ -356,6 +359,10 @@ cluster GeneralCommissioning = 48 {
356
359
kIndoorOutdoor = 2;
357
360
}
358
361
362
+ bitmap Feature : bitmap32 {
363
+ kTermsAndConditions = 0x1;
364
+ }
365
+
359
366
struct BasicCommissioningInfo {
360
367
int16u failSafeExpiryLengthSeconds = 0;
361
368
int16u maxCumulativeFailsafeSeconds = 1;
@@ -366,6 +373,10 @@ cluster GeneralCommissioning = 48 {
366
373
readonly attribute RegulatoryLocationTypeEnum regulatoryConfig = 2;
367
374
readonly attribute RegulatoryLocationTypeEnum locationCapability = 3;
368
375
readonly attribute boolean supportsConcurrentConnection = 4;
376
+ provisional readonly attribute access(read: administer) optional int16u TCAcceptedVersion = 5;
377
+ provisional readonly attribute access(read: administer) optional int16u TCMinRequiredVersion = 6;
378
+ provisional readonly attribute access(read: administer) optional bitmap16 TCAcknowledgements = 7;
379
+ provisional readonly attribute access(read: administer) optional boolean TCAcknowledgementsRequired = 8;
369
380
readonly attribute command_id generatedCommandList[] = 65528;
370
381
readonly attribute command_id acceptedCommandList[] = 65529;
371
382
readonly attribute event_id eventList[] = 65530;
@@ -399,12 +410,23 @@ cluster GeneralCommissioning = 48 {
399
410
char_string debugText = 1;
400
411
}
401
412
413
+ request struct SetTCAcknowledgementsRequest {
414
+ int16u TCVersion = 0;
415
+ bitmap16 TCUserResponse = 1;
416
+ }
417
+
418
+ response struct SetTCAcknowledgementsResponse = 7 {
419
+ CommissioningErrorEnum errorCode = 0;
420
+ }
421
+
402
422
/** Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock */
403
423
command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0;
404
424
/** Set the regulatory configuration to be used during commissioning */
405
425
command access(invoke: administer) SetRegulatoryConfig(SetRegulatoryConfigRequest): SetRegulatoryConfigResponse = 2;
406
426
/** Signals the Server that the Client has successfully completed all steps of Commissioning/Recofiguration needed during fail-safe period. */
407
427
fabric command access(invoke: administer) CommissioningComplete(): CommissioningCompleteResponse = 4;
428
+ /** This command sets the user acknowledgements received in the Enhanced Setup Flow Terms and Conditions into the node. */
429
+ command access(invoke: administer) SetTCAcknowledgements(SetTCAcknowledgementsRequest): SetTCAcknowledgementsResponse = 6;
408
430
}
409
431
410
432
/** Functionality to configure, enable, disable network credentials and access on a Matter device. */
0 commit comments