@@ -6809,6 +6809,7 @@ internal cluster UnitTesting = 4294048773 {
6809
6809
SimpleBitmap f = 5;
6810
6810
single g = 6;
6811
6811
double h = 7;
6812
+ optional TestGlobalEnum i = 8;
6812
6813
}
6813
6814
6814
6815
fabric_scoped struct TestFabricScoped {
@@ -6841,6 +6842,7 @@ internal cluster UnitTesting = 4294048773 {
6841
6842
int8u a = 0;
6842
6843
boolean b = 1;
6843
6844
SimpleStruct c = 2;
6845
+ optional TestGlobalStruct d = 3;
6844
6846
}
6845
6847
6846
6848
struct NestedStructList {
@@ -6926,6 +6928,8 @@ internal cluster UnitTesting = 4294048773 {
6926
6928
timedwrite attribute boolean timedWriteBoolean = 48;
6927
6929
attribute boolean generalErrorBoolean = 49;
6928
6930
attribute boolean clusterErrorBoolean = 50;
6931
+ attribute TestGlobalEnum globalEnum = 51;
6932
+ attribute TestGlobalStruct globalStruct = 52;
6929
6933
attribute optional boolean unsupported = 255;
6930
6934
attribute nullable boolean nullableBoolean = 16384;
6931
6935
attribute nullable Bitmap8MaskMap nullableBitmap8 = 16385;
@@ -6961,6 +6965,8 @@ internal cluster UnitTesting = 4294048773 {
6961
6965
attribute nullable int16u nullableRangeRestrictedInt16u = 16424;
6962
6966
attribute nullable int16s nullableRangeRestrictedInt16s = 16425;
6963
6967
attribute optional int8u writeOnlyInt8u = 16426;
6968
+ attribute nullable TestGlobalEnum nullableGlobalEnum = 16435;
6969
+ attribute nullable TestGlobalStruct nullableGlobalStruct = 16436;
6964
6970
attribute int8u meiInt8u = 4294070017;
6965
6971
readonly attribute command_id generatedCommandList[] = 65528;
6966
6972
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -7112,6 +7118,11 @@ internal cluster UnitTesting = 4294048773 {
7112
7118
SimpleEnum arg2 = 1;
7113
7119
}
7114
7120
7121
+ response struct GlobalEchoResponse = 14 {
7122
+ TestGlobalStruct field1 = 0;
7123
+ TestGlobalEnum field2 = 1;
7124
+ }
7125
+
7115
7126
request struct TestNullableOptionalRequestRequest {
7116
7127
optional nullable int8u arg1 = 0;
7117
7128
}
@@ -7165,6 +7176,11 @@ internal cluster UnitTesting = 4294048773 {
7165
7176
octet_string payload = 0;
7166
7177
}
7167
7178
7179
+ request struct GlobalEchoRequestRequest {
7180
+ TestGlobalStruct field1 = 0;
7181
+ TestGlobalEnum field2 = 1;
7182
+ }
7183
+
7168
7184
request struct TestDifferentVendorMeiRequestRequest {
7169
7185
int8u arg1 = 0;
7170
7186
}
@@ -7248,6 +7264,9 @@ internal cluster UnitTesting = 4294048773 {
7248
7264
the string back. If the string is large then it would require a session that
7249
7265
supports large payloads. */
7250
7266
command StringEchoRequest(StringEchoRequestRequest): StringEchoResponse = 24;
7267
+ /** Command that takes arguments that are global structs/enums and the
7268
+ response just echoes them back. */
7269
+ command GlobalEchoRequest(GlobalEchoRequestRequest): GlobalEchoResponse = 25;
7251
7270
/** Command having a different MEI vendor ID than the cluster. Also emits TestDifferentVendorMeiEvent. */
7252
7271
command TestDifferentVendorMeiRequest(TestDifferentVendorMeiRequestRequest): TestDifferentVendorMeiResponse = 4294049962;
7253
7272
}
0 commit comments