Skip to content

Commit f8b6907

Browse files
authored
Generate AdminCommissioning cluster with Alchemy (project-chip#41324)
1 parent ebba860 commit f8b6907

File tree

125 files changed

+650
-651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+650
-651
lines changed

examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ cluster GeneralDiagnostics = 51 {
13321332

13331333
/** Commands to trigger a Node to allow a new Administrator to commission it. */
13341334
cluster AdministratorCommissioning = 60 {
1335-
revision 1; // NOTE: Default/not specifically set
1335+
revision 1;
13361336

13371337
enum CommissioningWindowStatusEnum : enum8 {
13381338
kWindowNotOpen = 0;
@@ -1361,7 +1361,7 @@ cluster AdministratorCommissioning = 60 {
13611361

13621362
request struct OpenCommissioningWindowRequest {
13631363
int16u commissioningTimeout = 0;
1364-
octet_string PAKEPasscodeVerifier = 1;
1364+
octet_string<97> PAKEPasscodeVerifier = 1;
13651365
int16u discriminator = 2;
13661366
int32u iterations = 3;
13671367
octet_string<32> salt = 4;
@@ -1371,11 +1371,11 @@ cluster AdministratorCommissioning = 60 {
13711371
int16u commissioningTimeout = 0;
13721372
}
13731373

1374-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
1374+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
13751375
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
1376-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
1376+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
13771377
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
1378-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
1378+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
13791379
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
13801380
}
13811381

examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ cluster EthernetNetworkDiagnostics = 55 {
15351535

15361536
/** Commands to trigger a Node to allow a new Administrator to commission it. */
15371537
cluster AdministratorCommissioning = 60 {
1538-
revision 1; // NOTE: Default/not specifically set
1538+
revision 1;
15391539

15401540
enum CommissioningWindowStatusEnum : enum8 {
15411541
kWindowNotOpen = 0;
@@ -1564,7 +1564,7 @@ cluster AdministratorCommissioning = 60 {
15641564

15651565
request struct OpenCommissioningWindowRequest {
15661566
int16u commissioningTimeout = 0;
1567-
octet_string PAKEPasscodeVerifier = 1;
1567+
octet_string<97> PAKEPasscodeVerifier = 1;
15681568
int16u discriminator = 2;
15691569
int32u iterations = 3;
15701570
octet_string<32> salt = 4;
@@ -1574,11 +1574,11 @@ cluster AdministratorCommissioning = 60 {
15741574
int16u commissioningTimeout = 0;
15751575
}
15761576

1577-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
1577+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
15781578
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
1579-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
1579+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
15801580
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
1581-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
1581+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
15821582
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
15831583
}
15841584

examples/air-quality-sensor-app/air-quality-sensor-common/icd-lit-air-quality-sensor-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ cluster EthernetNetworkDiagnostics = 55 {
15351535

15361536
/** Commands to trigger a Node to allow a new Administrator to commission it. */
15371537
cluster AdministratorCommissioning = 60 {
1538-
revision 1; // NOTE: Default/not specifically set
1538+
revision 1;
15391539

15401540
enum CommissioningWindowStatusEnum : enum8 {
15411541
kWindowNotOpen = 0;
@@ -1564,7 +1564,7 @@ cluster AdministratorCommissioning = 60 {
15641564

15651565
request struct OpenCommissioningWindowRequest {
15661566
int16u commissioningTimeout = 0;
1567-
octet_string PAKEPasscodeVerifier = 1;
1567+
octet_string<97> PAKEPasscodeVerifier = 1;
15681568
int16u discriminator = 2;
15691569
int32u iterations = 3;
15701570
octet_string<32> salt = 4;
@@ -1574,11 +1574,11 @@ cluster AdministratorCommissioning = 60 {
15741574
int16u commissioningTimeout = 0;
15751575
}
15761576

1577-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
1577+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
15781578
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
1579-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
1579+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
15801580
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
1581-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
1581+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
15821582
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
15831583
}
15841584

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,7 @@ cluster Switch = 59 {
26752675

26762676
/** Commands to trigger a Node to allow a new Administrator to commission it. */
26772677
cluster AdministratorCommissioning = 60 {
2678-
revision 1; // NOTE: Default/not specifically set
2678+
revision 1;
26792679

26802680
enum CommissioningWindowStatusEnum : enum8 {
26812681
kWindowNotOpen = 0;
@@ -2704,7 +2704,7 @@ cluster AdministratorCommissioning = 60 {
27042704

27052705
request struct OpenCommissioningWindowRequest {
27062706
int16u commissioningTimeout = 0;
2707-
octet_string PAKEPasscodeVerifier = 1;
2707+
octet_string<97> PAKEPasscodeVerifier = 1;
27082708
int16u discriminator = 2;
27092709
int32u iterations = 3;
27102710
octet_string<32> salt = 4;
@@ -2714,11 +2714,11 @@ cluster AdministratorCommissioning = 60 {
27142714
int16u commissioningTimeout = 0;
27152715
}
27162716

2717-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
2717+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
27182718
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
2719-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
2719+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
27202720
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
2721-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
2721+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
27222722
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
27232723
}
27242724

examples/all-clusters-app/realtek/data_model/all-clusters-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,7 @@ cluster Switch = 59 {
26752675

26762676
/** Commands to trigger a Node to allow a new Administrator to commission it. */
26772677
cluster AdministratorCommissioning = 60 {
2678-
revision 1; // NOTE: Default/not specifically set
2678+
revision 1;
26792679

26802680
enum CommissioningWindowStatusEnum : enum8 {
26812681
kWindowNotOpen = 0;
@@ -2704,7 +2704,7 @@ cluster AdministratorCommissioning = 60 {
27042704

27052705
request struct OpenCommissioningWindowRequest {
27062706
int16u commissioningTimeout = 0;
2707-
octet_string PAKEPasscodeVerifier = 1;
2707+
octet_string<97> PAKEPasscodeVerifier = 1;
27082708
int16u discriminator = 2;
27092709
int32u iterations = 3;
27102710
octet_string<32> salt = 4;
@@ -2714,11 +2714,11 @@ cluster AdministratorCommissioning = 60 {
27142714
int16u commissioningTimeout = 0;
27152715
}
27162716

2717-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
2717+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
27182718
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
2719-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
2719+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
27202720
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
2721-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
2721+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
27222722
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
27232723
}
27242724

examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,7 @@ cluster Switch = 59 {
24452445

24462446
/** Commands to trigger a Node to allow a new Administrator to commission it. */
24472447
cluster AdministratorCommissioning = 60 {
2448-
revision 1; // NOTE: Default/not specifically set
2448+
revision 1;
24492449

24502450
enum CommissioningWindowStatusEnum : enum8 {
24512451
kWindowNotOpen = 0;
@@ -2474,7 +2474,7 @@ cluster AdministratorCommissioning = 60 {
24742474

24752475
request struct OpenCommissioningWindowRequest {
24762476
int16u commissioningTimeout = 0;
2477-
octet_string PAKEPasscodeVerifier = 1;
2477+
octet_string<97> PAKEPasscodeVerifier = 1;
24782478
int16u discriminator = 2;
24792479
int32u iterations = 3;
24802480
octet_string<32> salt = 4;
@@ -2484,11 +2484,11 @@ cluster AdministratorCommissioning = 60 {
24842484
int16u commissioningTimeout = 0;
24852485
}
24862486

2487-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
2487+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
24882488
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
2489-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
2489+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
24902490
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
2491-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
2491+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
24922492
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
24932493
}
24942494

examples/bridge-app/bridge-common/bridge-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ cluster Switch = 59 {
19391939

19401940
/** Commands to trigger a Node to allow a new Administrator to commission it. */
19411941
cluster AdministratorCommissioning = 60 {
1942-
revision 1; // NOTE: Default/not specifically set
1942+
revision 1;
19431943

19441944
enum CommissioningWindowStatusEnum : enum8 {
19451945
kWindowNotOpen = 0;
@@ -1968,7 +1968,7 @@ cluster AdministratorCommissioning = 60 {
19681968

19691969
request struct OpenCommissioningWindowRequest {
19701970
int16u commissioningTimeout = 0;
1971-
octet_string PAKEPasscodeVerifier = 1;
1971+
octet_string<97> PAKEPasscodeVerifier = 1;
19721972
int16u discriminator = 2;
19731973
int32u iterations = 3;
19741974
octet_string<32> salt = 4;
@@ -1978,11 +1978,11 @@ cluster AdministratorCommissioning = 60 {
19781978
int16u commissioningTimeout = 0;
19791979
}
19801980

1981-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
1981+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
19821982
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
1983-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
1983+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
19841984
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
1985-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
1985+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
19861986
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
19871987
}
19881988

examples/camera-app/camera-common/camera-app.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ cluster TimeSynchronization = 56 {
20982098

20992099
/** Commands to trigger a Node to allow a new Administrator to commission it. */
21002100
cluster AdministratorCommissioning = 60 {
2101-
revision 1; // NOTE: Default/not specifically set
2101+
revision 1;
21022102

21032103
enum CommissioningWindowStatusEnum : enum8 {
21042104
kWindowNotOpen = 0;
@@ -2127,7 +2127,7 @@ cluster AdministratorCommissioning = 60 {
21272127

21282128
request struct OpenCommissioningWindowRequest {
21292129
int16u commissioningTimeout = 0;
2130-
octet_string PAKEPasscodeVerifier = 1;
2130+
octet_string<97> PAKEPasscodeVerifier = 1;
21312131
int16u discriminator = 2;
21322132
int32u iterations = 3;
21332133
octet_string<32> salt = 4;
@@ -2137,11 +2137,11 @@ cluster AdministratorCommissioning = 60 {
21372137
int16u commissioningTimeout = 0;
21382138
}
21392139

2140-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
2140+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
21412141
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
2142-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
2142+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
21432143
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
2144-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
2144+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
21452145
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
21462146
}
21472147

examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,7 +1449,7 @@ cluster EthernetNetworkDiagnostics = 55 {
14491449

14501450
/** Commands to trigger a Node to allow a new Administrator to commission it. */
14511451
cluster AdministratorCommissioning = 60 {
1452-
revision 1; // NOTE: Default/not specifically set
1452+
revision 1;
14531453

14541454
enum CommissioningWindowStatusEnum : enum8 {
14551455
kWindowNotOpen = 0;
@@ -1478,7 +1478,7 @@ cluster AdministratorCommissioning = 60 {
14781478

14791479
request struct OpenCommissioningWindowRequest {
14801480
int16u commissioningTimeout = 0;
1481-
octet_string PAKEPasscodeVerifier = 1;
1481+
octet_string<97> PAKEPasscodeVerifier = 1;
14821482
int16u discriminator = 2;
14831483
int32u iterations = 3;
14841484
octet_string<32> salt = 4;
@@ -1488,11 +1488,11 @@ cluster AdministratorCommissioning = 60 {
14881488
int16u commissioningTimeout = 0;
14891489
}
14901490

1491-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
1491+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
14921492
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
1493-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
1493+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
14941494
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
1495-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
1495+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
14961496
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
14971497
}
14981498

examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,7 +1692,7 @@ cluster EthernetNetworkDiagnostics = 55 {
16921692

16931693
/** Commands to trigger a Node to allow a new Administrator to commission it. */
16941694
cluster AdministratorCommissioning = 60 {
1695-
revision 1; // NOTE: Default/not specifically set
1695+
revision 1;
16961696

16971697
enum CommissioningWindowStatusEnum : enum8 {
16981698
kWindowNotOpen = 0;
@@ -1721,7 +1721,7 @@ cluster AdministratorCommissioning = 60 {
17211721

17221722
request struct OpenCommissioningWindowRequest {
17231723
int16u commissioningTimeout = 0;
1724-
octet_string PAKEPasscodeVerifier = 1;
1724+
octet_string<97> PAKEPasscodeVerifier = 1;
17251725
int16u discriminator = 2;
17261726
int32u iterations = 3;
17271727
octet_string<32> salt = 4;
@@ -1731,11 +1731,11 @@ cluster AdministratorCommissioning = 60 {
17311731
int16u commissioningTimeout = 0;
17321732
}
17331733

1734-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
1734+
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode. */
17351735
timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
1736-
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. */
1736+
/** This command MAY be used by a current Administrator to instruct a Node to go into commissioning mode, if the node supports the Basic Commissioning Method. */
17371737
timed command access(invoke: administer) OpenBasicCommissioningWindow(OpenBasicCommissioningWindowRequest): DefaultSuccess = 1;
1738-
/** This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic Commissioning Window command. */
1738+
/** This command is used by a current Administrator to instruct a Node to revoke any active OpenCommissioningWindow or OpenBasicCommissioningWindow command. */
17391739
timed command access(invoke: administer) RevokeCommissioning(): DefaultSuccess = 2;
17401740
}
17411741

0 commit comments

Comments
 (0)