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 f688bb36d8acc9..28c7c6bfe612b0 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
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
index 0b8df8bdcf80ab..5fe59d98097a7b 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
@@ -279,7 +279,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -9265,7 +9265,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -21815,7 +21815,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 352c979fdb45d0..ec85f9ba50f1c9 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
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap
index 9b143d014c8d08..8bb9653d973323 100644
--- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap
+++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.zap
@@ -279,7 +279,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -8736,7 +8736,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -21187,7 +21187,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/bridge-app/bridge-common/bridge-app.zap b/examples/bridge-app/bridge-common/bridge-app.zap
index 793efe840795bc..c7a564c170d996 100644
--- a/examples/bridge-app/bridge-common/bridge-app.zap
+++ b/examples/bridge-app/bridge-common/bridge-app.zap
@@ -5957,7 +5957,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
index 209fab4eed6f9f..bf661389826ff0 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap
index 4404009e1d74e2..11db4cf94852b9 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5735,7 +5735,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
index d0c664d461632c..97f16304cbedfd 100644
--- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
+++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
index f13e181b9c6ff4..1d2267832de754 100644
--- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
+++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5720,7 +5720,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
index c8a31a267133bb..4af451a0b8564d 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
index f3f1129523b420..f05fe65bac80e1 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
index 34e861f1c403d0..23575943f6c82d 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
index 0dc6b3d2530c70..d4ecb08bca1b5e 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5760,7 +5760,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
index 84b311674b00da..cf232ce706a4fd 100644
--- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
+++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
index 0ebac74aefbfe3..a2cd89f065ea4c 100644
--- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
+++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
index bd6fb19f08d653..e8adc8e5d70fdf 100644
--- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
+++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap
index c95d1a4b2358d7..5642a98fd0b985 100644
--- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap
+++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
index 582bd4f96ce6e8..7423ec65391a67 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap b/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
index b36e305dec64d1..681c6579d1e907 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5768,7 +5768,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
index d49c8e7f5e9563..728c4bc51e9cf5 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
@@ -57,7 +57,11 @@ client cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -128,7 +132,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
index 6585a513242fce..2908b675400a0c 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
index c7497fb1c97570..193bb16d730f1b 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap
index 35d4cea96c0d94..dd990192c3d258 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
index b88238c22b429f..c720ca9af5c511 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
@@ -57,7 +57,11 @@ client cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -128,7 +132,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
index 26c2e6ffdcd102..109f2bafcaef2e 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
index 4a7bfc0b5da180..861d88299aff90 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
@@ -57,7 +57,11 @@ client cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -128,7 +132,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
index 136f09ce5b8502..7df712650db095 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
index 4ed6d772f53b4f..c43f30d1ffdad4 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
@@ -57,7 +57,11 @@ client cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -128,7 +132,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
index 8592f417d6ef41..dbfe3e859d505f 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
index 6e0ec096b149cd..683f23dd063d59 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
index f4eed36dec4ff4..6f2c666c4af6e2 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
index f4b22d6633e7b1..2b143d210a229a 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap
index 8ba85842300f3e..97a00a606ab014 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
index 8f5974a3d71e54..785b9e3d931339 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
index ebc3f803aa9dd7..d3cd82ce6e7e42 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
index b38c45a2bd3477..240047172a7e40 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
@@ -57,7 +57,11 @@ client cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -128,7 +132,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
index 5d2bee8911aae7..43b4f4dc2cbba9 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_pump_a811bb33a0.zap b/examples/chef/devices/rootnode_pump_a811bb33a0.zap
index 9bf2498414ad32..b24bf3edb878cb 100644
--- a/examples/chef/devices/rootnode_pump_a811bb33a0.zap
+++ b/examples/chef/devices/rootnode_pump_a811bb33a0.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -2559,7 +2559,7 @@
"code": 2,
"mfgCode": null,
"side": "server",
- "type": "RegulatoryLocationType",
+ "type": "RegulatoryLocationTypeEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
@@ -2575,7 +2575,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
- "type": "RegulatoryLocationType",
+ "type": "RegulatoryLocationTypeEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
@@ -6431,7 +6431,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -7538,6 +7538,5 @@
"endpointVersion": 1,
"deviceIdentifier": 771
}
- ],
- "log": []
+ ]
}
\ No newline at end of file
diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
index 4f34fdd41dae6d..da85cbcca91d0a 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap
index 60cea1a4156efe..a6a959c141a0e0 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
index fbb9233d5d9a9f..5d587cc4128f9f 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
@@ -57,7 +57,11 @@ client cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -128,7 +132,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap
index 31b4d8c516a83e..7460448b508fc5 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
index 1dc75f8abc6d55..00b7d4203f2b78 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
index 27aa256dd32d10..e8db2a4ca92aa5 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5760,7 +5760,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
index 3995f242f0931b..26dee3a73a83a8 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap
index c621ba12e29adf..fdf59014dc482d 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5712,7 +5712,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 18715acb6f5ec4..067a966cb096b3 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
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.zap b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.zap
index 38a25fdf1a4f01..36ab94f1311d9f 100644
--- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.zap
+++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5711,7 +5711,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/dynamic-bridge-app/bridge-common/bridge-app.zap b/examples/dynamic-bridge-app/bridge-common/bridge-app.zap
index 5dc2c5467556b2..c6fab6ce6afca3 100644
--- a/examples/dynamic-bridge-app/bridge-common/bridge-app.zap
+++ b/examples/dynamic-bridge-app/bridge-common/bridge-app.zap
@@ -5946,7 +5946,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 da4208b3f9b036..da528ec6203495 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
@@ -111,7 +111,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.zap b/examples/light-switch-app/light-switch-common/light-switch-app.zap
index 0a352117f7abbd..b4c5116c63d177 100644
--- a/examples/light-switch-app/light-switch-common/light-switch-app.zap
+++ b/examples/light-switch-app/light-switch-common/light-switch-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5661,7 +5661,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -8341,7 +8341,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 2dbd199b75aa36..c48e52dd570bfd 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.zap b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.zap
index cd739fba7c86ee..085744fbc30a5c 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.zap
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5684,7 +5684,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 0716b734e7f564..8db786bd654448 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.zap b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.zap
index c3ab76494a5ab9..9afac339440bf6 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.zap
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5684,7 +5684,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter
index be9db4405ba231..211775292829c5 100644
--- a/examples/lighting-app/lighting-common/lighting-app.matter
+++ b/examples/lighting-app/lighting-common/lighting-app.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lighting-app/lighting-common/lighting-app.zap b/examples/lighting-app/lighting-common/lighting-app.zap
index b327a0d67bdce1..1f563a5f100f0d 100644
--- a/examples/lighting-app/lighting-common/lighting-app.zap
+++ b/examples/lighting-app/lighting-common/lighting-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5684,7 +5684,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter
index 34bf74292995e6..8bfb1e9cfbec32 100644
--- a/examples/lighting-app/nxp/zap/lighting-on-off.matter
+++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.zap b/examples/lighting-app/nxp/zap/lighting-on-off.zap
index ef56a8504394a6..e42e030d0a242d 100644
--- a/examples/lighting-app/nxp/zap/lighting-on-off.zap
+++ b/examples/lighting-app/nxp/zap/lighting-on-off.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5812,7 +5812,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter
index 40c423237c181a..21aa2b6457b038 100644
--- a/examples/lighting-app/qpg/zap/light.matter
+++ b/examples/lighting-app/qpg/zap/light.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lighting-app/qpg/zap/light.zap b/examples/lighting-app/qpg/zap/light.zap
index c182e39448ddbd..f47568b86219af 100644
--- a/examples/lighting-app/qpg/zap/light.zap
+++ b/examples/lighting-app/qpg/zap/light.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -6732,7 +6732,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 2f59d01d4fcbdd..1802f7efe9eeb7 100644
--- a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter
+++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lighting-app/silabs/data_model/lighting-thread-app.zap b/examples/lighting-app/silabs/data_model/lighting-thread-app.zap
index 4129c583036388..5e96210d9d6c01 100644
--- a/examples/lighting-app/silabs/data_model/lighting-thread-app.zap
+++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5791,7 +5791,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 73d2de73ab4308..ad57778da5dc24 100644
--- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
+++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lighting-app/silabs/data_model/lighting-wifi-app.zap b/examples/lighting-app/silabs/data_model/lighting-wifi-app.zap
index e0b17ec63aea08..1ef14ccbb3a382 100644
--- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.zap
+++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5537,7 +5537,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/lock-app/lock-common/lock-app.zap b/examples/lock-app/lock-common/lock-app.zap
index 6365791e8c54d9..47ab38a82b29bf 100644
--- a/examples/lock-app/lock-common/lock-app.zap
+++ b/examples/lock-app/lock-common/lock-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5647,7 +5647,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/lock-app/nxp/zap/lock-app.zap b/examples/lock-app/nxp/zap/lock-app.zap
index 715c22702788c7..7b715d27db9025 100644
--- a/examples/lock-app/nxp/zap/lock-app.zap
+++ b/examples/lock-app/nxp/zap/lock-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter
index bf9b12ed538632..ca32fe4443b50e 100644
--- a/examples/lock-app/qpg/zap/lock.matter
+++ b/examples/lock-app/qpg/zap/lock.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/lock-app/qpg/zap/lock.zap b/examples/lock-app/qpg/zap/lock.zap
index ddeceea2b20477..e2bea244291e8b 100644
--- a/examples/lock-app/qpg/zap/lock.zap
+++ b/examples/lock-app/qpg/zap/lock.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -6655,7 +6655,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/log-source-app/log-source-common/log-source-app.zap b/examples/log-source-app/log-source-common/log-source-app.zap
index e783e808370a88..9ae0dbb8b5c451 100644
--- a/examples/log-source-app/log-source-common/log-source-app.zap
+++ b/examples/log-source-app/log-source-common/log-source-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap b/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap
index 63d1160b4275a8..61b5298b22a261 100644
--- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap
+++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 6f1a22ac175f81..9d34f9f22eee28 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
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap
index 8751dbff75cb8c..b3801d761d70c9 100644
--- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap
+++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5384,7 +5384,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter
index 2d73876882f721..d797865cabaec7 100644
--- a/examples/placeholder/linux/apps/app1/config.matter
+++ b/examples/placeholder/linux/apps/app1/config.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/placeholder/linux/apps/app1/config.zap b/examples/placeholder/linux/apps/app1/config.zap
index 6370993996752e..e9e3dc0cfb6bc4 100644
--- a/examples/placeholder/linux/apps/app1/config.zap
+++ b/examples/placeholder/linux/apps/app1/config.zap
@@ -11235,7 +11235,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter
index f2b0b6e22083e4..8d4aa73840f60d 100644
--- a/examples/placeholder/linux/apps/app2/config.matter
+++ b/examples/placeholder/linux/apps/app2/config.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/placeholder/linux/apps/app2/config.zap b/examples/placeholder/linux/apps/app2/config.zap
index 22cf3673249346..988f4171a5b6fc 100644
--- a/examples/placeholder/linux/apps/app2/config.zap
+++ b/examples/placeholder/linux/apps/app2/config.zap
@@ -11519,7 +11519,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/pump-app/pump-common/pump-app.zap b/examples/pump-app/pump-common/pump-app.zap
index b0d3b2a2ee8d5b..4e72e203996556 100644
--- a/examples/pump-app/pump-common/pump-app.zap
+++ b/examples/pump-app/pump-common/pump-app.zap
@@ -291,7 +291,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.zap b/examples/pump-controller-app/pump-controller-common/pump-controller-app.zap
index f9f526c1d320c0..de7f015f0e2614 100644
--- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.zap
+++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.zap
@@ -279,7 +279,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.zap b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.zap
index c4e5b88c5aaabb..97c197a4938110 100644
--- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.zap
+++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -3520,7 +3520,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter
index 2338de0db03649..1ce6b162502c32 100644
--- a/examples/thermostat/thermostat-common/thermostat.matter
+++ b/examples/thermostat/thermostat-common/thermostat.matter
@@ -111,7 +111,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/thermostat/thermostat-common/thermostat.zap b/examples/thermostat/thermostat-common/thermostat.zap
index d2c13346fe1e8f..ac3396126e097f 100644
--- a/examples/thermostat/thermostat-common/thermostat.zap
+++ b/examples/thermostat/thermostat-common/thermostat.zap
@@ -255,7 +255,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -7875,7 +7875,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/tv-app/tv-common/tv-app.zap b/examples/tv-app/tv-common/tv-app.zap
index 06a95f4f532e24..44f6bfa5c1bbf7 100644
--- a/examples/tv-app/tv-common/tv-app.zap
+++ b/examples/tv-app/tv-common/tv-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
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 ce145138afd91b..bd038c366225c8 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
@@ -57,7 +57,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap b/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
index ee418d36d68128..4e5d9b9a91f062 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -7298,7 +7298,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter
index 95241b99403f68..eb503fb83f2bfa 100644
--- a/examples/window-app/common/window-app.matter
+++ b/examples/window-app/common/window-app.matter
@@ -63,7 +63,11 @@ server cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/examples/window-app/common/window-app.zap b/examples/window-app/common/window-app.zap
index 2d99981ddfeffe..0a1727bf24b0af 100644
--- a/examples/window-app/common/window-app.zap
+++ b/examples/window-app/common/window-app.zap
@@ -327,7 +327,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -6521,7 +6521,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -8057,7 +8057,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/scripts/tools/zap/tests/inputs/all-clusters-app.zap b/scripts/tools/zap/tests/inputs/all-clusters-app.zap
index 0dc276b118b9d4..cab21dcfae2818 100644
--- a/scripts/tools/zap/tests/inputs/all-clusters-app.zap
+++ b/scripts/tools/zap/tests/inputs/all-clusters-app.zap
@@ -279,7 +279,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -8969,7 +8969,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -21154,7 +21154,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/scripts/tools/zap/tests/inputs/lighting-app.zap b/scripts/tools/zap/tests/inputs/lighting-app.zap
index c16ff445d06a1d..af9592fe1d6539 100644
--- a/scripts/tools/zap/tests/inputs/lighting-app.zap
+++ b/scripts/tools/zap/tests/inputs/lighting-app.zap
@@ -239,7 +239,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
@@ -5652,7 +5652,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/src/app/clusters/groups-server/groups-server.cpp b/src/app/clusters/groups-server/groups-server.cpp
index feb0f55733cb55..f048991ba112e4 100644
--- a/src/app/clusters/groups-server/groups-server.cpp
+++ b/src/app/clusters/groups-server/groups-server.cpp
@@ -118,12 +118,8 @@ static EmberAfStatus GroupRemove(FabricIndex fabricIndex, EndpointId endpointId,
void emberAfGroupsClusterServerInitCallback(EndpointId endpointId)
{
- // The most significant bit of the NameSupport attribute indicates whether or not group names are supported
- //
- // According to spec, highest bit (Group Names supported) MUST match feature bit 0 (Group Names supported)
- static constexpr uint8_t kNameSuppportFlagGroupNamesSupported = 0x80;
-
- EmberAfStatus status = Attributes::NameSupport::Set(endpointId, kNameSuppportFlagGroupNamesSupported);
+ // According to spec, highest bit (Group Names) MUST match feature bit 0 (Group Names)
+ EmberAfStatus status = Attributes::NameSupport::Set(endpointId, NameSupportBitmap::kGroupNames);
if (status != EMBER_ZCL_STATUS_SUCCESS)
{
ChipLogDetail(Zcl, "ERR: writing NameSupport %x", status);
diff --git a/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml
index b5f5288c164d73..41c5f447579977 100644
--- a/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml
@@ -22,6 +22,11 @@ limitations under the License.
+
+
+
+
+
Groups
General
@@ -34,7 +39,7 @@ limitations under the License.
- NameSupport
+ NameSupport
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index d5be767865f9ab..4c9ae4e6d9b4bf 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -65,7 +65,11 @@ client cluster Groups = 4 {
kGroupNames = 0x1;
}
- readonly attribute bitmap8 nameSupport = 0;
+ bitmap NameSupportBitmap : BITMAP8 {
+ kGroupNames = 0x80;
+ }
+
+ readonly attribute NameSupportBitmap nameSupport = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
diff --git a/src/controller/data_model/controller-clusters.zap b/src/controller/data_model/controller-clusters.zap
index 4726c9905368ad..c907707bfd085d 100644
--- a/src/controller/data_model/controller-clusters.zap
+++ b/src/controller/data_model/controller-clusters.zap
@@ -343,7 +343,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
- "type": "bitmap8",
+ "type": "NameSupportBitmap",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
diff --git a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
index c3928fc61bab68..ec832387620ac7 100644
--- a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
+++ b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
@@ -219,7 +219,7 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR
std::string valueClassName = "java/lang/Integer";
std::string valueCtorSignature = "(I)V";
chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(),
- cppValue, value);
+ cppValue.Raw(), value);
return value;
}
case Attributes::GeneratedCommandList::Id: {
diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py
index be3f932adda39d..4f5dcb2309bdc5 100644
--- a/src/controller/python/chip/clusters/Objects.py
+++ b/src/controller/python/chip/clusters/Objects.py
@@ -293,6 +293,9 @@ class Bitmaps:
class Feature(IntFlag):
kGroupNames = 0x1
+ class NameSupportBitmap(IntFlag):
+ kGroupNames = 0x80
+
class Commands:
@dataclass
class AddGroup(ClusterCommand):
diff --git a/src/darwin/Framework/CHIP/templates/availability.yaml b/src/darwin/Framework/CHIP/templates/availability.yaml
index bf8334630ce12f..41be2ce7647488 100644
--- a/src/darwin/Framework/CHIP/templates/availability.yaml
+++ b/src/darwin/Framework/CHIP/templates/availability.yaml
@@ -7718,6 +7718,7 @@
- Feature
Groups:
- Feature
+ - NameSupportBitmap
PressureMeasurement:
- Feature
PumpConfigurationAndControl:
@@ -7764,6 +7765,8 @@
Groups:
Feature:
- GroupNames
+ NameSupportBitmap:
+ - GroupNames
PressureMeasurement:
Feature:
- Extended
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
index 8b79ca995852f5..42ae07b568b8eb 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
@@ -201,7 +201,7 @@ static id _Nullable DecodeAttributeValueForGroupsCluster(AttributeId aAttributeI
return nil;
}
NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedChar:cppValue];
+ value = [NSNumber numberWithUnsignedChar:cppValue.Raw()];
return value;
}
case Attributes::GeneratedCommandList::Id: {
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
index 970387513955ed..0d40aee8f33289 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
@@ -22055,6 +22055,10 @@ typedef NS_OPTIONS(uint32_t, MTRGroupsGroupClusterFeature) {
= 0x1,
} API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) MTR_NEWLY_DEPRECATED("Please use MTRGroupsFeature");
+typedef NS_OPTIONS(uint8_t, MTRGroupsNameSupportBitmap) {
+ MTRGroupsNameSupportBitmapGroupNames MTR_NEWLY_AVAILABLE = 0x80,
+} MTR_NEWLY_AVAILABLE;
+
typedef NS_OPTIONS(uint32_t, MTRScenesFeature) {
MTRScenesFeatureSceneNames MTR_NEWLY_AVAILABLE = 0x1,
} MTR_NEWLY_AVAILABLE;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
index 4e311a758ad203..e7236b3e9d4f53 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
@@ -1110,7 +1110,7 @@ - (void)readAttributeNameSupportWithCompletion:(void (^)(NSNumber * _Nullable va
{
MTRReadParams * params = [[MTRReadParams alloc] init];
using TypeInfo = Groups::Attributes::NameSupport::TypeInfo;
- return MTRReadAttribute(
+ return MTRReadAttribute(
params, completion, self.callbackQueue, self.device, self->_endpoint, TypeInfo::GetClusterId(), TypeInfo::GetAttributeId());
}
@@ -1119,7 +1119,7 @@ - (void)subscribeAttributeNameSupportWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::NameSupport::TypeInfo;
- MTRSubscribeAttribute(params,
+ MTRSubscribeAttribute(params,
subscriptionEstablished, reportHandler, self.callbackQueue, self.device, self->_endpoint, TypeInfo::GetClusterId(),
TypeInfo::GetAttributeId());
}
@@ -1129,9 +1129,9 @@ + (void)readAttributeNameSupportWithClusterStateCache:(MTRClusterStateCacheConta
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
- auto * bridge = new MTRInt8uAttributeCallbackBridge(queue, completion);
+ auto * bridge = new MTRGroupsNameSupportAttributeCallbackBridge(queue, completion);
std::move(*bridge).DispatchLocalAction(
- clusterStateCacheContainer.baseDevice, ^(Int8uAttributeCallback successCb, MTRErrorCallback failureCb) {
+ clusterStateCacheContainer.baseDevice, ^(GroupsNameSupportAttributeCallback successCb, MTRErrorCallback failureCb) {
if (clusterStateCacheContainer.cppClusterStateCache) {
chip::app::ConcreteAttributePath path;
using TypeInfo = Groups::Attributes::NameSupport::TypeInfo;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.h b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.h
index 19ce55f7c414ea..f3a6e8bb995dae 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.h
@@ -691,6 +691,7 @@ typedef void (*IdentifyEventListListAttributeCallback)(void * context,
const chip::app::DataModel::DecodableList & data);
typedef void (*IdentifyAttributeListListAttributeCallback)(void * context,
const chip::app::DataModel::DecodableList & data);
+typedef void (*GroupsNameSupportAttributeCallback)(void *, chip::BitMask);
typedef void (*GroupsGeneratedCommandListListAttributeCallback)(void * context,
const chip::app::DataModel::DecodableList & data);
typedef void (*GroupsAcceptedCommandListListAttributeCallback)(void * context,
@@ -2513,6 +2514,35 @@ class MTRIdentifyAttributeListListAttributeCallbackSubscriptionBridge : public M
MTRSubscriptionEstablishedHandler mEstablishedHandler;
};
+class MTRGroupsNameSupportAttributeCallbackBridge : public MTRCallbackBridge
+{
+public:
+ MTRGroupsNameSupportAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler) :
+ MTRCallbackBridge(queue, handler, OnSuccessFn){};
+
+ MTRGroupsNameSupportAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action) :
+ MTRCallbackBridge(queue, handler, action, OnSuccessFn){};
+
+ static void OnSuccessFn(void * context, chip::BitMask value);
+};
+
+class MTRGroupsNameSupportAttributeCallbackSubscriptionBridge : public MTRGroupsNameSupportAttributeCallbackBridge
+{
+public:
+ MTRGroupsNameSupportAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action,
+ MTRSubscriptionEstablishedHandler establishedHandler) :
+ MTRGroupsNameSupportAttributeCallbackBridge(queue, handler, action),
+ mEstablishedHandler(establishedHandler)
+ {}
+
+ void OnSubscriptionEstablished();
+ using MTRGroupsNameSupportAttributeCallbackBridge::KeepAliveOnCallback;
+ using MTRGroupsNameSupportAttributeCallbackBridge::OnDone;
+
+private:
+ MTRSubscriptionEstablishedHandler mEstablishedHandler;
+};
+
class MTRGroupsGeneratedCommandListListAttributeCallbackBridge
: public MTRCallbackBridge
{
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm
index 425e075a3553cb..ebd2054df54c3c 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm
@@ -856,6 +856,29 @@
}
}
+void MTRGroupsNameSupportAttributeCallbackBridge::OnSuccessFn(
+ void * context, chip::BitMask value)
+{
+ NSNumber * _Nonnull objCValue;
+ objCValue = [NSNumber numberWithUnsignedChar:value.Raw()];
+ DispatchSuccess(context, objCValue);
+};
+
+void MTRGroupsNameSupportAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished()
+{
+ if (!mQueue) {
+ return;
+ }
+
+ if (mEstablishedHandler != nil) {
+ dispatch_async(mQueue, mEstablishedHandler);
+ // On failure, mEstablishedHandler will be cleaned up by our destructor,
+ // but we can clean it up earlier on successful subscription
+ // establishment.
+ mEstablishedHandler = nil;
+ }
+}
+
void MTRGroupsGeneratedCommandListListAttributeCallbackBridge::OnSuccessFn(
void * context, const chip::app::DataModel::DecodableList & value)
{
diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
index a84a46bd004e6b..2b43fdaea23042 100644
--- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
+++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
@@ -170,9 +170,9 @@ namespace Attributes {
namespace NameSupport {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, chip::BitMask * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits>;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
EmberAfStatus status = emberAfReadAttribute(endpoint, Clusters::Groups::Id, Id, readable, sizeof(temp));
@@ -184,9 +184,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, chip::BitMask value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits>;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h
index b7d0c6fea1c4b9..39a94af43a3222 100644
--- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h
+++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h
@@ -63,8 +63,9 @@ namespace Groups {
namespace Attributes {
namespace NameSupport {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value); // bitmap8
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value);
+EmberAfStatus Get(chip::EndpointId endpoint,
+ chip::BitMask * value); // NameSupportBitmap
+EmberAfStatus Set(chip::EndpointId endpoint, chip::BitMask value);
} // namespace NameSupport
namespace FeatureMap {
diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h
index 6a6a3c7aad61e8..5dfcb41e997c79 100644
--- a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h
+++ b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h
@@ -103,6 +103,12 @@ enum class Feature : uint32_t
{
kGroupNames = 0x1,
};
+
+// Bitmap for NameSupportBitmap
+enum class NameSupportBitmap : uint8_t
+{
+ kGroupNames = 0x80,
+};
} // namespace Groups
namespace Scenes {
diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
index 013a950074f6ff..8ce9f499da8934 100644
--- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
+++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
@@ -741,9 +741,9 @@ namespace Attributes {
namespace NameSupport {
struct TypeInfo
{
- using Type = uint8_t;
- using DecodableType = uint8_t;
- using DecodableArgType = uint8_t;
+ using Type = chip::BitMask;
+ using DecodableType = chip::BitMask;
+ using DecodableArgType = chip::BitMask;
static constexpr ClusterId GetClusterId() { return Clusters::Groups::Id; }
static constexpr AttributeId GetAttributeId() { return Attributes::NameSupport::Id; }
@@ -795,7 +795,8 @@ struct TypeInfo
CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path);
- Attributes::NameSupport::TypeInfo::DecodableType nameSupport = static_cast(0);
+ Attributes::NameSupport::TypeInfo::DecodableType nameSupport =
+ static_cast>(0);
Attributes::GeneratedCommandList::TypeInfo::DecodableType generatedCommandList;
Attributes::AcceptedCommandList::TypeInfo::DecodableType acceptedCommandList;
Attributes::EventList::TypeInfo::DecodableType eventList;
diff --git a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h
index 0ac52bfce3ae98..52eeb45a2b993c 100644
--- a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h
+++ b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h
@@ -9518,8 +9518,8 @@ void registerClusterGroups(Commands & commands, CredentialIssuerCommands * creds
make_unique(Id, "feature-map", Attributes::FeatureMap::Id, credsIssuerConfig), //
make_unique(Id, "cluster-revision", Attributes::ClusterRevision::Id, credsIssuerConfig), //
make_unique>(Id, credsIssuerConfig), //
- make_unique>(Id, "name-support", 0, UINT8_MAX, Attributes::NameSupport::Id,
- WriteCommandType::kForceWrite, credsIssuerConfig), //
+ make_unique>>(
+ Id, "name-support", 0, UINT8_MAX, Attributes::NameSupport::Id, WriteCommandType::kForceWrite, credsIssuerConfig), //
make_unique>>(
Id, "generated-command-list", Attributes::GeneratedCommandList::Id, WriteCommandType::kForceWrite,
credsIssuerConfig), //
diff --git a/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp b/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
index 500d0a370a863d..0bb2f1fe14734f 100644
--- a/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
+++ b/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
@@ -4765,7 +4765,7 @@ CHIP_ERROR DataModelLogger::LogAttribute(const chip::app::ConcreteDataAttributeP
switch (path.mAttributeId)
{
case Groups::Attributes::NameSupport::Id: {
- uint8_t value;
+ chip::BitMask value;
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
return DataModelLogger::LogValue("NameSupport", 1, value);
}
diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h
index 688b47fe0e9a2d..50ff8f1b0e4729 100644
--- a/zzz_generated/chip-tool/zap-generated/test/Commands.h
+++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h
@@ -95563,8 +95563,8 @@ class Test_TC_G_2_1Suite : public TestCommand
chip::Optional mEndpoint;
chip::Optional mTimeout;
- uint8_t NameSupportFeatureSupportedValue;
- uint8_t NameSupportValue;
+ chip::BitMask NameSupportFeatureSupportedValue;
+ chip::BitMask NameSupportValue;
chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; }
@@ -95585,7 +95585,7 @@ class Test_TC_G_2_1Suite : public TestCommand
case 1:
VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0));
{
- uint8_t value;
+ chip::BitMask value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("nameSupport", value, 128U));
NameSupportFeatureSupportedValue = value;
@@ -95594,7 +95594,7 @@ class Test_TC_G_2_1Suite : public TestCommand
case 2:
VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0));
{
- uint8_t value;
+ chip::BitMask value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("nameSupport", value, 0U));
NameSupportValue = value;
@@ -95606,7 +95606,7 @@ class Test_TC_G_2_1Suite : public TestCommand
case 4:
VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0));
{
- uint8_t value;
+ chip::BitMask value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("nameSupport", value, NameSupportFeatureSupportedValue));
}
@@ -95614,7 +95614,7 @@ class Test_TC_G_2_1Suite : public TestCommand
case 5:
VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0));
{
- uint8_t value;
+ chip::BitMask value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("nameSupport", value, NameSupportValue));
}
@@ -95657,8 +95657,8 @@ class Test_TC_G_2_1Suite : public TestCommand
LogStep(3, "TH writes NameSupport attribute as 0x80 EXOR the value as read in step 1");
VerifyOrDo(!ShouldSkip("G.S.A0000"), return ContinueOnChipMainThread(CHIP_NO_ERROR));
ListFreer listFreer;
- uint8_t value;
- value = 128U;
+ chip::BitMask value;
+ value = static_cast>(128U);
return WriteAttribute(kIdentityAlpha, GetEndpoint(1), Groups::Id, Groups::Attributes::NameSupport::Id, value,
chip::NullOptional, chip::NullOptional);
}