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 db718fa commit 5231108
Show file tree
Hide file tree
Showing 61 changed files with 1,004 additions and 247 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2062,15 +2062,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
fabric_idx fabricIndex = 1;
OCTET_STRING rootPublicKey = 2;
INT16U vendorId = 3;
FABRIC_ID fabricId = 4;
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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
fabric_idx fabricIndex = 1;
OCTET_STRING rootPublicKey = 2;
INT16U vendorId = 3;
FABRIC_ID fabricId = 4;
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 = 1;
fabric_idx fabricIndex = 1;
OCTET_STRING rootPublicKey = 2;
INT16U vendorId = 3;
FABRIC_ID fabricId = 4;
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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

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

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

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) int8u commissionedFabrics = 3;
Expand Down
11 changes: 9 additions & 2 deletions examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ server cluster EthernetNetworkDiagnostics = 55 {

server cluster FixedLabel = 64 {
attribute(readonly) LabelStruct labelList[] = 0;
attribute(readonly) int16u clusterRevision = 65533;
attribute(readonly, reportable) int16u clusterRevision = 65533;
}

server cluster FlowMeasurement = 1028 {
Expand Down Expand Up @@ -1852,15 +1852,22 @@ server cluster OperationalCredentials = 62 {
kInvalidFabricIndex = 11;
}

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

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

attribute(readonly) NOCStruct NOCs[] = 0;
attribute(readonly, reportable) FabricDescriptor fabricsList[] = 1;
attribute(readonly, reportable) int8u supportedFabrics = 2;
attribute(readonly, reportable) 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 = 1;
OCTET_STRING noc = 2;
OCTET_STRING icac = 3;
}

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

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

0 comments on commit 5231108

Please sign in to comment.