diff --git a/examples/placeholder/linux/apps/app1/config.zap b/examples/placeholder/linux/apps/app1/config.zap
index 2b6fdfb3150d9c..92076c38fa584c 100644
--- a/examples/placeholder/linux/apps/app1/config.zap
+++ b/examples/placeholder/linux/apps/app1/config.zap
@@ -406,6 +406,14 @@
"incoming": 1,
"outgoing": 0
},
+ {
+ "name": "SetRegulatoryConfig",
+ "code": 2,
+ "mfgCode": null,
+ "source": "client",
+ "incoming": 1,
+ "outgoing": 0
+ },
{
"name": "CommissioningComplete",
"code": 4,
@@ -449,6 +457,14 @@
"incoming": 0,
"outgoing": 1
},
+ {
+ "name": "SetRegulatoryConfigResponse",
+ "code": 3,
+ "mfgCode": null,
+ "source": "server",
+ "incoming": 0,
+ "outgoing": 1
+ },
{
"name": "CommissioningCompleteResponse",
"code": 5,
@@ -1924,4 +1940,4 @@
}
],
"log": []
-}
\ No newline at end of file
+}
diff --git a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
index 36673e94130518..ddb249bb1a0cb6 100644
--- a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
@@ -46,10 +46,12 @@ limitations under the License.
CLIENT_LIST
PARTS_LIST
+
+ SetRegulatoryConfig
+
-
@@ -2226,4 +2228,4 @@ limitations under the License.
-
\ No newline at end of file
+
diff --git a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp
index d19b8317c1eadf..f8563cc33d3aca 100644
--- a/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp
+++ b/zzz_generated/placeholder/app1/zap-generated/IMClusterCommandHandler.cpp
@@ -138,6 +138,15 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP
}
break;
}
+ case Commands::SetRegulatoryConfig::Id: {
+ Commands::SetRegulatoryConfig::DecodableType commandData;
+ TLVError = DataModel::Decode(aDataTlv, commandData);
+ if (TLVError == CHIP_NO_ERROR)
+ {
+ wasHandled = emberAfGeneralCommissioningClusterSetRegulatoryConfigCallback(apCommandObj, aCommandPath, commandData);
+ }
+ break;
+ }
default: {
// Unrecognized command ID, error status will apply.
ReportCommandUnsupported(apCommandObj, aCommandPath);