Skip to content

Commit

Permalink
Descriptor Cluster Adding TagList attribute (#27905)
Browse files Browse the repository at this point in the history
* Updating to add attribute for TagList on descriptor cluster

* Fixing XML with SemanticTagStruct type and regen

* Update src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* Reverting odd change in settings.json

* Updating to NamespaceID instead of namespace

* Updating to add attribute for TagList on descriptor cluster

* Fixing XML with SemanticTagStruct type and regen

* Update src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* Reverting odd change in settings.json

* Updating to NamespaceID instead of namespace

* Updating namespace with. regen

* Regen after rebase from Master

* Updates from regen

* Updating regen

* Update src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml

Co-authored-by: Cliff Chung <116232729+cliffamzn@users.noreply.github.com>

* Regen after new merge

---------

Co-authored-by: abeck-riis <98488327+abeck-riis@users.noreply.github.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Justin Wood <woody@apple.com>
Co-authored-by: Cliff Chung <116232729+cliffamzn@users.noreply.github.com>
  • Loading branch information
5 people committed Jul 21, 2023
1 parent 14930ea commit a1c1126
Show file tree
Hide file tree
Showing 85 changed files with 1,282 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_pump_a811bb33a0.matter
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
7 changes: 7 additions & 0 deletions examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,13 @@ server cluster Descriptor = 29 {
int16u revision = 1;
}

struct SemanticTagStruct {
nullable vendor_id mfgCode = 0;
enum8 namespaceID = 1;
enum8 tag = 2;
optional nullable char_string label = 3;
}

readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
readonly attribute CLUSTER_ID serverList[] = 1;
readonly attribute CLUSTER_ID clientList[] = 2;
Expand Down

0 comments on commit a1c1126

Please sign in to comment.