Skip to content

Commit

Permalink
Disable faultinjection cluster in Darwin and Android API surface (#22289
Browse files Browse the repository at this point in the history
)

* Disable faultinjection cluster in Darwin and Android API surface.

* Run codegen
  • Loading branch information
yufengwangca authored and pull[bot] committed Aug 24, 2023
1 parent 31ba829 commit 1748412
Show file tree
Hide file tree
Showing 31 changed files with 4 additions and 2,552 deletions.
27 changes: 0 additions & 27 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -4387,32 +4387,6 @@ client cluster TestCluster = 4294048773 {
command TestEmitTestEventRequest(TestEmitTestEventRequestRequest): TestEmitTestEventResponse = 20;
}

client cluster FaultInjection = 4294048774 {
enum FaultType : ENUM8 {
kUnspecified = 0;
kSystemFault = 1;
kInetFault = 2;
kChipFault = 3;
kCertFault = 4;
}

readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct FailAtFaultRequest {
FaultType type = 0;
INT32U id = 1;
INT32U numCallsToSkip = 2;
INT32U numCallsToFail = 3;
BOOLEAN takeMutex = 4;
}

command access(invoke: manage) FailAtFault(FailAtFaultRequest): DefaultSuccess = 0;
}

endpoint 1 {
device type rootdevice = 22;
binding cluster Identify;
Expand Down Expand Up @@ -4480,7 +4454,6 @@ endpoint 1 {
binding cluster AccountLogin;
binding cluster ElectricalMeasurement;
binding cluster TestCluster;
binding cluster FaultInjection;
}


2 changes: 1 addition & 1 deletion src/controller/data_model/controller-clusters.zap
Original file line number Diff line number Diff line change
Expand Up @@ -19408,7 +19408,7 @@
"mfgCode": null,
"define": "FAULT_INJECTION_CLUSTER",
"side": "client",
"enabled": 1,
"enabled": 0,
"commands": [
{
"name": "FailAtFault",
Expand Down
112 changes: 0 additions & 112 deletions src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp

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

11 changes: 0 additions & 11 deletions src/controller/java/zap-generated/CHIPCallbackTypes.h

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

10 changes: 0 additions & 10 deletions src/controller/java/zap-generated/CHIPEventTLVValueDecoder.cpp

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

Loading

0 comments on commit 1748412

Please sign in to comment.