diff --git a/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter b/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter
index aed1407429aacc..b32bc2f642afd5 100644
--- a/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter
+++ b/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
index 99f4e03632f489..4b5bef308bf47c 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
index e6858070f9c11e..29b2c68c9592ca 100644
--- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
+++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter
index 5111e370e1a985..71b7791d3c4a01 100644
--- a/examples/bridge-app/bridge-common/bridge-app.matter
+++ b/examples/bridge-app/bridge-common/bridge-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
index 05dc8ef9696a65..f560c771f59393 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter b/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter
index d047d19cf62177..6635935a84d117 100644
--- a/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter
+++ b/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
index 935fe575f95dd9..ae21196a30953f 100644
--- a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
+++ b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
index 6cb07c0bc2364f..76afa694bb33fb 100644
--- a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
+++ b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for switching devices between 'On' and 'Off' states. */
server cluster OnOff = 6 {
enum DelayedAllOffEffectVariantEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
index 0bb886f9804e4a..1bc3ed413ecda7 100644
--- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
+++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
index dfdf48097d8871..25402566d5e360 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
index 6f350800db93f9..222682b18b083c 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
index 9b34dea09793a6..b752b02d5769c6 100644
--- a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
+++ b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
index 54584bea85dfe8..f48f36451129eb 100644
--- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
+++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
index 738dffa4521ed6..a97091df8dc683 100644
--- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
+++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
index 8b17e4eb415bf6..2749f6b4423392 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
index fc2d8466dac9d4..3425f449179ad8 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
index d140d844339064..b5491547cf79aa 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
index 78a6e2871e3e20..1a59a41d817ff4 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
index 1683218696d69e..8a66414808175d 100644
--- a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
+++ b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
index 4284111ef34f11..ac2cd94a298b9b 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
index b4d210ca10357f..b2204465318bf0 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
index 4397a34688c88e..0613fc37f755ad 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_onofflight_samplemei.matter b/examples/chef/devices/rootnode_onofflight_samplemei.matter
index 0ea88c693193ac..420e328187f2a8 100644
--- a/examples/chef/devices/rootnode_onofflight_samplemei.matter
+++ b/examples/chef/devices/rootnode_onofflight_samplemei.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
index 6b2dcdab7f8581..df9db80c1080c7 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
index c607ab395a9581..49df479ae9653b 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
index afe7fc7aed327f..d41712e737ee06 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_pump_5f904818cc.matter b/examples/chef/devices/rootnode_pump_5f904818cc.matter
index 9b474971040bae..fcb40893dd7e3e 100644
--- a/examples/chef/devices/rootnode_pump_5f904818cc.matter
+++ b/examples/chef/devices/rootnode_pump_5f904818cc.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_pump_a811bb33a0.matter b/examples/chef/devices/rootnode_pump_a811bb33a0.matter
index ed927511f501a9..c4022bb1a01e54 100644
--- a/examples/chef/devices/rootnode_pump_a811bb33a0.matter
+++ b/examples/chef/devices/rootnode_pump_a811bb33a0.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter
index 23069ca02f6a43..2303aa4c0c70a1 100644
--- a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter
+++ b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
index be757b542b1c20..2945ee6e8c58dc 100644
--- a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
+++ b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
index f9ccfdc9f07097..7fc13a5a1aa413 100644
--- a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
+++ b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
index 7f841620035687..a197a0af47133b 100644
--- a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
+++ b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
index eb67e68af1954c..f835984d9cf5ef 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
index f9519fee3c5b46..5234c44c59d173 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
index a68e13deb32468..464bc8a3905235 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
index 20aedc8f59562a..444e7a12872270 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
index 3a3d89a3d60f10..a3c80032573b25 100644
--- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
+++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
index 5374c1f6f53af2..45543e7c7fb677 100644
--- a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
+++ b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter
index 5bc18df102f218..faea21aea6a5fc 100644
--- a/examples/light-switch-app/light-switch-common/light-switch-app.matter
+++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
client cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter
index 3c9d19ebb931fa..0a5e4b343560da 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
index cf72c88dfbd1e8..ee7b61209d19af 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
index 82bf340ab3ff40..99edc71fdff2a2 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter
index 0a5a81e6156137..dd21ff69f24b6b 100644
--- a/examples/lighting-app/lighting-common/lighting-app.matter
+++ b/examples/lighting-app/lighting-common/lighting-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter
index 26175dc20230e7..7b773be3ddf524 100644
--- a/examples/lighting-app/nxp/zap/lighting-on-off.matter
+++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter
index e6fff86a3fc409..3118ca16d5dbdf 100644
--- a/examples/lighting-app/qpg/zap/light.matter
+++ b/examples/lighting-app/qpg/zap/light.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter
index aa115f0d2f7f4a..227c72d986bf53 100644
--- a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter
+++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
index b4d06928893147..2d6ba3b041704c 100644
--- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
+++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter
index 51d3ca92d6df48..94fcf03083ef2c 100644
--- a/examples/lock-app/lock-common/lock-app.matter
+++ b/examples/lock-app/lock-common/lock-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lock-app/nxp/zap/lock-app.matter b/examples/lock-app/nxp/zap/lock-app.matter
index ab94389c823e9a..b0937e65bc771b 100644
--- a/examples/lock-app/nxp/zap/lock-app.matter
+++ b/examples/lock-app/nxp/zap/lock-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter
index 66432c88ff824a..0a3cd720726449 100644
--- a/examples/lock-app/qpg/zap/lock.matter
+++ b/examples/lock-app/qpg/zap/lock.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter
index 5f58a971cb2ac8..2602033540ac6a 100644
--- a/examples/log-source-app/log-source-common/log-source-app.matter
+++ b/examples/log-source-app/log-source-common/log-source-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** The Access Control Cluster exposes a data model view of a
Node's Access Control List (ACL), which codifies the rules used to manage
and enforce Access Control for the Node's endpoints and their associated
diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
index 8a57b436acf377..8b234b1f09991e 100644
--- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
+++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its endpoints and clusters. */
server cluster Descriptor = 29 {
bitmap Feature : BITMAP32 {
diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
index 44664ec830b86d..f3f0d45332b626 100644
--- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
+++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter
index e0c658d8c7f27d..e47fdb1cb39a1e 100644
--- a/examples/placeholder/linux/apps/app1/config.matter
+++ b/examples/placeholder/linux/apps/app1/config.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
client cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter
index 6b12e603a9780d..002a70ca922eca 100644
--- a/examples/placeholder/linux/apps/app2/config.matter
+++ b/examples/placeholder/linux/apps/app2/config.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
client cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter
index b1a6ba1c9fe095..d272e6d299d5d6 100644
--- a/examples/pump-app/pump-common/pump-app.matter
+++ b/examples/pump-app/pump-common/pump-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/pump-app/silabs/data_model/pump-thread-app.matter b/examples/pump-app/silabs/data_model/pump-thread-app.matter
index 3c87212a10cd6a..9d6e0ac97c4dfd 100644
--- a/examples/pump-app/silabs/data_model/pump-thread-app.matter
+++ b/examples/pump-app/silabs/data_model/pump-thread-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/pump-app/silabs/data_model/pump-wifi-app.matter b/examples/pump-app/silabs/data_model/pump-wifi-app.matter
index 3c87212a10cd6a..9d6e0ac97c4dfd 100644
--- a/examples/pump-app/silabs/data_model/pump-wifi-app.matter
+++ b/examples/pump-app/silabs/data_model/pump-wifi-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
index c94f2234a4a9a2..6d3bd4bc983153 100644
--- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
+++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
index 06ea2bbd2c184c..e23f1f5572c1e8 100644
--- a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
+++ b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its endpoints and clusters. */
server cluster Descriptor = 29 {
bitmap Feature : BITMAP32 {
diff --git a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter
index 60ebc011244e03..40769a4e8623ae 100644
--- a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter
+++ b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/rvc-app/rvc-common/rvc-app.matter b/examples/rvc-app/rvc-common/rvc-app.matter
index a337abfc3f47f2..a0dd73982acf36 100644
--- a/examples/rvc-app/rvc-common/rvc-app.matter
+++ b/examples/rvc-app/rvc-common/rvc-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter
index 4ad4b30b4c9b89..7e9812625b7fbe 100644
--- a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter
+++ b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter
index e0e990bbe3e8da..fa0943bb98bf71 100644
--- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter
+++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its endpoints and clusters. */
server cluster Descriptor = 29 {
bitmap Feature : BITMAP32 {
diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter
index e48a17032a5491..2cf173233532b6 100644
--- a/examples/thermostat/thermostat-common/thermostat.matter
+++ b/examples/thermostat/thermostat-common/thermostat.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
client cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter
index 7ab6da7482e14c..a3d2f0a8901e91 100644
--- a/examples/tv-app/tv-common/tv-app.matter
+++ b/examples/tv-app/tv-common/tv-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for switching devices between 'On' and 'Off' states. */
server cluster OnOff = 6 {
enum DelayedAllOffEffectVariantEnum : ENUM8 {
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
index e4b0b8b25d0d42..66280a2817fde8 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter
index 78ca16545266ff..b531606023c6aa 100644
--- a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter
+++ b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter
index 83a0cb11131a9f..91ba6208dd6b53 100644
--- a/examples/window-app/common/window-app.matter
+++ b/examples/window-app/common/window-app.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
server cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {
diff --git a/scripts/py_matter_idl/matter_idl/backwards_compatibility.py b/scripts/py_matter_idl/matter_idl/backwards_compatibility.py
index 8ecf45afc26eb8..36898f1029849b 100644
--- a/scripts/py_matter_idl/matter_idl/backwards_compatibility.py
+++ b/scripts/py_matter_idl/matter_idl/backwards_compatibility.py
@@ -97,7 +97,8 @@ def _check_field_lists_are_the_same(self, location: str, original: List[Field],
def _check_enum_compatible(self, cluster_name: str, original: Enum, updated: Optional[Enum]):
if not updated:
- self._mark_incompatible(f"Enumeration {cluster_name}::{original.name} was deleted")
+ self._mark_incompatible(
+ f"Enumeration {cluster_name}::{original.name} was deleted")
return
if original.base_type != updated.base_type:
@@ -107,16 +108,19 @@ def _check_enum_compatible(self, cluster_name: str, original: Enum, updated: Opt
# Validate that all old entries exist
for entry in original.entries:
# old entry must exist and have identical code
- existing = [item for item in updated.entries if item.name == entry.name]
+ existing = [
+ item for item in updated.entries if item.name == entry.name]
if len(existing) == 0:
- self._mark_incompatible(f"Enumeration {cluster_name}::{original.name} removed entry {entry.name}")
+ self._mark_incompatible(
+ f"Enumeration {cluster_name}::{original.name} removed entry {entry.name}")
elif existing[0].code != entry.code:
self._mark_incompatible(
f"Enumeration {cluster_name}::{original.name} changed code for entry {entry.name} from {entry.code} to {existing[0].code}")
def _check_bitmap_compatible(self, cluster_name: str, original: Bitmap, updated: Optional[Bitmap]):
if not updated:
- self._mark_incompatible(f"Bitmap {cluster_name}::{original.name} was deleted")
+ self._mark_incompatible(
+ f"Bitmap {cluster_name}::{original.name} was deleted")
return
if original.base_type != updated.base_type:
@@ -126,27 +130,33 @@ def _check_bitmap_compatible(self, cluster_name: str, original: Bitmap, updated:
# Validate that all old entries exist
for entry in original.entries:
# old entry must exist and have identical code
- existing = [item for item in updated.entries if item.name == entry.name]
+ existing = [
+ item for item in updated.entries if item.name == entry.name]
if len(existing) == 0:
- self._mark_incompatible(f"Bitmap {original.name} removed entry {entry.name}")
+ self._mark_incompatible(
+ f"Bitmap {original.name} removed entry {entry.name}")
elif existing[0].code != entry.code:
self._mark_incompatible(
f"Bitmap {original.name} changed code for entry {entry.name} from {entry.code} to {existing[0].code}")
def _check_event_compatible(self, cluster_name: str, event: Event, updated_event: Optional[Event]):
if not updated_event:
- self._mark_incompatible(f"Event {cluster_name}::{event.name} was removed")
+ self._mark_incompatible(
+ f"Event {cluster_name}::{event.name} was removed")
return
if event.code != updated_event.code:
- self._mark_incompatible(f"Event {cluster_name}::{event.name} code changed from {event.code} to {updated_event.code}")
+ self._mark_incompatible(
+ f"Event {cluster_name}::{event.name} code changed from {event.code} to {updated_event.code}")
- self._check_field_lists_are_the_same(f"Event {cluster_name}::{event.name}", event.fields, updated_event.fields)
+ self._check_field_lists_are_the_same(
+ f"Event {cluster_name}::{event.name}", event.fields, updated_event.fields)
def _check_command_compatible(self, cluster_name: str, command: Command, updated_command: Optional[Command]):
self.logger.debug(f" Checking command {cluster_name}::{command.name}")
if not updated_command:
- self._mark_incompatible(f"Command {cluster_name}::{command.name} was removed")
+ self._mark_incompatible(
+ f"Command {cluster_name}::{command.name} was removed")
return
if command.code != updated_command.code:
@@ -168,49 +178,62 @@ def _check_command_compatible(self, cluster_name: str, command: Command, updated
def _check_struct_compatible(self, cluster_name: str, original: Struct, updated: Optional[Struct]):
self.logger.debug(f" Checking struct {original.name}")
if not updated:
- self._mark_incompatible(f"Struct {cluster_name}::{original.name} has been deleted.")
+ self._mark_incompatible(
+ f"Struct {cluster_name}::{original.name} has been deleted.")
return
- self._check_field_lists_are_the_same(f"Struct {cluster_name}::{original.name}", original.fields, updated.fields)
+ self._check_field_lists_are_the_same(
+ f"Struct {cluster_name}::{original.name}", original.fields, updated.fields)
if original.tag != updated.tag:
- self._mark_incompatible(f"Struct {cluster_name}::{original.name} has modified tags")
+ self._mark_incompatible(
+ f"Struct {cluster_name}::{original.name} has modified tags")
if original.code != updated.code:
- self._mark_incompatible(f"Struct {cluster_name}::{original.name} has modified code (likely resnopse difference)")
+ self._mark_incompatible(
+ f"Struct {cluster_name}::{original.name} has modified code (likely resnopse difference)")
if original.qualities != updated.qualities:
- self._mark_incompatible(f"Struct {cluster_name}::{original.name} has modified qualities")
+ self._mark_incompatible(
+ f"Struct {cluster_name}::{original.name} has modified qualities")
def _check_attribute_compatible(self, cluster_name: str, original: Attribute, updated: Optional[Attribute]):
- self.logger.debug(f" Checking attribute {cluster_name}::{original.definition.name}")
+ self.logger.debug(
+ f" Checking attribute {cluster_name}::{original.definition.name}")
if not updated:
- self._mark_incompatible(f"Attribute {cluster_name}::{original.definition.name} has been deleted.")
+ self._mark_incompatible(
+ f"Attribute {cluster_name}::{original.definition.name} has been deleted.")
return
if original.definition.code != updated.definition.code:
- self._mark_incompatible(f"Attribute {cluster_name}::{original.definition.name} changed its code.")
+ self._mark_incompatible(
+ f"Attribute {cluster_name}::{original.definition.name} changed its code.")
if original.definition.data_type != updated.definition.data_type:
- self._mark_incompatible(f"Attribute {cluster_name}::{original.definition.name} changed its data type.")
+ self._mark_incompatible(
+ f"Attribute {cluster_name}::{original.definition.name} changed its data type.")
if original.definition.is_list != updated.definition.is_list:
- self._mark_incompatible(f"Attribute {cluster_name}::{original.definition.name} changed its list status.")
+ self._mark_incompatible(
+ f"Attribute {cluster_name}::{original.definition.name} changed its list status.")
if original.definition.qualities != updated.definition.qualities:
# optional/nullable
- self._mark_incompatible(f"Attribute {cluster_name}::{original.definition.name} changed its data type qualities.")
+ self._mark_incompatible(
+ f"Attribute {cluster_name}::{original.definition.name} changed its data type qualities.")
if original.qualities != updated.qualities:
# read/write/subscribe/timed status
- self._mark_incompatible(f"Attribute {cluster_name}::{original.definition.name} changed its qualities.")
+ self._mark_incompatible(
+ f"Attribute {cluster_name}::{original.definition.name} changed its qualities.")
def _check_enum_list_compatible(self, cluster_name: str, original: List[Enum], updated: List[Enum]):
updated_enums = group_list_by_name(updated)
for original_enum in original:
updated_enum = updated_enums.get(original_enum.name)
- self._check_enum_compatible(cluster_name, original_enum, updated_enum)
+ self._check_enum_compatible(
+ cluster_name, original_enum, updated_enum)
def _check_bitmap_list_compatible(self, cluster_name: str, original: List[Bitmap], updated: List[Bitmap]):
updated_bitmaps = {}
@@ -219,20 +242,23 @@ def _check_bitmap_list_compatible(self, cluster_name: str, original: List[Bitmap
for original_bitmap in original:
updated_bitmap = updated_bitmaps.get(original_bitmap.name)
- self._check_bitmap_compatible(cluster_name, original_bitmap, updated_bitmap)
+ self._check_bitmap_compatible(
+ cluster_name, original_bitmap, updated_bitmap)
def _check_struct_list_compatible(self, cluster_name: str, original: List[Struct], updated: List[Struct]):
updated_structs = group_list_by_name(updated)
for struct in original:
- self._check_struct_compatible(cluster_name, struct, updated_structs.get(struct.name))
+ self._check_struct_compatible(
+ cluster_name, struct, updated_structs.get(struct.name))
def _check_command_list_compatible(self, cluster_name: str, original: List[Command], updated: List[Command]):
updated_commands = group_list_by_name(updated)
for command in original:
updated_command = updated_commands.get(command.name)
- self._check_command_compatible(cluster_name, command, updated_command)
+ self._check_command_compatible(
+ cluster_name, command, updated_command)
def _check_event_list_compatible(self, cluster_name: str, original: List[Event], updated: List[Event]):
updated_events = group_list_by_name(updated)
@@ -245,39 +271,48 @@ def _check_attribute_list_compatible(self, cluster_name: str, original: List[Att
updated_attributes = group_list(updated, attribute_name)
for attribute in original:
- self._check_attribute_compatible(cluster_name, attribute, updated_attributes.get(attribute_name(attribute)))
+ self._check_attribute_compatible(
+ cluster_name, attribute, updated_attributes.get(attribute_name(attribute)))
def _check_cluster_list_compatible(self, original: List[Cluster], updated: List[Cluster]):
updated_clusters = group_list(updated, full_cluster_name)
for original_cluster in original:
- updated_cluster = updated_clusters.get(full_cluster_name(original_cluster))
+ updated_cluster = updated_clusters.get(
+ full_cluster_name(original_cluster))
self._check_cluster_compatible(original_cluster, updated_cluster)
def _check_cluster_compatible(self, original_cluster: Cluster, updated_cluster: Optional[Cluster]):
- self.logger.debug(f"Checking cluster {full_cluster_name(original_cluster)}")
+ self.logger.debug(
+ f"Checking cluster {full_cluster_name(original_cluster)}")
if not updated_cluster:
- self._mark_incompatible(f"Cluster {full_cluster_name(original_cluster)} was deleted")
+ self._mark_incompatible(
+ f"Cluster {full_cluster_name(original_cluster)} was deleted")
return
if original_cluster.code != updated_cluster.code:
self._mark_incompatible(
f"Cluster {full_cluster_name(original_cluster)} has different codes {original_cluster.code} != {updated_cluster.code}")
- self._check_enum_list_compatible(original_cluster.name, original_cluster.enums, updated_cluster.enums)
- self._check_struct_list_compatible(original_cluster.name, original_cluster.structs, updated_cluster.structs)
- self._check_bitmap_list_compatible(original_cluster.name, original_cluster.bitmaps, updated_cluster.bitmaps)
- self._check_command_list_compatible(original_cluster.name, original_cluster.commands, updated_cluster.commands)
- self._check_event_list_compatible(original_cluster.name, original_cluster.events, updated_cluster.events)
- self._check_attribute_list_compatible(original_cluster.name, original_cluster.attributes, updated_cluster.attributes)
+ self._check_enum_list_compatible(
+ original_cluster.name, original_cluster.enums, updated_cluster.enums)
+ self._check_struct_list_compatible(
+ original_cluster.name, original_cluster.structs, updated_cluster.structs)
+ self._check_bitmap_list_compatible(
+ original_cluster.name, original_cluster.bitmaps, updated_cluster.bitmaps)
+ self._check_command_list_compatible(
+ original_cluster.name, original_cluster.commands, updated_cluster.commands)
+ self._check_event_list_compatible(
+ original_cluster.name, original_cluster.events, updated_cluster.events)
+ self._check_attribute_list_compatible(
+ original_cluster.name, original_cluster.attributes, updated_cluster.attributes)
def check(self):
# assume ok, and then validate
self.compatible = Compatibility.COMPATIBLE
- self._check_enum_list_compatible("", self._original_idl.enums, self._updated_idl.enums)
- self._check_struct_list_compatible("", self._original_idl.structs, self._updated_idl.structs)
- self._check_cluster_list_compatible(self._original_idl.clusters, self._updated_idl.clusters)
+ self._check_cluster_list_compatible(
+ self._original_idl.clusters, self._updated_idl.clusters)
return self.compatible
diff --git a/scripts/py_matter_idl/matter_idl/generators/types.py b/scripts/py_matter_idl/matter_idl/generators/types.py
index c5428a92ff6636..29d496b48315bb 100644
--- a/scripts/py_matter_idl/matter_idl/generators/types.py
+++ b/scripts/py_matter_idl/matter_idl/generators/types.py
@@ -295,16 +295,14 @@ def find_bitmap(self, name) -> Optional[matter_idl_types.Bitmap]:
@property
def all_enums(self):
"""
- All enumerations, ordered by lookup priority.
+ All enumerations defined within this lookup context.
- If an enum A is defined both in the cluster and globally, this WILL
- return both instances, however it will return the cluster version first.
+ enums are only defined at cluster level. If lookup context does not
+ include a cluster, the enum list will be empty.
"""
if self.cluster:
for e in self.cluster.enums:
yield e
- for e in self.idl.enums:
- yield e
@property
def all_bitmaps(self):
@@ -312,7 +310,7 @@ def all_bitmaps(self):
All bitmaps defined within this lookup context.
bitmaps are only defined at cluster level. If lookup context does not
- include a cluster, the bitmal list will be empty.
+ include a cluster, the bitmap list will be empty.
"""
if self.cluster:
for b in self.cluster.bitmaps:
@@ -320,16 +318,14 @@ def all_bitmaps(self):
@property
def all_structs(self):
- """All structs, ordered by lookup prioroty.
+ """All structs defined within this lookup context.
- If a struct A is defined both in the cluster and globally, this WILL
- return both instances, however it will return the cluster version first.
+ structs are only defined at cluster level. If lookup context does not
+ include a cluster, the struct list will be empty.
"""
if self.cluster:
for e in self.cluster.structs:
yield e
- for e in self.idl.structs:
- yield e
def is_enum_type(self, name: str):
"""
diff --git a/scripts/py_matter_idl/matter_idl/matter_grammar.lark b/scripts/py_matter_idl/matter_idl/matter_grammar.lark
index 6116e7cbf08071..03f17472f4c077 100644
--- a/scripts/py_matter_idl/matter_idl/matter_grammar.lark
+++ b/scripts/py_matter_idl/matter_idl/matter_grammar.lark
@@ -102,7 +102,7 @@ POSITIVE_INTEGER: /\d+/
HEX_INTEGER: /0x[A-Fa-f0-9]+/
ID: /[a-zA-Z_][a-zA-Z0-9_]*/
-idl: (struct|enum|cluster|endpoint)*
+idl: (cluster|endpoint)*
%import common.ESCAPED_STRING
%import common.WS
diff --git a/scripts/py_matter_idl/matter_idl/matter_idl_parser.py b/scripts/py_matter_idl/matter_idl/matter_idl_parser.py
index f4ba7059bf605d..45e180c65c5a88 100755
--- a/scripts/py_matter_idl/matter_idl/matter_idl_parser.py
+++ b/scripts/py_matter_idl/matter_idl/matter_idl_parser.py
@@ -474,21 +474,18 @@ def cluster(self, meta, side, name, code, *content):
return result
def idl(self, items):
- idl = Idl()
+ clusters = []
+ endpoints = []
for item in items:
- if type(item) == Enum:
- idl.enums.append(item)
- elif type(item) == Struct:
- idl.structs.append(item)
- elif type(item) == Cluster:
- idl.clusters.append(item)
+ if type(item) == Cluster:
+ clusters.append(item)
elif type(item) == Endpoint:
- idl.endpoints.append(item)
+ endpoints.append(item)
else:
raise Exception("UNKNOWN idl content item: %r" % item)
- return idl
+ return Idl(clusters=clusters, endpoints=endpoints)
def prefix_doc_comment(self):
print("TODO: prefix")
diff --git a/scripts/py_matter_idl/matter_idl/matter_idl_types.py b/scripts/py_matter_idl/matter_idl/matter_idl_types.py
index 3a680058c5e24d..56886abb91d903 100644
--- a/scripts/py_matter_idl/matter_idl/matter_idl_types.py
+++ b/scripts/py_matter_idl/matter_idl/matter_idl_types.py
@@ -266,9 +266,6 @@ class Endpoint:
@dataclass
class Idl:
- # Enums and structs represent globally used items
- enums: List[Enum] = field(default_factory=list)
- structs: List[Struct] = field(default_factory=list)
clusters: List[Cluster] = field(default_factory=list)
endpoints: List[Endpoint] = field(default_factory=list)
diff --git a/scripts/py_matter_idl/matter_idl/test_backwards_compatibility.py b/scripts/py_matter_idl/matter_idl/test_backwards_compatibility.py
index f50c4f06b03684..0c002410fd1261 100755
--- a/scripts/py_matter_idl/matter_idl/test_backwards_compatibility.py
+++ b/scripts/py_matter_idl/matter_idl/test_backwards_compatibility.py
@@ -77,10 +77,12 @@ def ValidateUpdate(self, name: str, old: str, new: str, flags: Compatibility):
with self.subTest(validate=name):
# Validate compatibility and that no changes are always compatible
with self.subTest(direction="Forward"):
- self._AssumeCompatiblity(old, new, old_idl, new_idl, Compatibility.FORWARD_FAIL not in flags)
+ self._AssumeCompatiblity(
+ old, new, old_idl, new_idl, Compatibility.FORWARD_FAIL not in flags)
with self.subTest(direction="Backward"):
- self._AssumeCompatiblity(new, old, new_idl, old_idl, Compatibility.BACKWARD_FAIL not in flags)
+ self._AssumeCompatiblity(
+ new, old, new_idl, old_idl, Compatibility.BACKWARD_FAIL not in flags)
with self.subTest(direction="NEW-to-NEW"):
self._AssumeCompatiblity(new, new, new_idl, new_idl, True)
@@ -88,54 +90,40 @@ def ValidateUpdate(self, name: str, old: str, new: str, flags: Compatibility):
with self.subTest(direction="OLD-to-OLD"):
self._AssumeCompatiblity(old, old, old_idl, old_idl, True)
- def test_top_level_enums_delete(self):
- self.ValidateUpdate(
- "delete a top level enum",
- "enum A: ENUM8{} enum B: ENUM8{}",
- "enum A: ENUM8{}",
- Compatibility.FORWARD_FAIL)
-
- def test_top_level_enums_change(self):
+ def test_basic_clusters_enum(self):
self.ValidateUpdate(
- "change an enum type",
- "enum A: ENUM8{}",
- "enum A: ENUM16{}",
- Compatibility.FORWARD_FAIL | Compatibility.BACKWARD_FAIL)
+ "Adding an enum is ok. Also validates code formatting",
+ "server cluster A = 16 {}",
+ "server cluster A = 0x10 { enum X : ENUM8 {} }",
+ Compatibility.BACKWARD_FAIL)
- def test_top_level_enums_add_remove(self):
+ def test_clusters_enum_add_remove(self):
self.ValidateUpdate(
- "Adding enum values is ok, removing values is not",
- "enum A: ENUM8 {A = 1; B = 2;}",
- "enum A: ENUM8 {A = 1; }",
+ "Adding an enum is ok. Also validates code formatting",
+ "server cluster A = 16 { enum X : ENUM8 { A = 1; B = 2; }}",
+ "server cluster A = 16 { enum X : ENUM8 { A = 1; }}",
Compatibility.FORWARD_FAIL)
- def test_top_level_enums_code(self):
- self.ValidateUpdate(
- "Switching enum codes is never ok",
- "enum A: ENUM8 {A = 1; B = 2; }",
- "enum A: ENUM8 {A = 1; B = 3; }",
- Compatibility.FORWARD_FAIL | Compatibility.BACKWARD_FAIL)
-
- def test_basic_clusters_code(self):
+ def test_clusters_enum_code(self):
self.ValidateUpdate(
- "Switching cluster codes is never ok",
- "client cluster A = 1 {}",
- "client cluster A = 2 {}",
+ "Adding an enum is ok. Also validates code formatting",
+ "server cluster A = 16 { enum X : ENUM8 { A = 1; B = 2; }}",
+ "server cluster A = 16 { enum X : ENUM8 { A = 1; B = 3; }}",
Compatibility.FORWARD_FAIL | Compatibility.BACKWARD_FAIL)
- def test_basic_clusters_remove(self):
+ def test_clusters_enum_delete(self):
self.ValidateUpdate(
- "Removing a cluster is not ok",
- "client cluster A = 1 {} client cluster B = 2 {}",
- "client cluster A = 1 {}",
+ "Adding an enum is ok. Also validates code formatting",
+ "server cluster A = 16 { enum X : ENUM8 {}}",
+ "server cluster A = 16 { }",
Compatibility.FORWARD_FAIL)
- def test_basic_clusters_enum(self):
+ def test_clusters_enum_change(self):
self.ValidateUpdate(
"Adding an enum is ok. Also validates code formatting",
- "server cluster A = 16 {}",
- "server cluster A = 0x10 { enum X : ENUM8 {} }",
- Compatibility.BACKWARD_FAIL)
+ "server cluster A = 16 { enum X : ENUM16 {}}",
+ "server cluster A = 16 { enum X : ENUM8 {}}",
+ Compatibility.FORWARD_FAIL | Compatibility.BACKWARD_FAIL)
def test_basic_clusters_side(self):
self.ValidateUpdate(
diff --git a/scripts/py_matter_idl/matter_idl/test_matter_idl_parser.py b/scripts/py_matter_idl/matter_idl/test_matter_idl_parser.py
index 2a3cfea87e76b1..0cabc435d54f37 100755
--- a/scripts/py_matter_idl/matter_idl/test_matter_idl_parser.py
+++ b/scripts/py_matter_idl/matter_idl/test_matter_idl_parser.py
@@ -29,7 +29,7 @@
from matter_idl.matter_idl_types import (AccessPrivilege, Attribute, AttributeInstantiation, AttributeQuality, AttributeStorage,
Bitmap, Cluster, ClusterSide, Command, CommandQuality, ConstantEntry, DataType, DeviceType,
Endpoint, Enum, Event, EventPriority, EventQuality, Field, FieldQuality, Idl,
- ParseMetaData, ServerClusterInstantiation, Struct, StructQuality, StructTag)
+ ParseMetaData, ServerClusterInstantiation, Struct, StructTag)
def parseText(txt, skip_meta=True):
@@ -51,71 +51,6 @@ def test_skips_comments(self):
self.assertEqual(actual, expected)
- def test_global_enum(self):
- actual = parseText("""
- enum GlobalEnum : ENUM8 {
- kValue1 = 1;
- kOther = 0x12; /* hex numbers tested sporadically */
- }
- """)
-
- expected = Idl(enums=[
- Enum(name='GlobalEnum', base_type='ENUM8',
- entries=[
- ConstantEntry(name="kValue1", code=1),
- ConstantEntry(name="kOther", code=0x12),
- ])]
- )
- self.assertEqual(actual, expected)
-
- def test_global_struct(self):
- actual = parseText("""
- struct Something {
- CHAR_STRING astring = 1;
- optional CLUSTER_ID idlist[] = 2;
- nullable int valueThatIsNullable = 0x123;
- char_string<123> sized_string = 222;
- }
- """)
-
- expected = Idl(structs=[
- Struct(name='Something',
- fields=[
- Field(
- data_type=DataType(name="CHAR_STRING"), code=1, name="astring", ),
- Field(data_type=DataType(name="CLUSTER_ID"), code=2, name="idlist",
- is_list=True, qualities=FieldQuality.OPTIONAL),
- Field(data_type=DataType(name="int"), code=0x123,
- name="valueThatIsNullable", qualities=FieldQuality.NULLABLE),
- Field(data_type=DataType(name="char_string", max_length=123),
- code=222, name="sized_string"),
- ])]
- )
- self.assertEqual(actual, expected)
-
- def test_fabric_scoped_struct(self):
- actual = parseText("""
- fabric_scoped struct FabricStruct {
- CHAR_STRING astring = 1;
- optional CLUSTER_ID idlist[] = 2;
- nullable fabric_sensitive int nullablesensitive = 0x123;
- }
- """)
-
- expected = Idl(structs=[
- Struct(name='FabricStruct',
- qualities=StructQuality.FABRIC_SCOPED,
- fields=[
- Field(
- data_type=DataType(name="CHAR_STRING"), code=1, name="astring", ),
- Field(data_type=DataType(name="CLUSTER_ID"), code=2, name="idlist",
- is_list=True, qualities=FieldQuality.OPTIONAL),
- Field(data_type=DataType(name="int"), code=0x123, name="nullablesensitive",
- qualities=FieldQuality.NULLABLE | FieldQuality.FABRIC_SENSITIVE),
- ])]
- )
- self.assertEqual(actual, expected)
-
def test_cluster_attribute(self):
actual = parseText("""
server cluster MyCluster = 0x321 {
diff --git a/scripts/py_matter_idl/matter_idl/test_xml_parser.py b/scripts/py_matter_idl/matter_idl/test_xml_parser.py
index 6f42ca3c71d6b7..8a845a05e42216 100755
--- a/scripts/py_matter_idl/matter_idl/test_xml_parser.py
+++ b/scripts/py_matter_idl/matter_idl/test_xml_parser.py
@@ -244,11 +244,6 @@ def testEnum(self):
Test110
Test220
-
-
-
-
-
@@ -262,14 +257,6 @@ def testEnum(self):
''')
- e1 = Enum(
- name='GlobalEnum',
- base_type="ENUM8",
- entries=[
- ConstantEntry(name="First", code=0),
- ConstantEntry(name="Second", code=1),
- ]
- )
e2 = Enum(
name='OneCluster',
base_type="ENUM8",
@@ -291,7 +278,6 @@ def testEnum(self):
name='Test1', code=10, enums=[e2, e3]),
Cluster(side=ClusterSide.CLIENT,
name='Test2', code=20, enums=[e3])],
- enums=[e1],
))
def testStruct(self):
diff --git a/scripts/py_matter_idl/matter_idl/tests/inputs/global_struct_attribute.matter b/scripts/py_matter_idl/matter_idl/tests/inputs/global_struct_attribute.matter
index bb325d28501d67..447a49a362e1ca 100644
--- a/scripts/py_matter_idl/matter_idl/tests/inputs/global_struct_attribute.matter
+++ b/scripts/py_matter_idl/matter_idl/tests/inputs/global_struct_attribute.matter
@@ -1,9 +1,9 @@
-struct LabelStruct {
- CHAR_STRING<16> label = 0;
- CHAR_STRING<16> value = 1;
-}
-
client cluster DemoCluster = 0x12 {
+ struct LabelStruct {
+ CHAR_STRING<16> label = 0;
+ CHAR_STRING<16> value = 1;
+ }
+
attribute LabelStruct singleLabel = 0x20;
attribute LabelStruct someLabels[] = 0x21;
}
diff --git a/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter b/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter
index bd73950bd94dcc..6687139a8cf557 100644
--- a/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter
+++ b/scripts/py_matter_idl/matter_idl/tests/inputs/large_all_clusters_app.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -1730,12 +1725,21 @@ server cluster GroupKeyManagement = 63 {
}
server cluster FixedLabel = 64 {
+ struct LabelStruct {
+ CHAR_STRING<16> label = 0;
+ CHAR_STRING<16> value = 1;
+ }
readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
+ struct LabelStruct {
+ CHAR_STRING<16> label = 0;
+ CHAR_STRING<16> value = 1;
+ }
+
attribute access(write: manage) LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/scripts/py_matter_idl/matter_idl/tests/inputs/large_lighting_app.matter b/scripts/py_matter_idl/matter_idl/tests/inputs/large_lighting_app.matter
index c0c8391d6a93c8..4fae3caa9e0aa3 100644
--- a/scripts/py_matter_idl/matter_idl/tests/inputs/large_lighting_app.matter
+++ b/scripts/py_matter_idl/matter_idl/tests/inputs/large_lighting_app.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -1418,12 +1413,22 @@ server cluster GroupKeyManagement = 63 {
}
server cluster FixedLabel = 64 {
+ struct LabelStruct {
+ CHAR_STRING<16> label = 0;
+ CHAR_STRING<16> value = 1;
+ }
+
readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
server cluster UserLabel = 65 {
+ struct LabelStruct {
+ CHAR_STRING<16> label = 0;
+ CHAR_STRING<16> value = 1;
+ }
+
attribute access(write: manage) LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/scripts/py_matter_idl/matter_idl/zapxml/handlers/handlers.py b/scripts/py_matter_idl/matter_idl/zapxml/handlers/handlers.py
index 8150924efe1c4c..477d7f2ff330fa 100644
--- a/scripts/py_matter_idl/matter_idl/zapxml/handlers/handlers.py
+++ b/scripts/py_matter_idl/matter_idl/zapxml/handlers/handlers.py
@@ -225,19 +225,20 @@ def FinalizeProcessing(self, idl: Idl):
# We have two choices of adding a struct:
# - inside a cluster if a code exists
# - inside top level if no codes were associated
- if self._cluster_codes:
- for code in self._cluster_codes:
- found = False
- for c in idl.clusters:
- if c.code == code:
- c.structs.append(self._struct)
- found = True
-
- if not found:
- LOGGER.error('Enum %s could not find cluster (code %d/0x%X)' %
- (self._struct.name, code, code))
- else:
- idl.structs.append(self._struct)
+ if not self._cluster_codes:
+ LOGGER.error('Struct %s has no cluster codes' % self._struct.name)
+ return
+
+ for code in self._cluster_codes:
+ found = False
+ for c in idl.clusters:
+ if c.code == code:
+ c.structs.append(self._struct)
+ found = True
+
+ if not found:
+ LOGGER.error('Struct %s could not find cluster (code %d/0x%X)' %
+ (self._struct.name, code, code))
def EndProcessing(self):
self.context.AddIdlPostProcessor(self)
@@ -269,22 +270,19 @@ def GetNextProcessor(self, name, attrs):
return BaseHandler(self.context)
def FinalizeProcessing(self, idl: Idl):
- # We have two choices of adding an enum:
- # - inside a cluster if a code exists
- # - inside top level if a code does not exist
-
if not self._cluster_codes:
- idl.enums.append(self._enum)
- else:
- found = set()
- for c in idl.clusters:
- if c.code in self._cluster_codes:
- c.enums.append(self._enum)
- found.add(c.code)
+ LOGGER.error("Found enum without a cluster code: %s" %
+ (self._enum.name))
+ return
+ found = set()
+ for c in idl.clusters:
+ if c.code in self._cluster_codes:
+ c.enums.append(self._enum)
+ found.add(c.code)
- if found != self._cluster_codes:
- LOGGER.error('Enum %s could not find its clusters (codes: %r)' %
- (self._enum.name, self._cluster_codes - found))
+ if found != self._cluster_codes:
+ LOGGER.error('Enum %s could not find its clusters (codes: %r)' %
+ (self._enum.name, self._cluster_codes - found))
def EndProcessing(self):
self.context.AddIdlPostProcessor(self)
diff --git a/src/app/zap-templates/templates/app/MatterIDL_Client.zapt b/src/app/zap-templates/templates/app/MatterIDL_Client.zapt
index 50d59f4fc2f38e..6902609e2f76bd 100644
--- a/src/app/zap-templates/templates/app/MatterIDL_Client.zapt
+++ b/src/app/zap-templates/templates/app/MatterIDL_Client.zapt
@@ -1,12 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-{{#zcl_structs}}
-{{#if has_more_than_one_cluster}}
-{{>idl_structure_definition extraIndent=0}}
-
-{{/if}}
-{{/zcl_structs}}
{{#zcl_clusters~}}
{{>idl_cluster_definition generateClientCluster=1}}
{{/zcl_clusters}}
diff --git a/src/app/zap-templates/templates/app/MatterIDL_Server.zapt b/src/app/zap-templates/templates/app/MatterIDL_Server.zapt
index 02e857d8c43f08..0e36361bef1a5f 100644
--- a/src/app/zap-templates/templates/app/MatterIDL_Server.zapt
+++ b/src/app/zap-templates/templates/app/MatterIDL_Server.zapt
@@ -1,12 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-{{#zcl_structs}}
-{{#if has_more_than_one_cluster}}
-{{>idl_structure_definition extraIndent=0}}
-
-{{/if}}
-{{/zcl_structs}}
{{#all_user_clusters~}}
{{#if (is_client side)~}}
{{>idl_cluster_definition generateClientCluster=1}}
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index 06f81c08a52b23..5d9ec2b27415b7 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -1,38 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct ModeTagStruct {
- optional vendor_id mfgCode = 0;
- enum16 value = 1;
-}
-
-struct ModeOptionStruct {
- char_string<64> label = 0;
- int8u mode = 1;
- ModeTagStruct modeTags[] = 2;
-}
-
-struct ApplicationStruct {
- int16u catalogVendorID = 0;
- char_string applicationID = 1;
-}
-
-struct ErrorStateStruct {
- enum8 errorStateID = 0;
- optional char_string<64> errorStateLabel = 1;
- optional char_string<64> errorStateDetails = 2;
-}
-
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
-struct OperationalStateStruct {
- enum8 operationalStateID = 0;
- optional char_string<64> operationalStateLabel = 1;
-}
-
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
client cluster Identify = 3 {
enum EffectIdentifierEnum : ENUM8 {