Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable faultinjection cluster in Darwin and Android API surface #22289

Merged
merged 2 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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