Skip to content

Commit

Permalink
Run codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Feb 1, 2022
1 parent 73f6bcc commit 8a38a9e
Show file tree
Hide file tree
Showing 71 changed files with 3,261 additions and 4,249 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ server cluster FlowMeasurement = 1028 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -1346,12 +1346,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -1371,17 +1371,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
14 changes: 7 additions & 7 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ server cluster FixedLabel = 64 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -168,12 +168,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -193,17 +193,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
14 changes: 7 additions & 7 deletions examples/door-lock-app/door-lock-common/door-lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ server cluster FixedLabel = 64 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -707,12 +707,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -732,17 +732,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ server cluster FixedLabel = 64 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -458,12 +458,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -483,17 +483,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
14 changes: 7 additions & 7 deletions examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ server cluster FixedLabel = 64 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -424,12 +424,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -449,17 +449,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
14 changes: 7 additions & 7 deletions examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ server cluster FixedLabel = 64 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -168,12 +168,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -193,17 +193,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
14 changes: 7 additions & 7 deletions examples/log-source-app/log-source-common/log-source-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ server cluster DiagnosticLogs = 50 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -74,12 +74,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly global attribute int16u clusterRevision = 65533;

request struct ArmFailSafeRequest {
Expand All @@ -96,17 +96,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server cluster FixedLabel = 64 {
}

server cluster GeneralCommissioning = 48 {
enum GeneralCommissioningError : ENUM8 {
enum CommissioningError : ENUM8 {
kOk = 0;
kValueOutsideRange = 1;
kInvalidAuthentication = 2;
Expand All @@ -25,12 +25,12 @@ server cluster GeneralCommissioning = 48 {
kIndoorOutdoor = 2;
}

struct BasicCommissioningInfoType {
INT32U failSafeExpiryLengthMs = 0;
struct BasicCommissioningInfo {
INT16U failSafeExpiryLengthSeconds = 0;
}

attribute int64u breadcrumb = 0;
readonly attribute BasicCommissioningInfoType basicCommissioningInfoList[] = 1;
readonly attribute BasicCommissioningInfo basicCommissioningInfo = 1;
readonly attribute enum8 regulatoryConfig = 2;
readonly attribute enum8 locationCapability = 3;
readonly global attribute bitmap32 featureMap = 65532;
Expand All @@ -50,17 +50,17 @@ server cluster GeneralCommissioning = 48 {
}

response struct ArmFailSafeResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct CommissioningCompleteResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

response struct SetRegulatoryConfigResponse {
GeneralCommissioningError errorCode = 0;
CommissioningError errorCode = 0;
CHAR_STRING debugText = 1;
}

Expand Down
Loading

0 comments on commit 8a38a9e

Please sign in to comment.