Fixing the .zap files for contradicting device type data (#27962)
* Fixing the .zap files for contradicting device type data
Github: ZAP#862
* Minor cleanup
Github: ZAP#862
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 d16e58a..5fd41b4 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.zap
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.zap
@@ -5439,8 +5439,8 @@
},
{
"name": "MA-extendedcolorlight",
- "deviceTypeName": "MA-dimmablelight",
- "deviceTypeCode": 257,
+ "deviceTypeName": "MA-extendedcolorlight",
+ "deviceTypeCode": 269,
"deviceTypeProfileId": 259,
"clusters": [
{
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 8a0a841..89acd7f 100644
--- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.zap
+++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.zap
@@ -5439,8 +5439,8 @@
},
{
"name": "MA-extendedcolorlight",
- "deviceTypeName": "MA-dimmablelight",
- "deviceTypeCode": 257,
+ "deviceTypeName": "MA-extendedcolorlight",
+ "deviceTypeCode": 269,
"deviceTypeProfileId": 259,
"clusters": [
{
diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter
index 3bbb9c8..e673fc4 100644
--- a/examples/placeholder/linux/apps/app1/config.matter
+++ b/examples/placeholder/linux/apps/app1/config.matter
@@ -6439,7 +6439,7 @@
}
endpoint 0 {
- device type anonymousEndpointType = 65280, version 1;
+ device type rootdevice = 22, version 1;
binding cluster GeneralCommissioning;
binding cluster ThreadNetworkDiagnostics;
binding cluster Switch;
diff --git a/examples/placeholder/linux/apps/app1/config.zap b/examples/placeholder/linux/apps/app1/config.zap
index bbeb49c..2565d5b 100644
--- a/examples/placeholder/linux/apps/app1/config.zap
+++ b/examples/placeholder/linux/apps/app1/config.zap
@@ -33,10 +33,10 @@
],
"endpointTypes": [
{
- "name": "Anonymous Endpoint Type",
- "deviceTypeName": null,
- "deviceTypeCode": null,
- "deviceTypeProfileId": null,
+ "name": "MA-rootdevice",
+ "deviceTypeName": "MA-rootdevice",
+ "deviceTypeCode": 22,
+ "deviceTypeProfileId": 259,
"clusters": [
{
"name": "Descriptor",
@@ -14559,7 +14559,7 @@
"endpointId": 0,
"networkId": 0,
"endpointVersion": 1,
- "deviceIdentifier": 65280
+ "deviceIdentifier": 22
},
{
"endpointTypeName": "Anonymous Endpoint Type",
diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter
index 29b0056..fb9da67 100644
--- a/examples/placeholder/linux/apps/app2/config.matter
+++ b/examples/placeholder/linux/apps/app2/config.matter
@@ -6398,7 +6398,7 @@
}
endpoint 0 {
- device type anonymousEndpointType = 65280, version 1;
+ device type rootdevice = 22, version 1;
binding cluster GeneralCommissioning;
binding cluster ThreadNetworkDiagnostics;
binding cluster Switch;
diff --git a/examples/placeholder/linux/apps/app2/config.zap b/examples/placeholder/linux/apps/app2/config.zap
index f46be65..333648b 100644
--- a/examples/placeholder/linux/apps/app2/config.zap
+++ b/examples/placeholder/linux/apps/app2/config.zap
@@ -33,10 +33,10 @@
],
"endpointTypes": [
{
- "name": "Anonymous Endpoint Type",
- "deviceTypeName": null,
- "deviceTypeCode": null,
- "deviceTypeProfileId": null,
+ "name": "MA-rootdevice",
+ "deviceTypeName": "MA-rootdevice",
+ "deviceTypeCode": 22,
+ "deviceTypeProfileId": 259,
"clusters": [
{
"name": "Descriptor",
@@ -14585,7 +14585,7 @@
"endpointId": 0,
"networkId": 0,
"endpointVersion": 1,
- "deviceIdentifier": 65280
+ "deviceIdentifier": 22
},
{
"endpointTypeName": "Anonymous Endpoint Type",