Skip to content

Commit

Permalink
Run Codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing committed Mar 15, 2022
1 parent cbfe9ea commit 4443dd6
Show file tree
Hide file tree
Showing 39 changed files with 748 additions and 747 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ server cluster AccessControl = 31 {
}

struct AccessControlEntry {
fabric_idx fabricIndex = 0;
Privilege privilege = 1;
AuthMode authMode = 2;
nullable INT64U subjects[] = 3;
nullable Target targets[] = 4;
fabric_idx fabricIndex = 254;
}

struct Target {
Expand All @@ -42,8 +42,8 @@ server cluster AccessControl = 31 {
}

struct ExtensionEntry {
fabric_idx fabricIndex = 0;
OCTET_STRING<254> data = 1;
fabric_idx fabricIndex = 254;
}

info event AccessControlEntryChanged = 0 {
Expand Down Expand Up @@ -230,11 +230,11 @@ server cluster BinaryInputBasic = 15 {

server cluster Binding = 30 {
struct TargetStruct {
FABRIC_IDX fabricIndex = 0;
optional NODE_ID node = 1;
optional GROUP_ID group = 2;
optional ENDPOINT_NO endpoint = 3;
optional CLUSTER_ID cluster = 4;
FABRIC_IDX fabricIndex = 254;
}

attribute TargetStruct binding[] = 0;
Expand Down Expand Up @@ -1462,16 +1462,16 @@ server cluster GroupKeyManagement = 63 {
}

struct GroupKeyMapStruct {
fabric_idx fabricIndex = 0;
group_id groupId = 1;
INT16U groupKeySetID = 2;
fabric_idx fabricIndex = 254;
}

struct GroupInfoMapStruct {
fabric_idx fabricIndex = 0;
group_id groupId = 1;
endpoint_no endpoints[] = 2;
optional CHAR_STRING<16> groupName = 3;
fabric_idx fabricIndex = 254;
}

struct GroupKeySetStruct {
Expand Down Expand Up @@ -2312,18 +2312,18 @@ server cluster OperationalCredentials = 62 {
}

struct NOCStruct {
fabric_idx fabricIndex = 0;
OCTET_STRING noc = 1;
nullable OCTET_STRING icac = 2;
fabric_idx fabricIndex = 254;
}

struct FabricDescriptor {
fabric_idx fabricIndex = 0;
OCTET_STRING<65> rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
NODE_ID nodeId = 4;
CHAR_STRING<32> label = 5;
fabric_idx fabricIndex = 254;
}

readonly attribute NOCStruct NOCs[] = 0;
Expand Down
12 changes: 6 additions & 6 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ client cluster AccessControl = 31 {
}

struct AccessControlEntry {
fabric_idx fabricIndex = 0;
Privilege privilege = 1;
AuthMode authMode = 2;
nullable INT64U subjects[] = 3;
nullable Target targets[] = 4;
fabric_idx fabricIndex = 254;
}

struct Target {
Expand All @@ -42,8 +42,8 @@ client cluster AccessControl = 31 {
}

struct ExtensionEntry {
fabric_idx fabricIndex = 0;
OCTET_STRING<254> data = 1;
fabric_idx fabricIndex = 254;
}

info event AccessControlEntryChanged = 0 {
Expand Down Expand Up @@ -90,11 +90,11 @@ server cluster AccessControl = 31 {
}

struct AccessControlEntry {
fabric_idx fabricIndex = 0;
Privilege privilege = 1;
AuthMode authMode = 2;
nullable INT64U subjects[] = 3;
nullable Target targets[] = 4;
fabric_idx fabricIndex = 254;
}

struct Target {
Expand All @@ -104,8 +104,8 @@ server cluster AccessControl = 31 {
}

struct ExtensionEntry {
fabric_idx fabricIndex = 0;
OCTET_STRING<254> data = 1;
fabric_idx fabricIndex = 254;
}

info event AccessControlEntryChanged = 0 {
Expand Down Expand Up @@ -692,18 +692,18 @@ server cluster OperationalCredentials = 62 {
}

struct NOCStruct {
fabric_idx fabricIndex = 0;
OCTET_STRING noc = 1;
nullable OCTET_STRING icac = 2;
fabric_idx fabricIndex = 254;
}

struct FabricDescriptor {
fabric_idx fabricIndex = 0;
OCTET_STRING<65> rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
NODE_ID nodeId = 4;
CHAR_STRING<32> label = 5;
fabric_idx fabricIndex = 254;
}

readonly attribute NOCStruct NOCs[] = 0;
Expand Down
8 changes: 4 additions & 4 deletions examples/door-lock-app/door-lock-common/door-lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ server cluster AccessControl = 31 {
}

struct AccessControlEntry {
fabric_idx fabricIndex = 0;
Privilege privilege = 1;
AuthMode authMode = 2;
nullable INT64U subjects[] = 3;
nullable Target targets[] = 4;
fabric_idx fabricIndex = 254;
}

struct Target {
Expand All @@ -42,8 +42,8 @@ server cluster AccessControl = 31 {
}

struct ExtensionEntry {
fabric_idx fabricIndex = 0;
OCTET_STRING<254> data = 1;
fabric_idx fabricIndex = 254;
}

info event AccessControlEntryChanged = 0 {
Expand Down Expand Up @@ -1051,18 +1051,18 @@ server cluster OperationalCredentials = 62 {
}

struct NOCStruct {
fabric_idx fabricIndex = 0;
OCTET_STRING noc = 1;
nullable OCTET_STRING icac = 2;
fabric_idx fabricIndex = 254;
}

struct FabricDescriptor {
fabric_idx fabricIndex = 0;
OCTET_STRING<65> rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
NODE_ID nodeId = 4;
CHAR_STRING<32> label = 5;
fabric_idx fabricIndex = 254;
}

readonly attribute NOCStruct NOCs[] = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ server cluster AccessControl = 31 {
}

struct AccessControlEntry {
fabric_idx fabricIndex = 0;
Privilege privilege = 1;
AuthMode authMode = 2;
nullable INT64U subjects[] = 3;
nullable Target targets[] = 4;
fabric_idx fabricIndex = 254;
}

struct Target {
Expand All @@ -42,8 +42,8 @@ server cluster AccessControl = 31 {
}

struct ExtensionEntry {
fabric_idx fabricIndex = 0;
OCTET_STRING<254> data = 1;
fabric_idx fabricIndex = 254;
}

info event AccessControlEntryChanged = 0 {
Expand Down Expand Up @@ -142,11 +142,11 @@ server cluster Basic = 40 {

server cluster Binding = 30 {
struct TargetStruct {
FABRIC_IDX fabricIndex = 0;
optional NODE_ID node = 1;
optional GROUP_ID group = 2;
optional ENDPOINT_NO endpoint = 3;
optional CLUSTER_ID cluster = 4;
FABRIC_IDX fabricIndex = 254;
}

attribute TargetStruct binding[] = 0;
Expand Down Expand Up @@ -615,16 +615,16 @@ server cluster GroupKeyManagement = 63 {
}

struct GroupKeyMapStruct {
fabric_idx fabricIndex = 0;
group_id groupId = 1;
INT16U groupKeySetID = 2;
fabric_idx fabricIndex = 254;
}

struct GroupInfoMapStruct {
fabric_idx fabricIndex = 0;
group_id groupId = 1;
endpoint_no endpoints[] = 2;
optional CHAR_STRING<16> groupName = 3;
fabric_idx fabricIndex = 254;
}

struct GroupKeySetStruct {
Expand Down Expand Up @@ -1121,18 +1121,18 @@ server cluster OperationalCredentials = 62 {
}

struct NOCStruct {
fabric_idx fabricIndex = 0;
OCTET_STRING noc = 1;
nullable OCTET_STRING icac = 2;
fabric_idx fabricIndex = 254;
}

struct FabricDescriptor {
fabric_idx fabricIndex = 0;
OCTET_STRING<65> rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
NODE_ID nodeId = 4;
CHAR_STRING<32> label = 5;
fabric_idx fabricIndex = 254;
}

readonly attribute NOCStruct NOCs[] = 0;
Expand Down
12 changes: 6 additions & 6 deletions examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ server cluster AccessControl = 31 {
}

struct AccessControlEntry {
fabric_idx fabricIndex = 0;
Privilege privilege = 1;
AuthMode authMode = 2;
nullable INT64U subjects[] = 3;
nullable Target targets[] = 4;
fabric_idx fabricIndex = 254;
}

struct Target {
Expand All @@ -42,8 +42,8 @@ server cluster AccessControl = 31 {
}

struct ExtensionEntry {
fabric_idx fabricIndex = 0;
OCTET_STRING<254> data = 1;
fabric_idx fabricIndex = 254;
}

info event AccessControlEntryChanged = 0 {
Expand Down Expand Up @@ -628,16 +628,16 @@ server cluster GroupKeyManagement = 63 {
}

struct GroupKeyMapStruct {
fabric_idx fabricIndex = 0;
group_id groupId = 1;
INT16U groupKeySetID = 2;
fabric_idx fabricIndex = 254;
}

struct GroupInfoMapStruct {
fabric_idx fabricIndex = 0;
group_id groupId = 1;
endpoint_no endpoints[] = 2;
optional CHAR_STRING<16> groupName = 3;
fabric_idx fabricIndex = 254;
}

struct GroupKeySetStruct {
Expand Down Expand Up @@ -1212,18 +1212,18 @@ server cluster OperationalCredentials = 62 {
}

struct NOCStruct {
fabric_idx fabricIndex = 0;
OCTET_STRING noc = 1;
nullable OCTET_STRING icac = 2;
fabric_idx fabricIndex = 254;
}

struct FabricDescriptor {
fabric_idx fabricIndex = 0;
OCTET_STRING<65> rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
NODE_ID nodeId = 4;
CHAR_STRING<32> label = 5;
fabric_idx fabricIndex = 254;
}

readonly attribute NOCStruct NOCs[] = 0;
Expand Down
8 changes: 4 additions & 4 deletions examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ server cluster AccessControl = 31 {
}

struct AccessControlEntry {
fabric_idx fabricIndex = 0;
Privilege privilege = 1;
AuthMode authMode = 2;
nullable INT64U subjects[] = 3;
nullable Target targets[] = 4;
fabric_idx fabricIndex = 254;
}

struct Target {
Expand All @@ -42,8 +42,8 @@ server cluster AccessControl = 31 {
}

struct ExtensionEntry {
fabric_idx fabricIndex = 0;
OCTET_STRING<254> data = 1;
fabric_idx fabricIndex = 254;
}

info event AccessControlEntryChanged = 0 {
Expand Down Expand Up @@ -684,18 +684,18 @@ server cluster OperationalCredentials = 62 {
}

struct NOCStruct {
fabric_idx fabricIndex = 0;
OCTET_STRING noc = 1;
nullable OCTET_STRING icac = 2;
fabric_idx fabricIndex = 254;
}

struct FabricDescriptor {
fabric_idx fabricIndex = 0;
OCTET_STRING<65> rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
NODE_ID nodeId = 4;
CHAR_STRING<32> label = 5;
fabric_idx fabricIndex = 254;
}

readonly attribute NOCStruct NOCs[] = 0;
Expand Down
Loading

0 comments on commit 4443dd6

Please sign in to comment.