Skip to content

Commit

Permalink
Align Group Key Management cluster XML to spec changes. (#25202)
Browse files Browse the repository at this point in the history
* Align Group Key Management cluster XML to spec changes.

Spec changes happened in CHIP-Specifications/connectedhomeip-spec#6260.

Fixes #25182

* Regenerate generated files.
  • Loading branch information
bzbarsky-apple authored Feb 21, 2023
1 parent 3b4bc45 commit aab0d7c
Show file tree
Hide file tree
Showing 54 changed files with 162 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1880,7 +1880,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1675,7 +1675,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1439,7 +1439,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1312,7 +1312,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1099,7 +1099,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1031,7 +1031,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1178,7 +1178,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1031,7 +1031,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1178,7 +1178,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1032,7 +1032,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1045,7 +1045,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1171,7 +1171,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1045,7 +1045,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1045,7 +1045,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1045,7 +1045,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1178,7 +1178,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1117,7 +1117,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1078,7 +1078,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1050,7 +1050,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1172,7 +1172,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1045,7 +1045,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ server cluster OperationalCredentials = 62 {
}

server cluster GroupKeyManagement = 63 {
enum GroupKeySecurityPolicy : ENUM8 {
enum GroupKeySecurityPolicyEnum : ENUM8 {
kTrustFirst = 0;
kCacheAndSync = 1;
}
Expand All @@ -1031,7 +1031,7 @@ server cluster GroupKeyManagement = 63 {

struct GroupKeySetStruct {
int16u groupKeySetID = 0;
GroupKeySecurityPolicy groupKeySecurityPolicy = 1;
GroupKeySecurityPolicyEnum groupKeySecurityPolicy = 1;
nullable octet_string<16> epochKey0 = 2;
nullable epoch_us epochStartTime0 = 3;
nullable octet_string<16> epochKey1 = 4;
Expand Down
Loading

0 comments on commit aab0d7c

Please sign in to comment.