Skip to content

Commit

Permalink
Run codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Jan 18, 2022
1 parent cc5d468 commit f52b93a
Show file tree
Hide file tree
Showing 8 changed files with 676 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ server cluster AccessControl = 31 {
kGroup = 3;
}

enum ChangeTypeEnum : ENUM8 {
kChanged = 0;
kAdded = 1;
kRemoved = 2;
}

enum Privilege : ENUM8 {
kView = 1;
kProxyView = 2;
Expand Down Expand Up @@ -40,6 +46,22 @@ server cluster AccessControl = 31 {
OCTET_STRING data = 1;
}

info event AccessControlEntryChanged = 0 {
fabric_idx adminFabricIndex = 0;
node_id adminNodeID = 1;
INT16U adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
AccessControlEntry latestValue = 4;
}

info event AccessControlExtensionChanged = 1 {
fabric_idx adminFabricIndex = 0;
node_id adminNodeID = 1;
INT16U adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
ExtensionEntry latestValue = 4;
}

attribute(writable) AccessControlEntry acl[] = 0;
attribute(writable) ExtensionEntry extension[] = 1;
attribute(readonly) int16u clusterRevision = 65533;
Expand Down
22 changes: 22 additions & 0 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ client cluster AccessControl = 31 {
kGroup = 3;
}

enum ChangeTypeEnum : ENUM8 {
kChanged = 0;
kAdded = 1;
kRemoved = 2;
}

enum Privilege : ENUM8 {
kView = 1;
kProxyView = 2;
Expand Down Expand Up @@ -40,6 +46,22 @@ client cluster AccessControl = 31 {
OCTET_STRING data = 1;
}

info event AccessControlEntryChanged = 0 {
fabric_idx adminFabricIndex = 0;
node_id adminNodeID = 1;
INT16U adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
AccessControlEntry latestValue = 4;
}

info event AccessControlExtensionChanged = 1 {
fabric_idx adminFabricIndex = 0;
node_id adminNodeID = 1;
INT16U adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
ExtensionEntry latestValue = 4;
}

attribute(writable) AccessControlEntry acl[] = 0;
attribute(writable) ExtensionEntry extension[] = 1;
attribute(readonly) attrib_id attributeList[] = 65531;
Expand Down
60 changes: 60 additions & 0 deletions src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

100 changes: 100 additions & 0 deletions zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f52b93a

Please sign in to comment.