Skip to content

Commit 2380387

Browse files
fengdx4mideayanghuirestyled-commitsdependabot[bot]andy31415
authored andcommitted
Add microwave oven mode cluster xml (#30018)
* add microwave oven mode cluster xml * zap generated * Restyled by prettier-json * update cluster-revision * updated MicorwaveOvenMode for mode-base-cluster.xml * Bump third_party/imgui/repo from `001f102` to `88fec09` (#30086) Bumps [third_party/imgui/repo](https://github.com/ocornut/imgui) from `001f102` to `88fec09`. - [Release notes](https://github.com/ocornut/imgui/releases) - [Commits](ocornut/imgui@001f102...88fec09) --- updated-dependencies: - dependency-name: third_party/imgui/repo dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump third_party/libwebsockets/repo from `a1cbc02` to `816544f` (#30083) Bumps [third_party/libwebsockets/repo](https://github.com/warmcat/libwebsockets) from `a1cbc02` to `816544f`. - [Commits](warmcat/libwebsockets@a1cbc02...816544f) --- updated-dependencies: - dependency-name: third_party/libwebsockets/repo dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump third_party/ot-br-posix/repo from `69ce2a5` to `184d298` (#30084) Bumps [third_party/ot-br-posix/repo](https://github.com/openthread/ot-br-posix) from `69ce2a5` to `184d298`. - [Release notes](https://github.com/openthread/ot-br-posix/releases) - [Commits](openthread/ot-br-posix@69ce2a5...184d298) --- updated-dependencies: - dependency-name: third_party/ot-br-posix/repo dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Make `Power source configuration cluster` match the spec (minor type change) (#30062) * Type of sources should be endpoint_no instead of raw int8u * Zap regen * Make `Localization Configuration Cluster` match the spec (#30058) * Switch XML to get manage privilege for activeLocale write * ZAP regen * [TI] Feature ti sysconfig 1 16 2 update (#30073) * Update README Files to reference latest SYSCONFIG Version * Update Sysconfig version for CI * Update docker version * [Kotlin] Uses Kotlin's coroutines to handle the asynchronous operation and returns the result directly (#30082) * Update the kotlin type mapping * Remove callback from fun * Update `Temperature Measurement Cluster` to spec (#30093) * Update data type * ZAP regen * esp32: make the shell command line buffer size configurable (#30050) * [nrfconnect] Updated nRF Connect SDK version in Docker to 2.5.0 (#30051) Regular update of nRF Connect SDK to 2.5.0 version including zephyr toolchain and west versions bump. * Make timedInvokeTimeoutMs optional (#30099) * fix MicrowaveOvenMode xml files and re-commit * fix adding MicrowaveOvenMode xml environment problem * revised MicrowaveOvenMode xml for the value of revision * commit to revise revision value and fix environment problem for MicrowaveOvenMode * revised merged src/controller/data_model/BUILD.gn --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: mideayanghui <yanghui65@midea.com> Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrei Litvin <andy314@gmail.com> Co-authored-by: adabreuti <76965454+adabreuti@users.noreply.github.com> Co-authored-by: Yufeng Wang <yufengwang@google.com> Co-authored-by: Wang Qixiang <43193572+wqx6@users.noreply.github.com> Co-authored-by: Kamil Kasperczyk <66371704+kkasperczyk-no@users.noreply.github.com>
1 parent 50905e0 commit 2380387

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3712
-0
lines changed

.github/workflows/tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml \
115115
src/app/zap-templates/zcl/data-model/chip/dishwasher-alarm-cluster.xml \
116116
src/app/zap-templates/zcl/data-model/chip/dishwasher-mode-cluster.xml \
117+
src/app/zap-templates/zcl/data-model/chip/microwave-oven-mode-cluster.xml \
117118
src/app/zap-templates/zcl/data-model/chip/microwave-oven-control-cluster.xml \
118119
src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml \
119120
src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml \

scripts/rules.matterlint

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml";
2525
load "../src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml";
2626
load "../src/app/zap-templates/zcl/data-model/chip/dishwasher-alarm-cluster.xml";
2727
load "../src/app/zap-templates/zcl/data-model/chip/dishwasher-mode-cluster.xml";
28+
load "../src/app/zap-templates/zcl/data-model/chip/microwave-oven-mode-cluster.xml";
2829
load "../src/app/zap-templates/zcl/data-model/chip/microwave-oven-control-cluster.xml";
2930
load "../src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml";
3031
load "../src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml";

src/app/zap-templates/zcl/data-model/all.xml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<xi:include href="chip/diagnostic-logs-cluster.xml" />
2424
<xi:include href="chip/dishwasher-alarm-cluster.xml" />
2525
<xi:include href="chip/dishwasher-mode-cluster.xml" />
26+
<xi:include href="chip/microwave-oven-mode-cluster.xml" />
2627
<xi:include href="chip/microwave-oven-control-cluster.xml" />
2728
<xi:include href="chip/door-lock-cluster.xml" />
2829
<xi:include href="chip/ethernet-network-diagnostics-cluster.xml" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Copyright (c) 2023 Project CHIP Authors
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<configurator>
18+
<domain name="CHIP"/>
19+
20+
<enum name="ModeTag" type="enum16">
21+
<cluster code="0x005E"/>
22+
<item value="0x4000" name="Normal"/>
23+
<item value="0x4001" name="Defrost"/>
24+
</enum>
25+
26+
<cluster apiMaturity="provisional">
27+
<domain>General</domain>
28+
<name>Microwave Oven Mode</name>
29+
<code>0x005E</code>
30+
<define>MICROWAVE_OVEN_MODE_CLUSTER</define>
31+
<client init="false" tick="false">true</client>
32+
<server init="false" tick="false">true</server>
33+
<description>Attributes and commands for selecting a mode from a list of supported options.</description>
34+
<globalAttribute side="either" code="0xFFFD" value="1"/>
35+
<!-- Base data types -->
36+
<attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute>
37+
<attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
38+
</cluster>
39+
</configurator>

src/app/zap-templates/zcl/data-model/chip/mode-base-cluster.xml

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This is because zap does not currently support generating code for clusters that
2929
<cluster code="0x0054"/>
3030
<cluster code="0x0055"/>
3131
<cluster code="0x0059"/>
32+
<cluster code="0x005E"/>
3233
<!-- MfgCode has been deprecated -->
3334
<item name="MfgCode" type="vendor_id" optional="true"/>
3435
<item name="Value" type="enum16" optional="false"/>
@@ -40,6 +41,7 @@ This is because zap does not currently support generating code for clusters that
4041
<cluster code="0x0054"/>
4142
<cluster code="0x0055"/>
4243
<cluster code="0x0059"/>
44+
<cluster code="0x005E"/>
4345
<item name="Label" type="char_string" length="64" optional="false"/>
4446
<item name="Mode" type="int8u" optional="false"/>
4547
<item name="ModeTags" type="ModeTagStruct" array="true" length="8" optional="false"/>
@@ -85,6 +87,7 @@ This is because zap does not currently support generating code for clusters that
8587
<cluster code="0x0054"/>
8688
<cluster code="0x0055"/>
8789
<cluster code="0x0059"/>
90+
<cluster code="0x005E"/>
8891
<field name="OnOff" mask="0x1"/>
8992
</bitmap>
9093
</configurator>

src/app/zap-templates/zcl/zcl-with-test-extensions.json

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"diagnostic-logs-cluster.xml",
3838
"dishwasher-alarm-cluster.xml",
3939
"dishwasher-mode-cluster.xml",
40+
"microwave-oven-mode-cluster.xml",
4041
"microwave-oven-control-cluster.xml",
4142
"door-lock-cluster.xml",
4243
"electrical-measurement-cluster.xml",
@@ -325,6 +326,7 @@
325326
"OnMode",
326327
"FeatureMap"
327328
],
329+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
328330
"Laundry Washer Mode": [
329331
"SupportedModes",
330332
"CurrentMode",

src/app/zap-templates/zcl/zcl.json

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"diagnostic-logs-cluster.xml",
3737
"dishwasher-alarm-cluster.xml",
3838
"dishwasher-mode-cluster.xml",
39+
"microwave-oven-mode-cluster.xml",
3940
"door-lock-cluster.xml",
4041
"electrical-measurement-cluster.xml",
4142
"ethernet-network-diagnostics-cluster.xml",
@@ -323,6 +324,7 @@
323324
"OnMode",
324325
"FeatureMap"
325326
],
327+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
326328
"Laundry Washer Mode": [
327329
"SupportedModes",
328330
"CurrentMode",

src/app/zap_cluster_list.json

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"DIAGNOSTIC_LOGS_CLUSTER": [],
3030
"DISHWASHER_ALARM_CLUSTER": [],
3131
"DISHWASHER_MODE_CLUSTER": [],
32+
"MICROWAVE_OVEN_MODE_CLUSTER": [],
3233
"DOOR_LOCK_CLUSTER": [],
3334
"ELECTRICAL_MEASUREMENT_CLUSTER": [],
3435
"ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER": [],
@@ -153,6 +154,7 @@
153154
"DIAGNOSTIC_LOGS_CLUSTER": ["diagnostic-logs-server"],
154155
"DISHWASHER_ALARM_CLUSTER": ["dishwasher-alarm-server"],
155156
"DISHWASHER_MODE_CLUSTER": ["mode-base-server"],
157+
"MICROWAVE_OVEN_MODE_CLUSTER": ["mode-base-server"],
156158
"DOOR_LOCK_CLUSTER": ["door-lock-server"],
157159
"ELECTRICAL_MEASUREMENT_CLUSTER": [],
158160
"ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER": [

src/controller/data_model/BUILD.gn

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ if (current_os == "android" || matter_enable_java_compilation) {
114114
"jni/DishwasherAlarmClient-ReadImpl.cpp",
115115
"jni/DishwasherModeClient-InvokeSubscribeImpl.cpp",
116116
"jni/DishwasherModeClient-ReadImpl.cpp",
117+
"jni/MicrowaveOvenModeClient-InvokeSubscribeImpl.cpp",
118+
"jni/MicrowaveOvenModeClient-ReadImpl.cpp",
117119
"jni/MicrowaveOvenControlClient-InvokeSubscribeImpl.cpp",
118120
"jni/MicrowaveOvenControlClient-ReadImpl.cpp",
119121
"jni/DoorLockClient-InvokeSubscribeImpl.cpp",

src/controller/data_model/controller-clusters.matter

+32
Original file line numberDiff line numberDiff line change
@@ -3357,6 +3357,38 @@ client cluster DishwasherAlarm = 93 {
33573357
command ModifyEnabledAlarms(ModifyEnabledAlarmsRequest): DefaultSuccess = 1;
33583358
}
33593359

3360+
/** Attributes and commands for selecting a mode from a list of supported options. */
3361+
provisional client cluster MicrowaveOvenMode = 94 {
3362+
enum ModeTag : enum16 {
3363+
kNormal = 16384;
3364+
kDefrost = 16385;
3365+
}
3366+
3367+
bitmap Feature : bitmap32 {
3368+
kOnOff = 0x1;
3369+
}
3370+
3371+
struct ModeTagStruct {
3372+
optional vendor_id mfgCode = 0;
3373+
enum16 value = 1;
3374+
}
3375+
3376+
struct ModeOptionStruct {
3377+
char_string<64> label = 0;
3378+
int8u mode = 1;
3379+
ModeTagStruct modeTags[] = 2;
3380+
}
3381+
3382+
readonly attribute ModeOptionStruct supportedModes[] = 0;
3383+
readonly attribute int8u currentMode = 1;
3384+
readonly attribute command_id generatedCommandList[] = 65528;
3385+
readonly attribute command_id acceptedCommandList[] = 65529;
3386+
readonly attribute event_id eventList[] = 65530;
3387+
readonly attribute attrib_id attributeList[] = 65531;
3388+
readonly attribute bitmap32 featureMap = 65532;
3389+
readonly attribute int16u clusterRevision = 65533;
3390+
}
3391+
33603392
/** Attributes and commands for configuring the microwave oven control, and reporting cooking stats. */
33613393
provisional client cluster MicrowaveOvenControl = 95 {
33623394
readonly attribute elapsed_s cookTime = 1;

src/controller/data_model/controller-clusters.zap

+42
Original file line numberDiff line numberDiff line change
@@ -2601,6 +2601,48 @@
26012601
}
26022602
]
26032603
},
2604+
{
2605+
"name": "Microwave Oven Mode",
2606+
"code": 94,
2607+
"mfgCode": null,
2608+
"define": "MICROWAVE_OVEN_MODE_CLUSTER",
2609+
"side": "client",
2610+
"enabled": 1,
2611+
"attributes": [
2612+
{
2613+
"name": "FeatureMap",
2614+
"code": 65532,
2615+
"mfgCode": null,
2616+
"side": "client",
2617+
"type": "bitmap32",
2618+
"included": 1,
2619+
"storageOption": "External",
2620+
"singleton": 0,
2621+
"bounded": 0,
2622+
"defaultValue": "0",
2623+
"reportable": 1,
2624+
"minInterval": 1,
2625+
"maxInterval": 65534,
2626+
"reportableChange": 0
2627+
},
2628+
{
2629+
"name": "ClusterRevision",
2630+
"code": 65533,
2631+
"mfgCode": null,
2632+
"side": "client",
2633+
"type": "int16u",
2634+
"included": 1,
2635+
"storageOption": "RAM",
2636+
"singleton": 0,
2637+
"bounded": 0,
2638+
"defaultValue": "1",
2639+
"reportable": 1,
2640+
"minInterval": 1,
2641+
"maxInterval": 65534,
2642+
"reportableChange": 0
2643+
}
2644+
]
2645+
},
26042646
{
26052647
"name": "Operational State",
26062648
"code": 96,

src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java

+153
Original file line numberDiff line numberDiff line change
@@ -13655,6 +13655,159 @@ public void subscribeClusterRevisionAttribute(
1365513655
private native void subscribeClusterRevisionAttribute(long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
1365613656
}
1365713657

13658+
public static class MicrowaveOvenModeCluster extends BaseChipCluster {
13659+
public static final long CLUSTER_ID = 94L;
13660+
13661+
public MicrowaveOvenModeCluster(long devicePtr, int endpointId) {
13662+
super(devicePtr, endpointId);
13663+
}
13664+
13665+
@Override
13666+
public native long initWithDevice(long devicePtr, int endpointId);
13667+
13668+
public interface SupportedModesAttributeCallback {
13669+
void onSuccess(List<ChipStructs.MicrowaveOvenModeClusterModeOptionStruct> value);
13670+
void onError(Exception ex);
13671+
default void onSubscriptionEstablished(long subscriptionId) {}
13672+
}
13673+
13674+
public interface GeneratedCommandListAttributeCallback {
13675+
void onSuccess(List<Long> value);
13676+
void onError(Exception ex);
13677+
default void onSubscriptionEstablished(long subscriptionId) {}
13678+
}
13679+
13680+
public interface AcceptedCommandListAttributeCallback {
13681+
void onSuccess(List<Long> value);
13682+
void onError(Exception ex);
13683+
default void onSubscriptionEstablished(long subscriptionId) {}
13684+
}
13685+
13686+
public interface EventListAttributeCallback {
13687+
void onSuccess(List<Long> value);
13688+
void onError(Exception ex);
13689+
default void onSubscriptionEstablished(long subscriptionId) {}
13690+
}
13691+
13692+
public interface AttributeListAttributeCallback {
13693+
void onSuccess(List<Long> value);
13694+
void onError(Exception ex);
13695+
default void onSubscriptionEstablished(long subscriptionId) {}
13696+
}
13697+
13698+
public void readSupportedModesAttribute(
13699+
SupportedModesAttributeCallback callback) {
13700+
readSupportedModesAttribute(chipClusterPtr, callback);
13701+
}
13702+
13703+
public void subscribeSupportedModesAttribute(
13704+
SupportedModesAttributeCallback callback, int minInterval, int maxInterval) {
13705+
subscribeSupportedModesAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13706+
}
13707+
13708+
public void readCurrentModeAttribute(
13709+
IntegerAttributeCallback callback) {
13710+
readCurrentModeAttribute(chipClusterPtr, callback);
13711+
}
13712+
13713+
public void subscribeCurrentModeAttribute(
13714+
IntegerAttributeCallback callback, int minInterval, int maxInterval) {
13715+
subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13716+
}
13717+
13718+
public void readGeneratedCommandListAttribute(
13719+
GeneratedCommandListAttributeCallback callback) {
13720+
readGeneratedCommandListAttribute(chipClusterPtr, callback);
13721+
}
13722+
13723+
public void subscribeGeneratedCommandListAttribute(
13724+
GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
13725+
subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13726+
}
13727+
13728+
public void readAcceptedCommandListAttribute(
13729+
AcceptedCommandListAttributeCallback callback) {
13730+
readAcceptedCommandListAttribute(chipClusterPtr, callback);
13731+
}
13732+
13733+
public void subscribeAcceptedCommandListAttribute(
13734+
AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
13735+
subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13736+
}
13737+
13738+
public void readEventListAttribute(
13739+
EventListAttributeCallback callback) {
13740+
readEventListAttribute(chipClusterPtr, callback);
13741+
}
13742+
13743+
public void subscribeEventListAttribute(
13744+
EventListAttributeCallback callback, int minInterval, int maxInterval) {
13745+
subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13746+
}
13747+
13748+
public void readAttributeListAttribute(
13749+
AttributeListAttributeCallback callback) {
13750+
readAttributeListAttribute(chipClusterPtr, callback);
13751+
}
13752+
13753+
public void subscribeAttributeListAttribute(
13754+
AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
13755+
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13756+
}
13757+
13758+
public void readFeatureMapAttribute(
13759+
LongAttributeCallback callback) {
13760+
readFeatureMapAttribute(chipClusterPtr, callback);
13761+
}
13762+
13763+
public void subscribeFeatureMapAttribute(
13764+
LongAttributeCallback callback, int minInterval, int maxInterval) {
13765+
subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13766+
}
13767+
13768+
public void readClusterRevisionAttribute(
13769+
IntegerAttributeCallback callback) {
13770+
readClusterRevisionAttribute(chipClusterPtr, callback);
13771+
}
13772+
13773+
public void subscribeClusterRevisionAttribute(
13774+
IntegerAttributeCallback callback, int minInterval, int maxInterval) {
13775+
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
13776+
}
13777+
13778+
private native void readSupportedModesAttribute(long chipClusterPtr, SupportedModesAttributeCallback callback);
13779+
13780+
private native void subscribeSupportedModesAttribute(long chipClusterPtr, SupportedModesAttributeCallback callback, int minInterval, int maxInterval);
13781+
13782+
private native void readCurrentModeAttribute(long chipClusterPtr, IntegerAttributeCallback callback);
13783+
13784+
private native void subscribeCurrentModeAttribute(long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
13785+
13786+
private native void readGeneratedCommandListAttribute(long chipClusterPtr, GeneratedCommandListAttributeCallback callback);
13787+
13788+
private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval);
13789+
13790+
private native void readAcceptedCommandListAttribute(long chipClusterPtr, AcceptedCommandListAttributeCallback callback);
13791+
13792+
private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval);
13793+
13794+
private native void readEventListAttribute(long chipClusterPtr, EventListAttributeCallback callback);
13795+
13796+
private native void subscribeEventListAttribute(long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval);
13797+
13798+
private native void readAttributeListAttribute(long chipClusterPtr, AttributeListAttributeCallback callback);
13799+
13800+
private native void subscribeAttributeListAttribute(long chipClusterPtr, AttributeListAttributeCallback callback, int minInterval, int maxInterval);
13801+
13802+
private native void readFeatureMapAttribute(long chipClusterPtr, LongAttributeCallback callback);
13803+
13804+
private native void subscribeFeatureMapAttribute(long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval);
13805+
13806+
private native void readClusterRevisionAttribute(long chipClusterPtr, IntegerAttributeCallback callback);
13807+
13808+
private native void subscribeClusterRevisionAttribute(long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
13809+
}
13810+
1365813811
public static class MicrowaveOvenControlCluster extends BaseChipCluster {
1365913812
public static final long CLUSTER_ID = 95L;
1366013813

0 commit comments

Comments
 (0)