diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
index 142425b99b6b43..9dd83af84912ac 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
@@ -2690,7 +2690,6 @@ server cluster RvcRunMode = 84 {
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
- attribute nullable int8u startUpMode = 2;
attribute nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -2740,7 +2739,6 @@ server cluster RvcCleanMode = 85 {
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
- attribute nullable int8u startUpMode = 2;
attribute nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -5925,7 +5923,6 @@ endpoint 1 {
server cluster RvcRunMode {
callback attribute supportedModes;
callback attribute currentMode;
- callback attribute startUpMode;
callback attribute onMode;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
@@ -5940,7 +5937,6 @@ endpoint 1 {
server cluster RvcCleanMode {
callback attribute supportedModes;
callback attribute currentMode;
- callback attribute startUpMode;
callback attribute onMode;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
index 456990f676e851..34ca8f7ab481f2 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
@@ -17,6 +17,12 @@
}
],
"package": [
+ {
+ "pathRelativity": "relativeToZap",
+ "path": "../../../src/app/zap-templates/app-templates.json",
+ "type": "gen-templates-json",
+ "version": "chip-v1"
+ },
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl-with-test-extensions.json",
@@ -24,12 +30,6 @@
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data with some extensions"
- },
- {
- "pathRelativity": "relativeToZap",
- "path": "../../../src/app/zap-templates/app-templates.json",
- "type": "gen-templates-json",
- "version": "chip-v1"
}
],
"endpointTypes": [
@@ -9426,22 +9426,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "StartUpMode",
- "code": 2,
- "mfgCode": null,
- "side": "server",
- "type": "int8u",
- "included": 1,
- "storageOption": "External",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "",
- "reportable": 1,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "OnMode",
"code": 3,
@@ -9598,22 +9582,6 @@
"maxInterval": 65534,
"reportableChange": 0
},
- {
- "name": "StartUpMode",
- "code": 2,
- "mfgCode": null,
- "side": "server",
- "type": "int8u",
- "included": 1,
- "storageOption": "External",
- "singleton": 0,
- "bounded": 0,
- "defaultValue": "",
- "reportable": 1,
- "minInterval": 1,
- "maxInterval": 65534,
- "reportableChange": 0
- },
{
"name": "OnMode",
"code": 3,
@@ -21789,5 +21757,6 @@
"endpointId": 65534,
"networkId": 0
}
- ]
+ ],
+ "log": []
}
\ No newline at end of file
diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values
index 0cc6c167c3cdb6..a4dcce73f08600 100644
--- a/src/app/tests/suites/certification/ci-pics-values
+++ b/src/app/tests/suites/certification/ci-pics-values
@@ -2378,7 +2378,7 @@ RVCCLEANM.S=1
#Server
RVCCLEANM.S.A0000=1
RVCCLEANM.S.A0001=1
-RVCCLEANM.S.A0002=1
+RVCCLEANM.S.A0002=0
RVCCLEANM.S.A0003=1
#Feature
@@ -2451,7 +2451,7 @@ RVCRUNM.S.F00=1
#Server
RVCRUNM.S.A0000=1
RVCRUNM.S.A0001=1
-RVCRUNM.S.A0002=1
+RVCRUNM.S.A0002=0
RVCRUNM.S.A0003=1
#Commands
@@ -2622,7 +2622,7 @@ RVCRUNM.S=1
RVCRUNM.S.F00=1
RVCRUNM.S.A0000=1
RVCRUNM.S.A0001=1
-RVCRUNM.S.A0002=1
+RVCRUNM.S.A0002=0
RVCRUNM.S.A0003=1
RVCRUNM.S.C00.Rsp=1
RVCRUNM.S.C01.Tx=1
diff --git a/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml
index 029de40ac06947..32ebf79c7e0d31 100644
--- a/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml
@@ -40,7 +40,6 @@ limitations under the License.
SupportedModes
CurrentMode
- StartUpMode
OnMode
diff --git a/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml
index f663dce39ec4a7..c177155c2f9ec3 100644
--- a/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml
@@ -46,7 +46,6 @@ limitations under the License.
SupportedModes
CurrentMode
- StartUpMode
OnMode
diff --git a/src/app/zap-templates/zcl/zcl-with-test-extensions.json b/src/app/zap-templates/zcl/zcl-with-test-extensions.json
index cd8fd149ccf153..d5e8f55dfdf964 100644
--- a/src/app/zap-templates/zcl/zcl-with-test-extensions.json
+++ b/src/app/zap-templates/zcl/zcl-with-test-extensions.json
@@ -340,14 +340,12 @@
"RVC Clean Mode": [
"SupportedModes",
"CurrentMode",
- "StartUpMode",
"OnMode",
"FeatureMap"
],
"RVC Run Mode": [
"SupportedModes",
"CurrentMode",
- "StartUpMode",
"OnMode",
"FeatureMap"
],
diff --git a/src/app/zap-templates/zcl/zcl.json b/src/app/zap-templates/zcl/zcl.json
index 4044c1d1a78bf1..77462935f97592 100644
--- a/src/app/zap-templates/zcl/zcl.json
+++ b/src/app/zap-templates/zcl/zcl.json
@@ -338,14 +338,12 @@
"RVC Clean Mode": [
"SupportedModes",
"CurrentMode",
- "StartUpMode",
"OnMode",
"FeatureMap"
],
"RVC Run Mode": [
"SupportedModes",
"CurrentMode",
- "StartUpMode",
"OnMode",
"FeatureMap"
],
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index 9091ce552ad854..89233449804703 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -2961,7 +2961,6 @@ client cluster RvcRunMode = 84 {
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
- attribute optional nullable int8u startUpMode = 2;
attribute optional nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -3013,7 +3012,6 @@ client cluster RvcCleanMode = 85 {
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
- attribute optional nullable int8u startUpMode = 2;
attribute optional nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java b/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java
index 86b5c52fd611fe..e79b8954570243 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java
@@ -12004,12 +12004,6 @@ public interface SupportedModesAttributeCallback {
default void onSubscriptionEstablished(long subscriptionId) {}
}
- public interface StartUpModeAttributeCallback {
- void onSuccess(@Nullable Integer value);
- void onError(Exception ex);
- default void onSubscriptionEstablished(long subscriptionId) {}
- }
-
public interface OnModeAttributeCallback {
void onSuccess(@Nullable Integer value);
void onError(Exception ex);
@@ -12060,24 +12054,6 @@ public void subscribeCurrentModeAttribute(
subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readStartUpModeAttribute(
- StartUpModeAttributeCallback callback) {
- readStartUpModeAttribute(chipClusterPtr, callback);
- }
-
- public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) {
- writeStartUpModeAttribute(chipClusterPtr, callback, value, null);
- }
-
- public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
- writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
- }
-
- public void subscribeStartUpModeAttribute(
- StartUpModeAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
- }
-
public void readOnModeAttribute(
OnModeAttributeCallback callback) {
readOnModeAttribute(chipClusterPtr, callback);
@@ -12164,12 +12140,6 @@ public void subscribeClusterRevisionAttribute(
private native void subscribeCurrentModeAttribute(long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
- private native void readStartUpModeAttribute(long chipClusterPtr, StartUpModeAttributeCallback callback);
-
- private native void writeStartUpModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeStartUpModeAttribute(long chipClusterPtr, StartUpModeAttributeCallback callback, int minInterval, int maxInterval);
-
private native void readOnModeAttribute(long chipClusterPtr, OnModeAttributeCallback callback);
private native void writeOnModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
@@ -12232,12 +12202,6 @@ public interface SupportedModesAttributeCallback {
default void onSubscriptionEstablished(long subscriptionId) {}
}
- public interface StartUpModeAttributeCallback {
- void onSuccess(@Nullable Integer value);
- void onError(Exception ex);
- default void onSubscriptionEstablished(long subscriptionId) {}
- }
-
public interface OnModeAttributeCallback {
void onSuccess(@Nullable Integer value);
void onError(Exception ex);
@@ -12288,24 +12252,6 @@ public void subscribeCurrentModeAttribute(
subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readStartUpModeAttribute(
- StartUpModeAttributeCallback callback) {
- readStartUpModeAttribute(chipClusterPtr, callback);
- }
-
- public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) {
- writeStartUpModeAttribute(chipClusterPtr, callback, value, null);
- }
-
- public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
- writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
- }
-
- public void subscribeStartUpModeAttribute(
- StartUpModeAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
- }
-
public void readOnModeAttribute(
OnModeAttributeCallback callback) {
readOnModeAttribute(chipClusterPtr, callback);
@@ -12392,12 +12338,6 @@ public void subscribeClusterRevisionAttribute(
private native void subscribeCurrentModeAttribute(long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
- private native void readStartUpModeAttribute(long chipClusterPtr, StartUpModeAttributeCallback callback);
-
- private native void writeStartUpModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeStartUpModeAttribute(long chipClusterPtr, StartUpModeAttributeCallback callback, int minInterval, int maxInterval);
-
private native void readOnModeAttribute(long chipClusterPtr, OnModeAttributeCallback callback);
private native void writeOnModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java
index 724c075323b990..c5d09f3834e59b 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java
@@ -6579,7 +6579,6 @@ public long getID() {
public enum Attribute {
SupportedModes(0L),
CurrentMode(1L),
- StartUpMode(2L),
OnMode(3L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
@@ -6701,7 +6700,6 @@ public long getID() {
public enum Attribute {
SupportedModes(0L),
CurrentMode(1L),
- StartUpMode(2L),
OnMode(3L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java
index 4ec2ba92ed5afa..a051e4d5b071b8 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java
@@ -7255,27 +7255,6 @@ public void onError(Exception ex) {
}
}
- public static class DelegatedRvcRunModeClusterStartUpModeAttributeCallback implements ChipClusters.RvcRunModeCluster.StartUpModeAttributeCallback, DelegatedClusterCallback {
- private ClusterCommandCallback callback;
- @Override
- public void setCallbackDelegate(ClusterCommandCallback callback) {
- this.callback = callback;
- }
-
- @Override
- public void onSuccess(@Nullable Integer value) {
- Map responseValues = new LinkedHashMap<>();
- CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer");
- responseValues.put(commandResponseInfo, value);
- callback.onSuccess(responseValues);
- }
-
- @Override
- public void onError(Exception ex) {
- callback.onFailure(ex);
- }
- }
-
public static class DelegatedRvcRunModeClusterOnModeAttributeCallback implements ChipClusters.RvcRunModeCluster.OnModeAttributeCallback, DelegatedClusterCallback {
private ClusterCommandCallback callback;
@Override
@@ -7426,27 +7405,6 @@ public void onError(Exception ex) {
}
}
- public static class DelegatedRvcCleanModeClusterStartUpModeAttributeCallback implements ChipClusters.RvcCleanModeCluster.StartUpModeAttributeCallback, DelegatedClusterCallback {
- private ClusterCommandCallback callback;
- @Override
- public void setCallbackDelegate(ClusterCommandCallback callback) {
- this.callback = callback;
- }
-
- @Override
- public void onSuccess(@Nullable Integer value) {
- Map responseValues = new LinkedHashMap<>();
- CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Integer");
- responseValues.put(commandResponseInfo, value);
- callback.onSuccess(responseValues);
- }
-
- @Override
- public void onError(Exception ex) {
- callback.onFailure(ex);
- }
- }
-
public static class DelegatedRvcCleanModeClusterOnModeAttributeCallback implements ChipClusters.RvcCleanModeCluster.OnModeAttributeCallback, DelegatedClusterCallback {
private ClusterCommandCallback callback;
@Override
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java
index 55ec3f254fec00..8cd4db031a7831 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java
@@ -6487,17 +6487,6 @@ private static Map readRvcRunModeInteractionInfo() {
readRvcRunModeCurrentModeCommandParams
);
result.put("readCurrentModeAttribute", readRvcRunModeCurrentModeAttributeInteractionInfo);
- Map readRvcRunModeStartUpModeCommandParams = new LinkedHashMap();
- InteractionInfo readRvcRunModeStartUpModeAttributeInteractionInfo = new InteractionInfo(
- (cluster, callback, commandArguments) -> {
- ((ChipClusters.RvcRunModeCluster) cluster).readStartUpModeAttribute(
- (ChipClusters.RvcRunModeCluster.StartUpModeAttributeCallback) callback
- );
- },
- () -> new ClusterInfoMapping.DelegatedRvcRunModeClusterStartUpModeAttributeCallback(),
- readRvcRunModeStartUpModeCommandParams
- );
- result.put("readStartUpModeAttribute", readRvcRunModeStartUpModeAttributeInteractionInfo);
Map readRvcRunModeOnModeCommandParams = new LinkedHashMap();
InteractionInfo readRvcRunModeOnModeAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
@@ -6601,17 +6590,6 @@ private static Map readRvcCleanModeInteractionInfo() {
readRvcCleanModeCurrentModeCommandParams
);
result.put("readCurrentModeAttribute", readRvcCleanModeCurrentModeAttributeInteractionInfo);
- Map readRvcCleanModeStartUpModeCommandParams = new LinkedHashMap();
- InteractionInfo readRvcCleanModeStartUpModeAttributeInteractionInfo = new InteractionInfo(
- (cluster, callback, commandArguments) -> {
- ((ChipClusters.RvcCleanModeCluster) cluster).readStartUpModeAttribute(
- (ChipClusters.RvcCleanModeCluster.StartUpModeAttributeCallback) callback
- );
- },
- () -> new ClusterInfoMapping.DelegatedRvcCleanModeClusterStartUpModeAttributeCallback(),
- readRvcCleanModeStartUpModeCommandParams
- );
- result.put("readStartUpModeAttribute", readRvcCleanModeStartUpModeAttributeInteractionInfo);
Map readRvcCleanModeOnModeCommandParams = new LinkedHashMap();
InteractionInfo readRvcCleanModeOnModeAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java
index 5df865adc76614..eaf536bf0f76cd 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java
@@ -909,28 +909,6 @@ public Map> getWriteAttributeMap() {
writeLaundryWasherControlsInteractionInfo.put("writeNumberOfRinsesAttribute", writeLaundryWasherControlsNumberOfRinsesAttributeInteractionInfo);
writeAttributeMap.put("laundryWasherControls", writeLaundryWasherControlsInteractionInfo);
Map writeRvcRunModeInteractionInfo = new LinkedHashMap<>();
- Map writeRvcRunModeStartUpModeCommandParams = new LinkedHashMap();
- CommandParameterInfo rvcRunModestartUpModeCommandParameterInfo =
- new CommandParameterInfo(
- "value",
- Integer.class,
- Integer.class
- );
- writeRvcRunModeStartUpModeCommandParams.put(
- "value",
- rvcRunModestartUpModeCommandParameterInfo
- );
- InteractionInfo writeRvcRunModeStartUpModeAttributeInteractionInfo = new InteractionInfo(
- (cluster, callback, commandArguments) -> {
- ((ChipClusters.RvcRunModeCluster) cluster).writeStartUpModeAttribute(
- (DefaultClusterCallback) callback,
- (Integer) commandArguments.get("value")
- );
- },
- () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(),
- writeRvcRunModeStartUpModeCommandParams
- );
- writeRvcRunModeInteractionInfo.put("writeStartUpModeAttribute", writeRvcRunModeStartUpModeAttributeInteractionInfo);
Map writeRvcRunModeOnModeCommandParams = new LinkedHashMap();
CommandParameterInfo rvcRunModeonModeCommandParameterInfo =
new CommandParameterInfo(
@@ -955,28 +933,6 @@ public Map> getWriteAttributeMap() {
writeRvcRunModeInteractionInfo.put("writeOnModeAttribute", writeRvcRunModeOnModeAttributeInteractionInfo);
writeAttributeMap.put("rvcRunMode", writeRvcRunModeInteractionInfo);
Map writeRvcCleanModeInteractionInfo = new LinkedHashMap<>();
- Map writeRvcCleanModeStartUpModeCommandParams = new LinkedHashMap();
- CommandParameterInfo rvcCleanModestartUpModeCommandParameterInfo =
- new CommandParameterInfo(
- "value",
- Integer.class,
- Integer.class
- );
- writeRvcCleanModeStartUpModeCommandParams.put(
- "value",
- rvcCleanModestartUpModeCommandParameterInfo
- );
- InteractionInfo writeRvcCleanModeStartUpModeAttributeInteractionInfo = new InteractionInfo(
- (cluster, callback, commandArguments) -> {
- ((ChipClusters.RvcCleanModeCluster) cluster).writeStartUpModeAttribute(
- (DefaultClusterCallback) callback,
- (Integer) commandArguments.get("value")
- );
- },
- () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(),
- writeRvcCleanModeStartUpModeCommandParams
- );
- writeRvcCleanModeInteractionInfo.put("writeStartUpModeAttribute", writeRvcCleanModeStartUpModeAttributeInteractionInfo);
Map writeRvcCleanModeOnModeCommandParams = new LinkedHashMap();
CommandParameterInfo rvcCleanModeonModeCommandParameterInfo =
new CommandParameterInfo(
diff --git a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
index 136431d755c222..5e2b611d121792 100644
--- a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
+++ b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
@@ -13936,29 +13936,6 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR
value);
return value;
}
- case Attributes::StartUpMode::Id: {
- using TypeInfo = Attributes::StartUpMode::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = app::DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR)
- {
- return nullptr;
- }
- jobject value;
- if (cppValue.IsNull())
- {
- value = nullptr;
- }
- else
- {
- std::string valueClassName = "java/lang/Integer";
- std::string valueCtorSignature = "(I)V";
- jint jnivalue = static_cast(cppValue.Value());
- chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(),
- jnivalue, value);
- }
- return value;
- }
case Attributes::OnMode::Id: {
using TypeInfo = Attributes::OnMode::TypeInfo;
TypeInfo::DecodableType cppValue;
@@ -14241,29 +14218,6 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR
value);
return value;
}
- case Attributes::StartUpMode::Id: {
- using TypeInfo = Attributes::StartUpMode::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = app::DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR)
- {
- return nullptr;
- }
- jobject value;
- if (cppValue.IsNull())
- {
- value = nullptr;
- }
- else
- {
- std::string valueClassName = "java/lang/Integer";
- std::string valueCtorSignature = "(I)V";
- jint jnivalue = static_cast(cppValue.Value());
- chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(),
- jnivalue, value);
- }
- return value;
- }
case Attributes::OnMode::Id: {
using TypeInfo = Attributes::OnMode::TypeInfo;
TypeInfo::DecodableType cppValue;
diff --git a/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp b/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp
index 0dbbe20286896c..00009ac07695a1 100644
--- a/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp
+++ b/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp
@@ -2696,66 +2696,6 @@ JNI_METHOD(void, LaundryWasherControlsCluster, writeNumberOfRinsesAttribute)
onFailure.release();
}
-JNI_METHOD(void, RvcRunModeCluster, writeStartUpModeAttribute)
-(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs)
-{
- chip::DeviceLayer::StackLock lock;
- ListFreer listFreer;
- using TypeInfo = chip::app::Clusters::RvcRunMode::Attributes::StartUpMode::TypeInfo;
- TypeInfo::Type cppValue;
-
- std::vector> cleanupByteArrays;
- std::vector> cleanupStrings;
-
- if (value == nullptr)
- {
- cppValue.SetNull();
- }
- else
- {
- auto & nonNullValue_0 = cppValue.SetNonNull();
- nonNullValue_0 = static_cast>(
- chip::JniReferences::GetInstance().IntegerToPrimitive(value));
- }
-
- std::unique_ptr onSuccess(
- Platform::New(callback), Platform::Delete);
- VerifyOrReturn(onSuccess.get() != nullptr,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
- env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY));
-
- std::unique_ptr onFailure(
- Platform::New(callback), Platform::Delete);
- VerifyOrReturn(onFailure.get() != nullptr,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
- env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY));
-
- CHIP_ERROR err = CHIP_NO_ERROR;
- RvcRunModeCluster * cppCluster = reinterpret_cast(clusterPtr);
- VerifyOrReturn(cppCluster != nullptr,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
- env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE));
-
- auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
- auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
-
- if (timedWriteTimeoutMs == nullptr)
- {
- err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs));
- }
- VerifyOrReturn(
- err == CHIP_NO_ERROR,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err));
-
- onSuccess.release();
- onFailure.release();
-}
-
JNI_METHOD(void, RvcRunModeCluster, writeOnModeAttribute)
(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs)
{
@@ -2816,66 +2756,6 @@ JNI_METHOD(void, RvcRunModeCluster, writeOnModeAttribute)
onFailure.release();
}
-JNI_METHOD(void, RvcCleanModeCluster, writeStartUpModeAttribute)
-(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs)
-{
- chip::DeviceLayer::StackLock lock;
- ListFreer listFreer;
- using TypeInfo = chip::app::Clusters::RvcCleanMode::Attributes::StartUpMode::TypeInfo;
- TypeInfo::Type cppValue;
-
- std::vector> cleanupByteArrays;
- std::vector> cleanupStrings;
-
- if (value == nullptr)
- {
- cppValue.SetNull();
- }
- else
- {
- auto & nonNullValue_0 = cppValue.SetNonNull();
- nonNullValue_0 = static_cast>(
- chip::JniReferences::GetInstance().IntegerToPrimitive(value));
- }
-
- std::unique_ptr onSuccess(
- Platform::New(callback), Platform::Delete);
- VerifyOrReturn(onSuccess.get() != nullptr,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
- env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY));
-
- std::unique_ptr onFailure(
- Platform::New(callback), Platform::Delete);
- VerifyOrReturn(onFailure.get() != nullptr,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
- env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY));
-
- CHIP_ERROR err = CHIP_NO_ERROR;
- RvcCleanModeCluster * cppCluster = reinterpret_cast(clusterPtr);
- VerifyOrReturn(cppCluster != nullptr,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
- env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE));
-
- auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
- auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
-
- if (timedWriteTimeoutMs == nullptr)
- {
- err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall);
- }
- else
- {
- err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall,
- chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs));
- }
- VerifyOrReturn(
- err == CHIP_NO_ERROR,
- chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err));
-
- onSuccess.release();
- onFailure.release();
-}
-
JNI_METHOD(void, RvcCleanModeCluster, writeOnModeAttribute)
(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs)
{
diff --git a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp
index b4e3b543cc1ddb..459a72991eeb08 100644
--- a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp
+++ b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp
@@ -21996,71 +21996,6 @@ void CHIPRvcRunModeSupportedModesAttributeCallback::CallbackFn(
env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj);
}
-CHIPRvcRunModeStartUpModeAttributeCallback::CHIPRvcRunModeStartUpModeAttributeCallback(jobject javaCallback, bool keepAlive) :
- chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive)
-{
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- if (env == nullptr)
- {
- ChipLogError(Zcl, "Could not create global reference for Java callback");
- return;
- }
-
- javaCallbackRef = env->NewGlobalRef(javaCallback);
- if (javaCallbackRef == nullptr)
- {
- ChipLogError(Zcl, "Could not create global reference for Java callback");
- }
-}
-
-CHIPRvcRunModeStartUpModeAttributeCallback::~CHIPRvcRunModeStartUpModeAttributeCallback()
-{
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- if (env == nullptr)
- {
- ChipLogError(Zcl, "Could not delete global reference for Java callback");
- return;
- }
- env->DeleteGlobalRef(javaCallbackRef);
-}
-
-void CHIPRvcRunModeStartUpModeAttributeCallback::CallbackFn(void * context, const chip::app::DataModel::Nullable & value)
-{
- chip::DeviceLayer::StackUnlock unlock;
- CHIP_ERROR err = CHIP_NO_ERROR;
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- jobject javaCallbackRef;
-
- VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env"));
- std::unique_ptr cppCallback(
- reinterpret_cast(context), maybeDestroy);
-
- // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback.
- javaCallbackRef = cppCallback.get()->javaCallbackRef;
- VerifyOrReturn(javaCallbackRef != nullptr,
- ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null"));
-
- jmethodID javaMethod;
- err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod);
- VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method"));
-
- jobject javaValue;
- if (value.IsNull())
- {
- javaValue = nullptr;
- }
- else
- {
- std::string javaValueClassName = "java/lang/Integer";
- std::string javaValueCtorSignature = "(I)V";
- jint jnijavaValue = static_cast(value.Value());
- chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(),
- jnijavaValue, javaValue);
- }
-
- env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue);
-}
-
CHIPRvcRunModeOnModeAttributeCallback::CHIPRvcRunModeOnModeAttributeCallback(jobject javaCallback, bool keepAlive) :
chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive)
{
@@ -22557,71 +22492,6 @@ void CHIPRvcCleanModeSupportedModesAttributeCallback::CallbackFn(
env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj);
}
-CHIPRvcCleanModeStartUpModeAttributeCallback::CHIPRvcCleanModeStartUpModeAttributeCallback(jobject javaCallback, bool keepAlive) :
- chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive)
-{
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- if (env == nullptr)
- {
- ChipLogError(Zcl, "Could not create global reference for Java callback");
- return;
- }
-
- javaCallbackRef = env->NewGlobalRef(javaCallback);
- if (javaCallbackRef == nullptr)
- {
- ChipLogError(Zcl, "Could not create global reference for Java callback");
- }
-}
-
-CHIPRvcCleanModeStartUpModeAttributeCallback::~CHIPRvcCleanModeStartUpModeAttributeCallback()
-{
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- if (env == nullptr)
- {
- ChipLogError(Zcl, "Could not delete global reference for Java callback");
- return;
- }
- env->DeleteGlobalRef(javaCallbackRef);
-}
-
-void CHIPRvcCleanModeStartUpModeAttributeCallback::CallbackFn(void * context, const chip::app::DataModel::Nullable & value)
-{
- chip::DeviceLayer::StackUnlock unlock;
- CHIP_ERROR err = CHIP_NO_ERROR;
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- jobject javaCallbackRef;
-
- VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env"));
- std::unique_ptr cppCallback(
- reinterpret_cast(context), maybeDestroy);
-
- // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback.
- javaCallbackRef = cppCallback.get()->javaCallbackRef;
- VerifyOrReturn(javaCallbackRef != nullptr,
- ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null"));
-
- jmethodID javaMethod;
- err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod);
- VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method"));
-
- jobject javaValue;
- if (value.IsNull())
- {
- javaValue = nullptr;
- }
- else
- {
- std::string javaValueClassName = "java/lang/Integer";
- std::string javaValueCtorSignature = "(I)V";
- jint jnijavaValue = static_cast(value.Value());
- chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(),
- jnijavaValue, javaValue);
- }
-
- env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue);
-}
-
CHIPRvcCleanModeOnModeAttributeCallback::CHIPRvcCleanModeOnModeAttributeCallback(jobject javaCallback, bool keepAlive) :
chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive)
{
diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py
index 715eed08b15c23..e5efbe902213d2 100644
--- a/src/controller/python/chip/clusters/CHIPClusters.py
+++ b/src/controller/python/chip/clusters/CHIPClusters.py
@@ -4642,13 +4642,6 @@ class ChipClusters:
"type": "int",
"reportable": True,
},
- 0x00000002: {
- "attributeName": "StartUpMode",
- "attributeId": 0x00000002,
- "type": "int",
- "reportable": True,
- "writable": True,
- },
0x00000003: {
"attributeName": "OnMode",
"attributeId": 0x00000003,
@@ -4719,13 +4712,6 @@ class ChipClusters:
"type": "int",
"reportable": True,
},
- 0x00000002: {
- "attributeName": "StartUpMode",
- "attributeId": 0x00000002,
- "type": "int",
- "reportable": True,
- "writable": True,
- },
0x00000003: {
"attributeName": "OnMode",
"attributeId": 0x00000003,
diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py
index 4f3af5d426ca85..bae4a520542360 100644
--- a/src/controller/python/chip/clusters/Objects.py
+++ b/src/controller/python/chip/clusters/Objects.py
@@ -16051,7 +16051,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[RvcRunMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
@@ -16063,7 +16062,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
supportedModes: 'typing.List[RvcRunMode.Structs.ModeOptionStruct]' = None
currentMode: 'uint' = None
- startUpMode: 'typing.Union[None, Nullable, uint]' = None
onMode: 'typing.Union[None, Nullable, uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
@@ -16198,22 +16196,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- @dataclass
- class StartUpMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x00000054
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
@dataclass
class OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
@@ -16337,7 +16319,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[RvcCleanMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
@@ -16349,7 +16330,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
supportedModes: 'typing.List[RvcCleanMode.Structs.ModeOptionStruct]' = None
currentMode: 'uint' = None
- startUpMode: 'typing.Union[None, Nullable, uint]' = None
onMode: 'typing.Union[None, Nullable, uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
@@ -16478,22 +16458,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- @dataclass
- class StartUpMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x00000055
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
@dataclass
class OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm
index 915823735242be..f034ce2ef1cb3c 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm
@@ -2085,9 +2085,6 @@ static BOOL AttributeIsSpecifiedInRVCRunModeCluster(AttributeId aAttributeId)
case Attributes::CurrentMode::Id: {
return YES;
}
- case Attributes::StartUpMode::Id: {
- return YES;
- }
case Attributes::OnMode::Id: {
return YES;
}
@@ -2124,9 +2121,6 @@ static BOOL AttributeIsSpecifiedInRVCCleanModeCluster(AttributeId aAttributeId)
case Attributes::CurrentMode::Id: {
return YES;
}
- case Attributes::StartUpMode::Id: {
- return YES;
- }
case Attributes::OnMode::Id: {
return YES;
}
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
index 5f446924eea4a6..bc34c284717b2d 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
@@ -5751,23 +5751,6 @@ static id _Nullable DecodeAttributeValueForRVCRunModeCluster(AttributeId aAttrib
return value;
}
#endif // MTR_ENABLE_PROVISIONAL
-#if MTR_ENABLE_PROVISIONAL
- case Attributes::StartUpMode::Id: {
- using TypeInfo = Attributes::StartUpMode::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nullable value;
- if (cppValue.IsNull()) {
- value = nil;
- } else {
- value = [NSNumber numberWithUnsignedChar:cppValue.Value()];
- }
- return value;
- }
-#endif // MTR_ENABLE_PROVISIONAL
#if MTR_ENABLE_PROVISIONAL
case Attributes::OnMode::Id: {
using TypeInfo = Attributes::OnMode::TypeInfo;
@@ -5867,23 +5850,6 @@ static id _Nullable DecodeAttributeValueForRVCCleanModeCluster(AttributeId aAttr
return value;
}
#endif // MTR_ENABLE_PROVISIONAL
-#if MTR_ENABLE_PROVISIONAL
- case Attributes::StartUpMode::Id: {
- using TypeInfo = Attributes::StartUpMode::TypeInfo;
- TypeInfo::DecodableType cppValue;
- *aError = DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR) {
- return nil;
- }
- NSNumber * _Nullable value;
- if (cppValue.IsNull()) {
- value = nil;
- } else {
- value = [NSNumber numberWithUnsignedChar:cppValue.Value()];
- }
- return value;
- }
-#endif // MTR_ENABLE_PROVISIONAL
#if MTR_ENABLE_PROVISIONAL
case Attributes::OnMode::Id: {
using TypeInfo = Attributes::OnMode::TypeInfo;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
index b7b48b02f0f7c0..cc7e35b340ec8d 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
@@ -4985,14 +4985,6 @@ MTR_PROVISIONALLY_AVAILABLE
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler MTR_PROVISIONALLY_AVAILABLE;
+ (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(MTRWriteParams * _Nullable)params completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams *)params
- subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
- reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler MTR_PROVISIONALLY_AVAILABLE;
-+ (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
-
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWriteParams * _Nullable)params completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
@@ -5078,14 +5070,6 @@ MTR_PROVISIONALLY_AVAILABLE
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler MTR_PROVISIONALLY_AVAILABLE;
+ (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(MTRWriteParams * _Nullable)params completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
-- (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams *)params
- subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
- reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler MTR_PROVISIONALLY_AVAILABLE;
-+ (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
-
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWriteParams * _Nullable)params completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
index e7917c0d0341af..bf7226762e2370 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
@@ -41766,81 +41766,6 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
completion:completion];
}
-- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
-{
- using TypeInfo = RvcRunMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
- clusterID:@(TypeInfo::GetClusterId())
- attributeID:@(TypeInfo::GetAttributeId())
- params:nil
- queue:self.callbackQueue
- completion:completion];
-}
-
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion
-{
- [self writeAttributeStartUpModeWithValue:(NSNumber * _Nullable) value params:nil completion:completion];
-}
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(MTRWriteParams * _Nullable)params completion:(MTRStatusCompletion)completion
-{
- // Make a copy of params before we go async.
- params = [params copy];
- value = [value copy];
-
- auto * bridge = new MTRDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completion(error);
- },
- ^(ExchangeManager & exchangeManager, const SessionHandle & session, DefaultSuccessCallbackType successCb, MTRErrorCallback failureCb, MTRCallbackBridgeBase * bridge) {
- chip::Optional timedWriteTimeout;
- if (params != nil) {
- if (params.timedWriteTimeout != nil) {
- timedWriteTimeout.SetValue(params.timedWriteTimeout.unsignedShortValue);
- }
- }
-
- ListFreer listFreer;
- using TypeInfo = RvcRunMode::Attributes::StartUpMode::TypeInfo;
- TypeInfo::Type cppValue;
- if (value == nil) {
- cppValue.SetNull();
- } else {
- auto & nonNullValue_0 = cppValue.SetNonNull();
- nonNullValue_0 = value.unsignedCharValue;
- }
-
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
- return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout);
- });
- std::move(*bridge).DispatchAction(self.device);
-}
-
-- (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)params
- subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
- reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
-{
- using TypeInfo = RvcRunMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
- clusterID:@(TypeInfo::GetClusterId())
- attributeID:@(TypeInfo::GetAttributeId())
- params:params
- queue:self.callbackQueue
- reportHandler:reportHandler
- subscriptionEstablished:subscriptionEstablished];
-}
-
-+ (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
-{
- using TypeInfo = RvcRunMode::Attributes::StartUpMode::TypeInfo;
- [clusterStateCacheContainer
- _readKnownCachedAttributeWithEndpointID:static_cast([endpoint unsignedShortValue])
- clusterID:TypeInfo::GetClusterId()
- attributeID:TypeInfo::GetAttributeId()
- queue:queue
- completion:completion];
-}
-
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::OnMode::TypeInfo;
@@ -42245,81 +42170,6 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
completion:completion];
}
-- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
-{
- using TypeInfo = RvcCleanMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
- clusterID:@(TypeInfo::GetClusterId())
- attributeID:@(TypeInfo::GetAttributeId())
- params:nil
- queue:self.callbackQueue
- completion:completion];
-}
-
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion
-{
- [self writeAttributeStartUpModeWithValue:(NSNumber * _Nullable) value params:nil completion:completion];
-}
-- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(MTRWriteParams * _Nullable)params completion:(MTRStatusCompletion)completion
-{
- // Make a copy of params before we go async.
- params = [params copy];
- value = [value copy];
-
- auto * bridge = new MTRDefaultSuccessCallbackBridge(
- self.callbackQueue,
- ^(id _Nullable ignored, NSError * _Nullable error) {
- completion(error);
- },
- ^(ExchangeManager & exchangeManager, const SessionHandle & session, DefaultSuccessCallbackType successCb, MTRErrorCallback failureCb, MTRCallbackBridgeBase * bridge) {
- chip::Optional timedWriteTimeout;
- if (params != nil) {
- if (params.timedWriteTimeout != nil) {
- timedWriteTimeout.SetValue(params.timedWriteTimeout.unsignedShortValue);
- }
- }
-
- ListFreer listFreer;
- using TypeInfo = RvcCleanMode::Attributes::StartUpMode::TypeInfo;
- TypeInfo::Type cppValue;
- if (value == nil) {
- cppValue.SetNull();
- } else {
- auto & nonNullValue_0 = cppValue.SetNonNull();
- nonNullValue_0 = value.unsignedCharValue;
- }
-
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
- return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout);
- });
- std::move(*bridge).DispatchAction(self.device);
-}
-
-- (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)params
- subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
- reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
-{
- using TypeInfo = RvcCleanMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
- clusterID:@(TypeInfo::GetClusterId())
- attributeID:@(TypeInfo::GetAttributeId())
- params:params
- queue:self.callbackQueue
- reportHandler:reportHandler
- subscriptionEstablished:subscriptionEstablished];
-}
-
-+ (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
-{
- using TypeInfo = RvcCleanMode::Attributes::StartUpMode::TypeInfo;
- [clusterStateCacheContainer
- _readKnownCachedAttributeWithEndpointID:static_cast([endpoint unsignedShortValue])
- clusterID:TypeInfo::GetClusterId()
- attributeID:TypeInfo::GetAttributeId()
- queue:queue
- completion:completion];
-}
-
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::OnMode::TypeInfo;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h
index ea73c3eced4499..d2307978241522 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h
@@ -2335,7 +2335,6 @@ typedef NS_ENUM(uint32_t, MTRAttributeIDType) {
// Cluster RVCRunMode attributes
MTRAttributeIDTypeClusterRVCRunModeAttributeSupportedModesID MTR_PROVISIONALLY_AVAILABLE = 0x00000000,
MTRAttributeIDTypeClusterRVCRunModeAttributeCurrentModeID MTR_PROVISIONALLY_AVAILABLE = 0x00000001,
- MTRAttributeIDTypeClusterRVCRunModeAttributeStartUpModeID MTR_PROVISIONALLY_AVAILABLE = 0x00000002,
MTRAttributeIDTypeClusterRVCRunModeAttributeOnModeID MTR_PROVISIONALLY_AVAILABLE = 0x00000003,
MTRAttributeIDTypeClusterRVCRunModeAttributeGeneratedCommandListID MTR_PROVISIONALLY_AVAILABLE = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID,
MTRAttributeIDTypeClusterRVCRunModeAttributeAcceptedCommandListID MTR_PROVISIONALLY_AVAILABLE = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID,
@@ -2347,7 +2346,6 @@ typedef NS_ENUM(uint32_t, MTRAttributeIDType) {
// Cluster RVCCleanMode attributes
MTRAttributeIDTypeClusterRVCCleanModeAttributeSupportedModesID MTR_PROVISIONALLY_AVAILABLE = 0x00000000,
MTRAttributeIDTypeClusterRVCCleanModeAttributeCurrentModeID MTR_PROVISIONALLY_AVAILABLE = 0x00000001,
- MTRAttributeIDTypeClusterRVCCleanModeAttributeStartUpModeID MTR_PROVISIONALLY_AVAILABLE = 0x00000002,
MTRAttributeIDTypeClusterRVCCleanModeAttributeOnModeID MTR_PROVISIONALLY_AVAILABLE = 0x00000003,
MTRAttributeIDTypeClusterRVCCleanModeAttributeGeneratedCommandListID MTR_PROVISIONALLY_AVAILABLE = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID,
MTRAttributeIDTypeClusterRVCCleanModeAttributeAcceptedCommandListID MTR_PROVISIONALLY_AVAILABLE = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID,
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h
index 8da709a08917b9..7037d0e5274abf 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h
@@ -2244,10 +2244,6 @@ MTR_PROVISIONALLY_AVAILABLE
- (NSDictionary * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
-- (NSDictionary * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
-
- (NSDictionary * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
@@ -2290,10 +2286,6 @@ MTR_PROVISIONALLY_AVAILABLE
- (NSDictionary * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
-- (NSDictionary * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE;
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
-
- (NSDictionary * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm
index a6d601de99ecaf..3c33dee7774b9e 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm
@@ -7474,22 +7474,6 @@ - (void)changeToModeWithParams:(MTRRVCRunModeClusterChangeToModeParams *)params
return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCRunModeID) attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeCurrentModeID) params:params];
}
-- (NSDictionary * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params
-{
- return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCRunModeID) attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeStartUpModeID) params:params];
-}
-
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs
-{
- [self writeAttributeStartUpModeWithValue:dataValueDictionary expectedValueInterval:expectedValueIntervalMs params:nil];
-}
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs params:(MTRWriteParams * _Nullable)params
-{
- NSNumber * timedWriteTimeout = params.timedWriteTimeout;
-
- [self.device writeAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCRunModeID) attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeStartUpModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout];
-}
-
- (NSDictionary * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params
{
return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCRunModeID) attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeOnModeID) params:params];
@@ -7589,22 +7573,6 @@ - (void)changeToModeWithParams:(MTRRVCCleanModeClusterChangeToModeParams *)param
return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCCleanModeID) attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeCurrentModeID) params:params];
}
-- (NSDictionary * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params
-{
- return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCCleanModeID) attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeStartUpModeID) params:params];
-}
-
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs
-{
- [self writeAttributeStartUpModeWithValue:dataValueDictionary expectedValueInterval:expectedValueIntervalMs params:nil];
-}
-- (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs params:(MTRWriteParams * _Nullable)params
-{
- NSNumber * timedWriteTimeout = params.timedWriteTimeout;
-
- [self.device writeAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCCleanModeID) attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeStartUpModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout];
-}
-
- (NSDictionary * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params
{
return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCCleanModeID) attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeOnModeID) params:params];
diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp
index ddb5e4da08ad74..c59f529bde4a5f 100644
--- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp
+++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp
@@ -10976,8 +10976,6 @@ CHIP_ERROR TypeInfo::DecodableType::Decode(TLV::TLVReader & reader, const Concre
return DataModel::Decode(reader, supportedModes);
case Attributes::CurrentMode::TypeInfo::GetAttributeId():
return DataModel::Decode(reader, currentMode);
- case Attributes::StartUpMode::TypeInfo::GetAttributeId():
- return DataModel::Decode(reader, startUpMode);
case Attributes::OnMode::TypeInfo::GetAttributeId():
return DataModel::Decode(reader, onMode);
case Attributes::GeneratedCommandList::TypeInfo::GetAttributeId():
@@ -11089,8 +11087,6 @@ CHIP_ERROR TypeInfo::DecodableType::Decode(TLV::TLVReader & reader, const Concre
return DataModel::Decode(reader, supportedModes);
case Attributes::CurrentMode::TypeInfo::GetAttributeId():
return DataModel::Decode(reader, currentMode);
- case Attributes::StartUpMode::TypeInfo::GetAttributeId():
- return DataModel::Decode(reader, startUpMode);
case Attributes::OnMode::TypeInfo::GetAttributeId():
return DataModel::Decode(reader, onMode);
case Attributes::GeneratedCommandList::TypeInfo::GetAttributeId():
diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
index 62e1ea48e51715..ad844cd6cb67c7 100644
--- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
+++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
@@ -15057,18 +15057,6 @@ struct TypeInfo
static constexpr bool MustUseTimedWrite() { return false; }
};
} // namespace CurrentMode
-namespace StartUpMode {
-struct TypeInfo
-{
- using Type = chip::app::DataModel::Nullable;
- using DecodableType = chip::app::DataModel::Nullable;
- using DecodableArgType = const chip::app::DataModel::Nullable &;
-
- static constexpr ClusterId GetClusterId() { return Clusters::RvcRunMode::Id; }
- static constexpr AttributeId GetAttributeId() { return Attributes::StartUpMode::Id; }
- static constexpr bool MustUseTimedWrite() { return false; }
-};
-} // namespace StartUpMode
namespace OnMode {
struct TypeInfo
{
@@ -15128,7 +15116,6 @@ struct TypeInfo
Attributes::SupportedModes::TypeInfo::DecodableType supportedModes;
Attributes::CurrentMode::TypeInfo::DecodableType currentMode = static_cast(0);
- Attributes::StartUpMode::TypeInfo::DecodableType startUpMode;
Attributes::OnMode::TypeInfo::DecodableType onMode;
Attributes::GeneratedCommandList::TypeInfo::DecodableType generatedCommandList;
Attributes::AcceptedCommandList::TypeInfo::DecodableType acceptedCommandList;
@@ -15259,18 +15246,6 @@ struct TypeInfo
static constexpr bool MustUseTimedWrite() { return false; }
};
} // namespace CurrentMode
-namespace StartUpMode {
-struct TypeInfo
-{
- using Type = chip::app::DataModel::Nullable;
- using DecodableType = chip::app::DataModel::Nullable;
- using DecodableArgType = const chip::app::DataModel::Nullable &;
-
- static constexpr ClusterId GetClusterId() { return Clusters::RvcCleanMode::Id; }
- static constexpr AttributeId GetAttributeId() { return Attributes::StartUpMode::Id; }
- static constexpr bool MustUseTimedWrite() { return false; }
-};
-} // namespace StartUpMode
namespace OnMode {
struct TypeInfo
{
@@ -15330,7 +15305,6 @@ struct TypeInfo
Attributes::SupportedModes::TypeInfo::DecodableType supportedModes;
Attributes::CurrentMode::TypeInfo::DecodableType currentMode = static_cast(0);
- Attributes::StartUpMode::TypeInfo::DecodableType startUpMode;
Attributes::OnMode::TypeInfo::DecodableType onMode;
Attributes::GeneratedCommandList::TypeInfo::DecodableType generatedCommandList;
Attributes::AcceptedCommandList::TypeInfo::DecodableType acceptedCommandList;
diff --git a/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h b/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h
index 284259e3ffdcdf..c636d2caa06ee1 100644
--- a/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h
+++ b/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h
@@ -2640,10 +2640,6 @@ namespace CurrentMode {
static constexpr AttributeId Id = 0x00000001;
} // namespace CurrentMode
-namespace StartUpMode {
-static constexpr AttributeId Id = 0x00000002;
-} // namespace StartUpMode
-
namespace OnMode {
static constexpr AttributeId Id = 0x00000003;
} // namespace OnMode
@@ -2686,10 +2682,6 @@ namespace CurrentMode {
static constexpr AttributeId Id = 0x00000001;
} // namespace CurrentMode
-namespace StartUpMode {
-static constexpr AttributeId Id = 0x00000002;
-} // namespace StartUpMode
-
namespace OnMode {
static constexpr AttributeId Id = 0x00000003;
} // namespace OnMode
diff --git a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h
index faae4838e7b025..f74428cf456c69 100644
--- a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h
+++ b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h
@@ -4833,7 +4833,6 @@ class RefrigeratorAndTemperatureControlledCabinetModeChangeToMode : public Clust
| Attributes: | |
| * SupportedModes | 0x0000 |
| * CurrentMode | 0x0001 |
-| * StartUpMode | 0x0002 |
| * OnMode | 0x0003 |
| * GeneratedCommandList | 0xFFF8 |
| * AcceptedCommandList | 0xFFF9 |
@@ -4891,7 +4890,6 @@ class RvcRunModeChangeToMode : public ClusterCommand
| Attributes: | |
| * SupportedModes | 0x0000 |
| * CurrentMode | 0x0001 |
-| * StartUpMode | 0x0002 |
| * OnMode | 0x0003 |
| * GeneratedCommandList | 0xFFF8 |
| * AcceptedCommandList | 0xFFF9 |
@@ -15349,7 +15347,6 @@ void registerClusterRvcRunMode(Commands & commands, CredentialIssuerCommands * c
make_unique(Id, credsIssuerConfig), //
make_unique(Id, "supported-modes", Attributes::SupportedModes::Id, credsIssuerConfig), //
make_unique(Id, "current-mode", Attributes::CurrentMode::Id, credsIssuerConfig), //
- make_unique(Id, "start-up-mode", Attributes::StartUpMode::Id, credsIssuerConfig), //
make_unique(Id, "on-mode", Attributes::OnMode::Id, credsIssuerConfig), //
make_unique(Id, "generated-command-list", Attributes::GeneratedCommandList::Id, credsIssuerConfig), //
make_unique(Id, "accepted-command-list", Attributes::AcceptedCommandList::Id, credsIssuerConfig), //
@@ -15363,8 +15360,6 @@ void registerClusterRvcRunMode(Commands & commands, CredentialIssuerCommands * c
Id, "supported-modes", Attributes::SupportedModes::Id, WriteCommandType::kForceWrite, credsIssuerConfig), //
make_unique>(Id, "current-mode", 0, UINT8_MAX, Attributes::CurrentMode::Id,
WriteCommandType::kForceWrite, credsIssuerConfig), //
- make_unique>>(
- Id, "start-up-mode", 0, UINT8_MAX, Attributes::StartUpMode::Id, WriteCommandType::kWrite, credsIssuerConfig), //
make_unique>>(Id, "on-mode", 0, UINT8_MAX, Attributes::OnMode::Id,
WriteCommandType::kWrite, credsIssuerConfig), //
make_unique>>(
@@ -15383,7 +15378,6 @@ void registerClusterRvcRunMode(Commands & commands, CredentialIssuerCommands * c
make_unique(Id, credsIssuerConfig), //
make_unique(Id, "supported-modes", Attributes::SupportedModes::Id, credsIssuerConfig), //
make_unique(Id, "current-mode", Attributes::CurrentMode::Id, credsIssuerConfig), //
- make_unique(Id, "start-up-mode", Attributes::StartUpMode::Id, credsIssuerConfig), //
make_unique(Id, "on-mode", Attributes::OnMode::Id, credsIssuerConfig), //
make_unique(Id, "generated-command-list", Attributes::GeneratedCommandList::Id, credsIssuerConfig), //
make_unique(Id, "accepted-command-list", Attributes::AcceptedCommandList::Id, credsIssuerConfig), //
@@ -15418,7 +15412,6 @@ void registerClusterRvcCleanMode(Commands & commands, CredentialIssuerCommands *
make_unique(Id, credsIssuerConfig), //
make_unique(Id, "supported-modes", Attributes::SupportedModes::Id, credsIssuerConfig), //
make_unique(Id, "current-mode", Attributes::CurrentMode::Id, credsIssuerConfig), //
- make_unique(Id, "start-up-mode", Attributes::StartUpMode::Id, credsIssuerConfig), //
make_unique(Id, "on-mode", Attributes::OnMode::Id, credsIssuerConfig), //
make_unique(Id, "generated-command-list", Attributes::GeneratedCommandList::Id, credsIssuerConfig), //
make_unique(Id, "accepted-command-list", Attributes::AcceptedCommandList::Id, credsIssuerConfig), //
@@ -15432,8 +15425,6 @@ void registerClusterRvcCleanMode(Commands & commands, CredentialIssuerCommands *
Id, "supported-modes", Attributes::SupportedModes::Id, WriteCommandType::kForceWrite, credsIssuerConfig), //
make_unique>(Id, "current-mode", 0, UINT8_MAX, Attributes::CurrentMode::Id,
WriteCommandType::kForceWrite, credsIssuerConfig), //
- make_unique>>(
- Id, "start-up-mode", 0, UINT8_MAX, Attributes::StartUpMode::Id, WriteCommandType::kWrite, credsIssuerConfig), //
make_unique>>(Id, "on-mode", 0, UINT8_MAX, Attributes::OnMode::Id,
WriteCommandType::kWrite, credsIssuerConfig), //
make_unique>>(
@@ -15452,7 +15443,6 @@ void registerClusterRvcCleanMode(Commands & commands, CredentialIssuerCommands *
make_unique(Id, credsIssuerConfig), //
make_unique(Id, "supported-modes", Attributes::SupportedModes::Id, credsIssuerConfig), //
make_unique(Id, "current-mode", Attributes::CurrentMode::Id, credsIssuerConfig), //
- make_unique(Id, "start-up-mode", Attributes::StartUpMode::Id, credsIssuerConfig), //
make_unique(Id, "on-mode", Attributes::OnMode::Id, credsIssuerConfig), //
make_unique(Id, "generated-command-list", Attributes::GeneratedCommandList::Id, credsIssuerConfig), //
make_unique(Id, "accepted-command-list", Attributes::AcceptedCommandList::Id, credsIssuerConfig), //
diff --git a/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp b/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
index eeb22da1398cdd..9953be8a6074b4 100644
--- a/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
+++ b/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
@@ -8281,11 +8281,6 @@ CHIP_ERROR DataModelLogger::LogAttribute(const chip::app::ConcreteDataAttributeP
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
return DataModelLogger::LogValue("CurrentMode", 1, value);
}
- case RvcRunMode::Attributes::StartUpMode::Id: {
- chip::app::DataModel::Nullable value;
- ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
- return DataModelLogger::LogValue("StartUpMode", 1, value);
- }
case RvcRunMode::Attributes::OnMode::Id: {
chip::app::DataModel::Nullable value;
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
@@ -8337,11 +8332,6 @@ CHIP_ERROR DataModelLogger::LogAttribute(const chip::app::ConcreteDataAttributeP
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
return DataModelLogger::LogValue("CurrentMode", 1, value);
}
- case RvcCleanMode::Attributes::StartUpMode::Id: {
- chip::app::DataModel::Nullable value;
- ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
- return DataModelLogger::LogValue("StartUpMode", 1, value);
- }
case RvcCleanMode::Attributes::OnMode::Id: {
chip::app::DataModel::Nullable value;
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
diff --git a/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h
index ab01a4eae1b273..ab996359816e33 100644
--- a/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h
+++ b/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h
@@ -54286,7 +54286,6 @@ class SubscribeAttributeLaundryWasherControlsClusterRevision : public SubscribeA
| Attributes: | |
| * SupportedModes | 0x0000 |
| * CurrentMode | 0x0001 |
-| * StartUpMode | 0x0002 |
| * OnMode | 0x0003 |
| * GeneratedCommandList | 0xFFF8 |
| * AcceptedCommandList | 0xFFF9 |
@@ -54526,135 +54525,6 @@ class SubscribeAttributeRvcRunModeCurrentMode : public SubscribeAttribute {
#endif // MTR_ENABLE_PROVISIONAL
#if MTR_ENABLE_PROVISIONAL
-/*
- * Attribute StartUpMode
- */
-class ReadRvcRunModeStartUpMode : public ReadAttribute {
-public:
- ReadRvcRunModeStartUpMode()
- : ReadAttribute("start-up-mode")
- {
- }
-
- ~ReadRvcRunModeStartUpMode()
- {
- }
-
- CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
- {
- constexpr chip::ClusterId clusterId = chip::app::Clusters::RvcRunMode::Id;
- constexpr chip::AttributeId attributeId = chip::app::Clusters::RvcRunMode::Attributes::StartUpMode::Id;
-
- ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") ReadAttribute (0x%08" PRIX32 ") on endpoint %u", endpointId, clusterId, attributeId);
-
- dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
- __auto_type * cluster = [[MTRBaseClusterRVCRunMode alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
- [cluster readAttributeStartUpModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable error) {
- NSLog(@"RVCRunMode.StartUpMode response %@", [value description]);
- if (error == nil) {
- RemoteDataModelLogger::LogAttributeAsJSON(@(endpointId), @(clusterId), @(attributeId), value);
- } else {
- LogNSError("RVCRunMode StartUpMode read Error", error);
- RemoteDataModelLogger::LogAttributeErrorAsJSON(@(endpointId), @(clusterId), @(attributeId), error);
- }
- SetCommandExitStatus(error);
- }];
- return CHIP_NO_ERROR;
- }
-};
-
-class WriteRvcRunModeStartUpMode : public WriteAttribute {
-public:
- WriteRvcRunModeStartUpMode()
- : WriteAttribute("start-up-mode")
- {
- AddArgument("attr-name", "start-up-mode");
- AddArgument("attr-value", 0, UINT8_MAX, &mValue);
- WriteAttribute::AddArguments();
- }
-
- ~WriteRvcRunModeStartUpMode()
- {
- }
-
- CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
- {
- constexpr chip::ClusterId clusterId = chip::app::Clusters::RvcRunMode::Id;
- constexpr chip::AttributeId attributeId = chip::app::Clusters::RvcRunMode::Attributes::StartUpMode::Id;
-
- ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") WriteAttribute (0x%08" PRIX32 ") on endpoint %u", clusterId, attributeId, endpointId);
- dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
- __auto_type * cluster = [[MTRBaseClusterRVCRunMode alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
- __auto_type * params = [[MTRWriteParams alloc] init];
- params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil;
- params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil;
- NSNumber * _Nullable value = nil;
- if (!mValue.IsNull()) {
- value = [NSNumber numberWithUnsignedChar:mValue.Value()];
- }
-
- [cluster writeAttributeStartUpModeWithValue:value params:params completion:^(NSError * _Nullable error) {
- if (error != nil) {
- LogNSError("RVCRunMode StartUpMode write Error", error);
- RemoteDataModelLogger::LogAttributeErrorAsJSON(@(endpointId), @(clusterId), @(attributeId), error);
- }
- SetCommandExitStatus(error);
- }];
- return CHIP_NO_ERROR;
- }
-
-private:
- chip::app::DataModel::Nullable mValue;
-};
-
-class SubscribeAttributeRvcRunModeStartUpMode : public SubscribeAttribute {
-public:
- SubscribeAttributeRvcRunModeStartUpMode()
- : SubscribeAttribute("start-up-mode")
- {
- }
-
- ~SubscribeAttributeRvcRunModeStartUpMode()
- {
- }
-
- CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
- {
- constexpr chip::ClusterId clusterId = chip::app::Clusters::RvcRunMode::Id;
- constexpr chip::CommandId attributeId = chip::app::Clusters::RvcRunMode::Attributes::StartUpMode::Id;
-
- ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") ReportAttribute (0x%08" PRIX32 ") on endpoint %u", clusterId, attributeId, endpointId);
- dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
- __auto_type * cluster = [[MTRBaseClusterRVCRunMode alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
- __auto_type * params = [[MTRSubscribeParams alloc] initWithMinInterval:@(mMinInterval) maxInterval:@(mMaxInterval)];
- if (mKeepSubscriptions.HasValue()) {
- params.replaceExistingSubscriptions = !mKeepSubscriptions.Value();
- }
- if (mFabricFiltered.HasValue()) {
- params.filterByFabric = mFabricFiltered.Value();
- }
- if (mAutoResubscribe.HasValue()) {
- params.resubscribeAutomatically = mAutoResubscribe.Value();
- }
- [cluster subscribeAttributeStartUpModeWithParams:params
- subscriptionEstablished:^() { mSubscriptionEstablished = YES; }
- reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) {
- NSLog(@"RVCRunMode.StartUpMode response %@", [value description]);
- if (error == nil) {
- RemoteDataModelLogger::LogAttributeAsJSON(@(endpointId), @(clusterId), @(attributeId), value);
- } else {
- RemoteDataModelLogger::LogAttributeErrorAsJSON(@(endpointId), @(clusterId), @(attributeId), error);
- }
- SetCommandExitStatus(error);
- }];
-
- return CHIP_NO_ERROR;
- }
-};
-
-#endif // MTR_ENABLE_PROVISIONAL
-#if MTR_ENABLE_PROVISIONAL
-
/*
* Attribute OnMode
*/
@@ -55303,7 +55173,6 @@ class SubscribeAttributeRvcRunModeClusterRevision : public SubscribeAttribute {
| Attributes: | |
| * SupportedModes | 0x0000 |
| * CurrentMode | 0x0001 |
-| * StartUpMode | 0x0002 |
| * OnMode | 0x0003 |
| * GeneratedCommandList | 0xFFF8 |
| * AcceptedCommandList | 0xFFF9 |
@@ -55543,135 +55412,6 @@ class SubscribeAttributeRvcCleanModeCurrentMode : public SubscribeAttribute {
#endif // MTR_ENABLE_PROVISIONAL
#if MTR_ENABLE_PROVISIONAL
-/*
- * Attribute StartUpMode
- */
-class ReadRvcCleanModeStartUpMode : public ReadAttribute {
-public:
- ReadRvcCleanModeStartUpMode()
- : ReadAttribute("start-up-mode")
- {
- }
-
- ~ReadRvcCleanModeStartUpMode()
- {
- }
-
- CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
- {
- constexpr chip::ClusterId clusterId = chip::app::Clusters::RvcCleanMode::Id;
- constexpr chip::AttributeId attributeId = chip::app::Clusters::RvcCleanMode::Attributes::StartUpMode::Id;
-
- ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") ReadAttribute (0x%08" PRIX32 ") on endpoint %u", endpointId, clusterId, attributeId);
-
- dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
- __auto_type * cluster = [[MTRBaseClusterRVCCleanMode alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
- [cluster readAttributeStartUpModeWithCompletion:^(NSNumber * _Nullable value, NSError * _Nullable error) {
- NSLog(@"RVCCleanMode.StartUpMode response %@", [value description]);
- if (error == nil) {
- RemoteDataModelLogger::LogAttributeAsJSON(@(endpointId), @(clusterId), @(attributeId), value);
- } else {
- LogNSError("RVCCleanMode StartUpMode read Error", error);
- RemoteDataModelLogger::LogAttributeErrorAsJSON(@(endpointId), @(clusterId), @(attributeId), error);
- }
- SetCommandExitStatus(error);
- }];
- return CHIP_NO_ERROR;
- }
-};
-
-class WriteRvcCleanModeStartUpMode : public WriteAttribute {
-public:
- WriteRvcCleanModeStartUpMode()
- : WriteAttribute("start-up-mode")
- {
- AddArgument("attr-name", "start-up-mode");
- AddArgument("attr-value", 0, UINT8_MAX, &mValue);
- WriteAttribute::AddArguments();
- }
-
- ~WriteRvcCleanModeStartUpMode()
- {
- }
-
- CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
- {
- constexpr chip::ClusterId clusterId = chip::app::Clusters::RvcCleanMode::Id;
- constexpr chip::AttributeId attributeId = chip::app::Clusters::RvcCleanMode::Attributes::StartUpMode::Id;
-
- ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") WriteAttribute (0x%08" PRIX32 ") on endpoint %u", clusterId, attributeId, endpointId);
- dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
- __auto_type * cluster = [[MTRBaseClusterRVCCleanMode alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
- __auto_type * params = [[MTRWriteParams alloc] init];
- params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil;
- params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil;
- NSNumber * _Nullable value = nil;
- if (!mValue.IsNull()) {
- value = [NSNumber numberWithUnsignedChar:mValue.Value()];
- }
-
- [cluster writeAttributeStartUpModeWithValue:value params:params completion:^(NSError * _Nullable error) {
- if (error != nil) {
- LogNSError("RVCCleanMode StartUpMode write Error", error);
- RemoteDataModelLogger::LogAttributeErrorAsJSON(@(endpointId), @(clusterId), @(attributeId), error);
- }
- SetCommandExitStatus(error);
- }];
- return CHIP_NO_ERROR;
- }
-
-private:
- chip::app::DataModel::Nullable mValue;
-};
-
-class SubscribeAttributeRvcCleanModeStartUpMode : public SubscribeAttribute {
-public:
- SubscribeAttributeRvcCleanModeStartUpMode()
- : SubscribeAttribute("start-up-mode")
- {
- }
-
- ~SubscribeAttributeRvcCleanModeStartUpMode()
- {
- }
-
- CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
- {
- constexpr chip::ClusterId clusterId = chip::app::Clusters::RvcCleanMode::Id;
- constexpr chip::CommandId attributeId = chip::app::Clusters::RvcCleanMode::Attributes::StartUpMode::Id;
-
- ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") ReportAttribute (0x%08" PRIX32 ") on endpoint %u", clusterId, attributeId, endpointId);
- dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
- __auto_type * cluster = [[MTRBaseClusterRVCCleanMode alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
- __auto_type * params = [[MTRSubscribeParams alloc] initWithMinInterval:@(mMinInterval) maxInterval:@(mMaxInterval)];
- if (mKeepSubscriptions.HasValue()) {
- params.replaceExistingSubscriptions = !mKeepSubscriptions.Value();
- }
- if (mFabricFiltered.HasValue()) {
- params.filterByFabric = mFabricFiltered.Value();
- }
- if (mAutoResubscribe.HasValue()) {
- params.resubscribeAutomatically = mAutoResubscribe.Value();
- }
- [cluster subscribeAttributeStartUpModeWithParams:params
- subscriptionEstablished:^() { mSubscriptionEstablished = YES; }
- reportHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) {
- NSLog(@"RVCCleanMode.StartUpMode response %@", [value description]);
- if (error == nil) {
- RemoteDataModelLogger::LogAttributeAsJSON(@(endpointId), @(clusterId), @(attributeId), value);
- } else {
- RemoteDataModelLogger::LogAttributeErrorAsJSON(@(endpointId), @(clusterId), @(attributeId), error);
- }
- SetCommandExitStatus(error);
- }];
-
- return CHIP_NO_ERROR;
- }
-};
-
-#endif // MTR_ENABLE_PROVISIONAL
-#if MTR_ENABLE_PROVISIONAL
-
/*
* Attribute OnMode
*/
@@ -155774,11 +155514,6 @@ void registerClusterRvcRunMode(Commands & commands)
make_unique(), //
make_unique(), //
#endif // MTR_ENABLE_PROVISIONAL
-#if MTR_ENABLE_PROVISIONAL
- make_unique(), //
- make_unique(), //
- make_unique(), //
-#endif // MTR_ENABLE_PROVISIONAL
#if MTR_ENABLE_PROVISIONAL
make_unique(), //
make_unique(), //
@@ -155836,11 +155571,6 @@ void registerClusterRvcCleanMode(Commands & commands)
make_unique(), //
make_unique(), //
#endif // MTR_ENABLE_PROVISIONAL
-#if MTR_ENABLE_PROVISIONAL
- make_unique(), //
- make_unique(), //
- make_unique(), //
-#endif // MTR_ENABLE_PROVISIONAL
#if MTR_ENABLE_PROVISIONAL
make_unique(), //
make_unique(), //