Skip to content

Commit

Permalink
Run codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Jan 20, 2022
1 parent c4b81cc commit d1768b8
Show file tree
Hide file tree
Showing 61 changed files with 1,003 additions and 246 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2084,15 +2084,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
9 changes: 8 additions & 1 deletion examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -536,15 +536,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
9 changes: 8 additions & 1 deletion examples/door-lock-app/door-lock-common/door-lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -764,15 +764,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
9 changes: 8 additions & 1 deletion examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1021,15 +1021,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
9 changes: 8 additions & 1 deletion examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -460,15 +460,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ server cluster OperationalCredentials = 62 {
}

struct FabricDescriptor {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
OCTET_STRING rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,15 +372,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ server cluster OperationalCredentials = 62 {
}

struct FabricDescriptor {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
OCTET_STRING rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
Expand Down
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ server cluster OperationalCredentials = 62 {
}

struct FabricDescriptor {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
OCTET_STRING rootPublicKey = 1;
INT16U vendorId = 2;
FABRIC_ID fabricId = 3;
Expand Down
9 changes: 8 additions & 1 deletion examples/pump-app/pump-common/pump-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -511,15 +511,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,15 +531,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,15 +425,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
9 changes: 8 additions & 1 deletion examples/thermostat/thermostat-common/thermostat.matter
Original file line number Diff line number Diff line change
Expand Up @@ -684,15 +684,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
18 changes: 16 additions & 2 deletions examples/tv-app/tv-common/tv-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1330,15 +1330,22 @@ client cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down Expand Up @@ -1421,15 +1428,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1852,15 +1852,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
9 changes: 8 additions & 1 deletion examples/window-app/common/window-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -453,15 +453,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

readonly attribute NOCStruct NOCs[] = 0;
readonly attribute FabricDescriptor fabricsList[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
Expand Down
Loading

0 comments on commit d1768b8

Please sign in to comment.