From 42598126e6feefe6e39737063e5d5fb5b8e9e574 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Fri, 27 Oct 2023 18:12:37 -0400 Subject: [PATCH] Make group cluster match the spec (#30056) * Set the max length of the group name in command arguments * ZAP regen * minor change to kick CI * NOOP change to kick ci --- .../all-clusters-common/all-clusters-app.matter | 6 +++--- .../all-clusters-common/all-clusters-minimal-app.matter | 6 +++--- .../devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter | 6 +++--- ...aturesensor_humiditysensor_thermostat_56de3d5f45.matter | 6 +++--- .../rootnode_colortemperaturelight_hbUnzYVeyn.matter | 6 +++--- .../chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter | 6 +++--- .../chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter | 6 +++--- examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter | 6 +++--- .../devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter | 6 +++--- examples/chef/devices/rootnode_fan_7N2TobIlOX.matter | 6 +++--- .../chef/devices/rootnode_flowsensor_1zVxHedlaV.matter | 6 +++--- .../devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter | 6 +++--- .../chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter | 6 +++--- .../chef/devices/rootnode_lightsensor_lZQycTFcJK.matter | 6 +++--- .../devices/rootnode_occupancysensor_iHyVgifZuo.matter | 6 +++--- .../chef/devices/rootnode_onofflight_bbs1b7IaOV.matter | 6 +++--- examples/chef/devices/rootnode_onofflight_samplemei.matter | 6 +++--- .../devices/rootnode_onofflightswitch_FsPlMr090Q.matter | 6 +++--- .../devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 6 +++--- .../chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter | 6 +++--- .../rootnode_roboticvacuumcleaner_1807ff0c49.matter | 6 +++--- .../devices/rootnode_roomairconditioner_9cf3607804.matter | 6 +++--- .../chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter | 6 +++--- .../devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter | 6 +++--- .../chef/devices/rootnode_thermostat_bm3fb8dhYi.matter | 6 +++--- .../chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter | 6 +++--- .../contact-sensor-common/contact-sensor-app.matter | 6 +++--- .../dishwasher-app/dishwasher-common/dishwasher-app.matter | 6 +++--- .../light-switch-common/light-switch-app.matter | 6 +++--- .../bouffalolab/data_model/lighting-app-ethernet.matter | 6 +++--- .../bouffalolab/data_model/lighting-app-thread.matter | 6 +++--- .../bouffalolab/data_model/lighting-app-wifi.matter | 6 +++--- examples/lighting-app/lighting-common/lighting-app.matter | 6 +++--- examples/lighting-app/nxp/zap/lighting-on-off.matter | 6 +++--- examples/lighting-app/qpg/zap/light.matter | 6 +++--- .../silabs/data_model/lighting-thread-app.matter | 6 +++--- .../silabs/data_model/lighting-wifi-app.matter | 6 +++--- examples/lock-app/qpg/zap/lock.matter | 6 +++--- .../ota-requestor-common/ota-requestor-app.matter | 6 +++--- examples/placeholder/linux/apps/app1/config.matter | 6 +++--- examples/placeholder/linux/apps/app2/config.matter | 6 +++--- .../resource-monitoring-app.matter | 6 +++--- .../smoke-co-alarm-common/smoke-co-alarm-app.matter | 6 +++--- .../thermostat/nxp/zap/thermostat_matter_thread.matter | 6 +++--- examples/thermostat/nxp/zap/thermostat_matter_wifi.matter | 6 +++--- examples/thermostat/thermostat-common/thermostat.matter | 6 +++--- .../tv-casting-app/tv-casting-common/tv-casting-app.matter | 6 +++--- .../virtual-device-common/virtual-device-app.matter | 6 +++--- examples/window-app/common/window-app.matter | 6 +++--- .../zap-templates/zcl/data-model/chip/groups-cluster.xml | 7 +++---- src/controller/data_model/controller-clusters.matter | 6 +++--- 51 files changed, 153 insertions(+), 154 deletions(-) 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 0e5e992f2a80d8..bd7df6702e4446 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 b741110eb920da..29030db6eee1e0 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index 9122d0776bde85..08cf480a0dc8a8 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 fc5295bf533e44..309178d53e154c 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index c94c88d292bb1b..201d637db8d550 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index a5e95aa3724459..1294ec299c7bef 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index a3b3a03ff7d084..89b71e5d0e3dc9 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index c47f66f299dd04..8fb1a6298bfeb9 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index c633c224718dd7..632c70a5f1bf48 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index bdaa7cf53f05f1..4555a630035672 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index 5fe7d7dd1b78d4..db39ae1ec96e05 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -61,7 +61,7 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -76,7 +76,7 @@ client cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } request struct GetGroupMembershipRequest { @@ -99,7 +99,7 @@ client cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } /** Command description for AddGroup */ diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index 2d71bc7ead0b2e..03646575903076 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index aa56178ebd3882..b010a3597bb3df 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -61,7 +61,7 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -76,7 +76,7 @@ client cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } request struct GetGroupMembershipRequest { @@ -99,7 +99,7 @@ client cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } /** Command description for AddGroup */ diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index 2616596fe6e398..e59638afec116e 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -61,7 +61,7 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -76,7 +76,7 @@ client cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } request struct GetGroupMembershipRequest { @@ -99,7 +99,7 @@ client cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } /** Command description for AddGroup */ diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index b8e8679827989d..77f148218ccb0b 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -61,7 +61,7 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -76,7 +76,7 @@ client cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } request struct GetGroupMembershipRequest { @@ -99,7 +99,7 @@ client cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } /** Command description for AddGroup */ diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index 43832bbd05b10a..ce4f41eb65ef0a 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_onofflight_samplemei.matter b/examples/chef/devices/rootnode_onofflight_samplemei.matter index c8e86599111235..a851b44be091c2 100644 --- a/examples/chef/devices/rootnode_onofflight_samplemei.matter +++ b/examples/chef/devices/rootnode_onofflight_samplemei.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index 6715aca6c31645..f87b8039cdff89 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index 154c09b088284e..13a79bc0cee434 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index cb5100556ae8ea..fafd5a73ac5880 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -61,7 +61,7 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -76,7 +76,7 @@ client cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } request struct GetGroupMembershipRequest { @@ -99,7 +99,7 @@ client cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } /** Command description for AddGroup */ diff --git a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter index ab6ae185cb21dc..a5a8b6afc1c7a0 100644 --- a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter +++ b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter index cb0b194a489307..3f2fb5857276cc 100644 --- a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter +++ b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter index 1ff0419a1af95d..e27712afd4ce61 100644 --- a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter +++ b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index 82b38670997e4f..5ccbaacefebb96 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -61,7 +61,7 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -76,7 +76,7 @@ client cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } request struct GetGroupMembershipRequest { @@ -99,7 +99,7 @@ client cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } /** Command description for AddGroup */ diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index a6c5f4c54d06bc..9df995db024cb4 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index 3047f73f5a54bb..f2d39b10b0a3ef 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 190d78c9c05892..87f2caaf581a7f 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter index 3ed55a9ed4b283..dc13534a56fe46 100644 --- a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter +++ b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 8a7c646fdf7dad..3801affe7746a8 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 @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -132,7 +132,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -143,7 +143,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 320d90679f6c9b..f3cb09f9a32294 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 14275388158fb2..cfc4f6f0a2b746 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 532d346f6fc1fc..e97a7212137016 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index e69c91577158ca..ff3515b837ec5e 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index 8cf9aaefc7f49c..6bb1dc6d34a566 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index 0f1c6d97ce4561..71e691b790375a 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 7c500008381e80..25bb26b198d126 100644 --- a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 96787523fa0d33..2982df009b22b7 100644 --- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter index 3e953684c4ca5f..9c78fb9fbbe866 100644 --- a/examples/lock-app/qpg/zap/lock.matter +++ b/examples/lock-app/qpg/zap/lock.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 cadac4c45ea769..ca6913b32da943 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 6799ca2bdacf12..5d43a5053cabe9 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -132,7 +132,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -143,7 +143,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index 7b1180739f8e62..2697eb2132d6db 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -132,7 +132,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -143,7 +143,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 10a315c77baa95..6b1bb2d7ef9040 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 d6d288d445433c..85e5ad6bba4e98 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/thermostat/nxp/zap/thermostat_matter_thread.matter b/examples/thermostat/nxp/zap/thermostat_matter_thread.matter index 88b3c1b390f486..2a03d768498c38 100644 --- a/examples/thermostat/nxp/zap/thermostat_matter_thread.matter +++ b/examples/thermostat/nxp/zap/thermostat_matter_thread.matter @@ -109,7 +109,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -126,7 +126,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -137,7 +137,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter b/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter index 5b9518590b59c4..2e9f1fd042d551 100644 --- a/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter +++ b/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter @@ -109,7 +109,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -126,7 +126,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -137,7 +137,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index 1c8eb24f2e4dfe..511f0a9dee24f4 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -132,7 +132,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -143,7 +143,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 c217b7db6236b8..b7d954aefabd61 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 @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -78,7 +78,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -89,7 +89,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 4f934ebe6de8c8..fab44c95b63e8a 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 @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index 7108c8045a2cc2..e90f4148b363b5 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } request struct ViewGroupRequest { @@ -84,7 +84,7 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -95,7 +95,7 @@ server cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } response struct GetGroupMembershipResponse = 2 { 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 454c6a8032897c..ce1289e71e529e 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 @@ -41,14 +41,13 @@ limitations under the License. NameSupport - Command description for AddGroup - + @@ -86,7 +85,7 @@ limitations under the License. - + @@ -103,7 +102,7 @@ limitations under the License. - + diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index 585acb569d2acd..cf35cebdfcf50b 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -69,7 +69,7 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } response struct AddGroupResponse = 0 { @@ -84,7 +84,7 @@ client cluster Groups = 4 { response struct ViewGroupResponse = 1 { enum8 status = 0; group_id groupID = 1; - char_string groupName = 2; + char_string<16> groupName = 2; } request struct GetGroupMembershipRequest { @@ -107,7 +107,7 @@ client cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - char_string groupName = 1; + char_string<16> groupName = 1; } /** Command description for AddGroup */