Skip to content

Commit

Permalink
Update ZAP metadata in ZCL files.
Browse files Browse the repository at this point in the history
With matter nearing release, the category of the ZCL data needs
to be differentiated, so zigbee pro stacks use "zigbee" category
and Matter stack uses "matter" category.

None of this affects generation, but it affects the user flow in
the UI, where user might be upgrading old Matter or old ZigbeePro
file, and this meta info helps determine which metafiles are
the ones that should be used for the upgrades.

It's important that this change makes it into the Matter SDK before
it becomes any kind of GA release to the customers, otherwise
when zap is upgrading from one to another version of Matter, it
will have to do guessing or ask the user for what to do.
  • Loading branch information
tecimovic committed Jul 15, 2022
1 parent 57cb679 commit e7e6bdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/zap-templates/zcl/zcl-with-test-extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"version": "ZCL Test Data",
"description": "Matter SDK ZCL data with some extensions",
"category": "matter",
"version": 1,
"xmlRoot": [
".",
"./data-model/chip/",
Expand Down
4 changes: 3 additions & 1 deletion src/app/zap-templates/zcl/zcl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"version": "ZCL Test Data",
"description": "Matter SDK ZCL data",
"category": "matter",
"version": 1,
"xmlRoot": [".", "./data-model/chip/", "./data-model/silabs/"],
"_comment": "Ensure access-control-definitions.xml is first in xmlFile array",
"xmlFile": [
Expand Down

0 comments on commit e7e6bdc

Please sign in to comment.