Skip to content

Commit

Permalink
Updated relevant zap files to latest and zap_cluster_list.py (#23907)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneJosefsen authored Dec 5, 2022
1 parent 9c0ca13 commit 1c49a56
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 64 deletions.
27 changes: 14 additions & 13 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 81,
"featureLevel": 87,
"creator": "zap",
"keyValuePairs": [
{
Expand All @@ -16,19 +16,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl-with-test-extensions.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data with some extensions"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -8058,7 +8058,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -8110,7 +8110,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -9709,7 +9709,7 @@
"code": 15,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "LevelControlOptions",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -19162,7 +19162,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -19334,7 +19334,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 1,
"commands": [
Expand Down Expand Up @@ -24740,5 +24740,6 @@
"endpointVersion": 1,
"deviceIdentifier": 61442
}
]
],
"log": []
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 81,
"featureLevel": 87,
"creator": "zap",
"keyValuePairs": [
{
Expand All @@ -16,19 +16,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -8058,7 +8058,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -8110,7 +8110,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -9559,7 +9559,7 @@
"code": 15,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "LevelControlOptions",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -18954,7 +18954,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -19126,7 +19126,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 1,
"commands": [
Expand Down Expand Up @@ -24516,5 +24516,6 @@
"endpointVersion": 1,
"deviceIdentifier": 61442
}
]
],
"log": []
}
24 changes: 12 additions & 12 deletions examples/thermostat/thermostat-common/thermostat.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 85,
"featureLevel": 87,
"creator": "zap",
"keyValuePairs": [
{
Expand All @@ -16,19 +16,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -7014,7 +7014,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -7066,7 +7066,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -8335,7 +8335,7 @@
"code": 15,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "LevelControlOptions",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -14132,7 +14132,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -14176,7 +14176,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 0,
"commands": [
Expand Down
27 changes: 14 additions & 13 deletions examples/tv-app/tv-common/tv-app.zap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"featureLevel": 81,
"featureLevel": 87,
"creator": "zap",
"keyValuePairs": [
{
Expand All @@ -16,19 +16,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -6924,7 +6924,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -6976,7 +6976,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -9222,7 +9222,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -9274,7 +9274,7 @@
"name": "Unit Testing",
"code": 4294048773,
"mfgCode": null,
"define": "TEST_CLUSTER",
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -9977,7 +9977,7 @@
"code": 15,
"mfgCode": null,
"side": "server",
"type": "bitmap8",
"type": "LevelControlOptions",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
Expand Down Expand Up @@ -12364,5 +12364,6 @@
"endpointVersion": 1,
"deviceIdentifier": 36
}
]
],
"log": []
}
4 changes: 2 additions & 2 deletions src/app/zap_cluster_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
'SWITCH_CLUSTER': ['switch-server'],
'TARGET_NAVIGATOR_CLUSTER': ['target-navigator-server'],
'TEMPERATURE_MEASUREMENT_CLUSTER': [],
'TEST_CLUSTER': ['test-cluster-server'],
'UNIT_TESTING_CLUSTER': ['test-cluster-server'],
'THERMOSTAT_CLUSTER': ['thermostat-server'],
'THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER': ['thermostat-user-interface-configuration-server'],
'THREAD_NETWORK_DIAGNOSTICS_CLUSTER': ['thread-network-diagnostics-server'],
Expand Down Expand Up @@ -164,7 +164,7 @@
'SWITCH_CLUSTER': [],
'TARGET_NAVIGATOR_CLUSTER': [],
'TEMPERATURE_MEASUREMENT_CLUSTER': [],
'TEST_CLUSTER': [],
'UNIT_TESTING_CLUSTER': [],
'THERMOSTAT_CLUSTER': ['thermostat-client'],
'THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER': [],
'THREAD_NETWORK_DIAGNOSTICS_CLUSTER': [],
Expand Down
Loading

0 comments on commit 1c49a56

Please sign in to comment.