@@ -1358,6 +1358,9 @@ cluster GeneralCommissioning = 48 {
1358
1358
kInvalidAuthentication = 2;
1359
1359
kNoFailSafe = 3;
1360
1360
kBusyWithOtherAdmin = 4;
1361
+ kRequiredTCNotAccepted = 5;
1362
+ kTCAcknowledgementsNotReceived = 6;
1363
+ kTCMinVersionNotMet = 7;
1361
1364
}
1362
1365
1363
1366
enum RegulatoryLocationTypeEnum : enum8 {
@@ -1366,6 +1369,10 @@ cluster GeneralCommissioning = 48 {
1366
1369
kIndoorOutdoor = 2;
1367
1370
}
1368
1371
1372
+ bitmap Feature : bitmap32 {
1373
+ kTermsAndConditions = 0x1;
1374
+ }
1375
+
1369
1376
struct BasicCommissioningInfo {
1370
1377
int16u failSafeExpiryLengthSeconds = 0;
1371
1378
int16u maxCumulativeFailsafeSeconds = 1;
@@ -1376,6 +1383,10 @@ cluster GeneralCommissioning = 48 {
1376
1383
readonly attribute RegulatoryLocationTypeEnum regulatoryConfig = 2;
1377
1384
readonly attribute RegulatoryLocationTypeEnum locationCapability = 3;
1378
1385
readonly attribute boolean supportsConcurrentConnection = 4;
1386
+ readonly attribute access(read: administer) optional nullable int16u TCAcceptedVersion = 5;
1387
+ readonly attribute access(read: administer) optional nullable int16u TCMinRequiredVersion = 6;
1388
+ readonly attribute access(read: administer) optional bitmap16 TCAcknowledgements = 7;
1389
+ readonly attribute access(read: administer) optional nullable boolean TCAcknowledgementsRequired = 8;
1379
1390
readonly attribute command_id generatedCommandList[] = 65528;
1380
1391
readonly attribute command_id acceptedCommandList[] = 65529;
1381
1392
readonly attribute event_id eventList[] = 65530;
@@ -1409,12 +1420,23 @@ cluster GeneralCommissioning = 48 {
1409
1420
char_string debugText = 1;
1410
1421
}
1411
1422
1423
+ request struct SetTCAcknowledgementsRequest {
1424
+ int16u TCVersion = 0;
1425
+ bitmap16 TCUserResponse = 1;
1426
+ }
1427
+
1428
+ response struct SetTCAcknowledgementsResponse = 7 {
1429
+ CommissioningErrorEnum errorCode = 0;
1430
+ }
1431
+
1412
1432
/** Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock */
1413
1433
command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0;
1414
1434
/** Set the regulatory configuration to be used during commissioning */
1415
1435
command access(invoke: administer) SetRegulatoryConfig(SetRegulatoryConfigRequest): SetRegulatoryConfigResponse = 2;
1416
1436
/** Signals the Server that the Client has successfully completed all steps of Commissioning/Recofiguration needed during fail-safe period. */
1417
1437
fabric command access(invoke: administer) CommissioningComplete(): CommissioningCompleteResponse = 4;
1438
+ /** This command sets the user acknowledgements received in the Enhanced Setup Flow Terms and Conditions into the node. */
1439
+ command access(invoke: administer) SetTCAcknowledgements(SetTCAcknowledgementsRequest): SetTCAcknowledgementsResponse = 6;
1418
1440
}
1419
1441
1420
1442
/** Functionality to configure, enable, disable network credentials and access on a Matter device. */
0 commit comments