diff --git a/.restyled.yaml b/.restyled.yaml index 33db552694c1f3..75613cbb95619e 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -79,6 +79,7 @@ exclude: - "src/darwin/Framework/CHIP/zap-generated/*" # already clang-formatted by our zap tooling - "zzz_generated/**/*" # already clang-formatted by our zap tooling - "src/controller/java/generated/java/**/*" # not formatted: generated files + - "src/controller/java/zap-generated/**/*" # not formatted: generated files changed_paths: diff --git a/scripts/tools/zap/generate.py b/scripts/tools/zap/generate.py index 6bcc94d734f22c..cb932b0cefc2eb 100755 --- a/scripts/tools/zap/generate.py +++ b/scripts/tools/zap/generate.py @@ -254,33 +254,6 @@ def runClangPrettifier(templates_file, output_dir): print('clang-format error:', err) -def runJavaPrettifier(templates_file, output_dir): - try: - jsonData = json.loads(Path(templates_file).read_text()) - outputs = [(os.path.join(output_dir, template['output'])) - for template in jsonData['templates']] - javaOutputs = list( - filter(lambda filepath: os.path.splitext(filepath)[1] == ".java", outputs)) - - if len(javaOutputs) > 0: - # Keep this version in sync with what restyler uses (https://github.com/project-chip/connectedhomeip/blob/master/.restyled.yaml). - google_java_format_version = "1.6" - google_java_format_url = 'https://github.com/google/google-java-format/releases/download/google-java-format-' + \ - google_java_format_version + '/' - google_java_format_jar = 'google-java-format-' + \ - google_java_format_version + '-all-deps.jar' - jar_url = google_java_format_url + google_java_format_jar - - home = str(Path.home()) - path, http_message = urllib.request.urlretrieve( - jar_url, home + '/' + google_java_format_jar) - args = ['java', '-jar', path, '--replace'] - args.extend(javaOutputs) - subprocess.check_call(args) - except Exception as err: - print('google-java-format error:', err) - - class LockFileSerializer: def __init__(self, path): self.lock_file_path = path @@ -329,7 +302,6 @@ def main(): if cmdLineArgs.prettify_output: prettifiers = [ runClangPrettifier, - runJavaPrettifier, ] for prettifier in prettifiers: diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java index d689415d39e7dd..ea9efbb960d7f7 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java @@ -18,78 +18,64 @@ // THIS FILE IS GENERATED BY ZAP package chip.devicecontroller; +import javax.annotation.Nullable; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import java.util.Optional; -import javax.annotation.Nullable; public class ChipClusters { public interface DefaultClusterCallback { void onSuccess(); - void onError(Exception error); } public interface CharStringAttributeCallback { /** Indicates a successful read for a CHAR_STRING attribute. */ void onSuccess(String value); - void onError(Exception error); - default void onSubscriptionEstablished(long subscriptionId) {} } public interface OctetStringAttributeCallback { /** Indicates a successful read for an OCTET_STRING attribute. */ void onSuccess(byte[] value); - void onError(Exception error); - default void onSubscriptionEstablished(long subscriptionId) {} } public interface IntegerAttributeCallback { void onSuccess(int value); - void onError(Exception error); - default void onSubscriptionEstablished(long subscriptionId) {} } public interface LongAttributeCallback { void onSuccess(long value); - void onError(Exception error); - default void onSubscriptionEstablished(long subscriptionId) {} } public interface BooleanAttributeCallback { void onSuccess(boolean value); - void onError(Exception error); - default void onSubscriptionEstablished(long subscriptionId) {} } public interface FloatAttributeCallback { void onSuccess(float value); - void onError(Exception error); - default void onSubscriptionEstablished(long subscriptionId) {} } public interface DoubleAttributeCallback { void onSuccess(double value); - void onError(Exception error); - default void onSubscriptionEstablished(long subscriptionId) {} } - public abstract static class BaseChipCluster { + public static abstract class BaseChipCluster { protected long chipClusterPtr; public BaseChipCluster(long devicePtr, int endpointId) { @@ -118,7 +104,7 @@ public Optional getCommandTimeout() { public abstract long initWithDevice(long devicePtr, int endpointId); public native void deleteCluster(long chipClusterPtr); - + @SuppressWarnings("deprecation") protected void finalize() throws Throwable { super.finalize(); @@ -140,217 +126,215 @@ public IdentifyCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void identify(DefaultClusterCallback callback, Integer identifyTime) { + public void identify(DefaultClusterCallback callback + , Integer identifyTime) { identify(chipClusterPtr, callback, identifyTime, null); } - public void identify( - DefaultClusterCallback callback, Integer identifyTime, int timedInvokeTimeoutMs) { + public void identify(DefaultClusterCallback callback + , Integer identifyTime + , int timedInvokeTimeoutMs) { identify(chipClusterPtr, callback, identifyTime, timedInvokeTimeoutMs); } - public void triggerEffect( - DefaultClusterCallback callback, Integer effectIdentifier, Integer effectVariant) { + public void triggerEffect(DefaultClusterCallback callback + , Integer effectIdentifier, Integer effectVariant) { triggerEffect(chipClusterPtr, callback, effectIdentifier, effectVariant, null); } - public void triggerEffect( - DefaultClusterCallback callback, - Integer effectIdentifier, - Integer effectVariant, - int timedInvokeTimeoutMs) { - triggerEffect( - chipClusterPtr, callback, effectIdentifier, effectVariant, timedInvokeTimeoutMs); - } - - private native void identify( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer identifyTime, - @Nullable Integer timedInvokeTimeoutMs); - - private native void triggerEffect( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer effectIdentifier, - Integer effectVariant, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void triggerEffect(DefaultClusterCallback callback + , Integer effectIdentifier, Integer effectVariant + , int timedInvokeTimeoutMs) { + triggerEffect(chipClusterPtr, callback, effectIdentifier, effectVariant, timedInvokeTimeoutMs); } + private native void identify(long chipClusterPtr, DefaultClusterCallback Callback + , Integer identifyTime + , @Nullable Integer timedInvokeTimeoutMs); + private native void triggerEffect(long chipClusterPtr, DefaultClusterCallback Callback + , Integer effectIdentifier, Integer effectVariant + , @Nullable Integer timedInvokeTimeoutMs); - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readIdentifyTimeAttribute(IntegerAttributeCallback callback) { + public void readIdentifyTimeAttribute( + IntegerAttributeCallback callback + ) { readIdentifyTimeAttribute(chipClusterPtr, callback); } - public void writeIdentifyTimeAttribute(DefaultClusterCallback callback, Integer value) { writeIdentifyTimeAttribute(chipClusterPtr, callback, value, null); } - public void writeIdentifyTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeIdentifyTimeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeIdentifyTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeIdentifyTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeIdentifyTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readIdentifyTypeAttribute(IntegerAttributeCallback callback) { + public void readIdentifyTypeAttribute( + IntegerAttributeCallback callback + ) { readIdentifyTypeAttribute(chipClusterPtr, callback); } - public void subscribeIdentifyTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeIdentifyTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readIdentifyTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeIdentifyTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeIdentifyTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readIdentifyTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeIdentifyTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readIdentifyTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeIdentifyTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeIdentifyTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readIdentifyTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeIdentifyTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class GroupsCluster extends BaseChipCluster { @@ -363,276 +347,267 @@ public GroupsCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void addGroup(AddGroupResponseCallback callback, Integer groupID, String groupName) { + public void addGroup(AddGroupResponseCallback callback + , Integer groupID, String groupName) { addGroup(chipClusterPtr, callback, groupID, groupName, null); } - public void addGroup( - AddGroupResponseCallback callback, - Integer groupID, - String groupName, - int timedInvokeTimeoutMs) { + public void addGroup(AddGroupResponseCallback callback + , Integer groupID, String groupName + , int timedInvokeTimeoutMs) { addGroup(chipClusterPtr, callback, groupID, groupName, timedInvokeTimeoutMs); } - public void viewGroup(ViewGroupResponseCallback callback, Integer groupID) { + public void viewGroup(ViewGroupResponseCallback callback + , Integer groupID) { viewGroup(chipClusterPtr, callback, groupID, null); } - public void viewGroup( - ViewGroupResponseCallback callback, Integer groupID, int timedInvokeTimeoutMs) { + public void viewGroup(ViewGroupResponseCallback callback + , Integer groupID + , int timedInvokeTimeoutMs) { viewGroup(chipClusterPtr, callback, groupID, timedInvokeTimeoutMs); } - public void getGroupMembership( - GetGroupMembershipResponseCallback callback, ArrayList groupList) { + public void getGroupMembership(GetGroupMembershipResponseCallback callback + , ArrayList groupList) { getGroupMembership(chipClusterPtr, callback, groupList, null); } - public void getGroupMembership( - GetGroupMembershipResponseCallback callback, - ArrayList groupList, - int timedInvokeTimeoutMs) { + public void getGroupMembership(GetGroupMembershipResponseCallback callback + , ArrayList groupList + , int timedInvokeTimeoutMs) { getGroupMembership(chipClusterPtr, callback, groupList, timedInvokeTimeoutMs); } - public void removeGroup(RemoveGroupResponseCallback callback, Integer groupID) { + public void removeGroup(RemoveGroupResponseCallback callback + , Integer groupID) { removeGroup(chipClusterPtr, callback, groupID, null); } - public void removeGroup( - RemoveGroupResponseCallback callback, Integer groupID, int timedInvokeTimeoutMs) { + public void removeGroup(RemoveGroupResponseCallback callback + , Integer groupID + , int timedInvokeTimeoutMs) { removeGroup(chipClusterPtr, callback, groupID, timedInvokeTimeoutMs); } - public void removeAllGroups(DefaultClusterCallback callback) { + public void removeAllGroups(DefaultClusterCallback callback + ) { removeAllGroups(chipClusterPtr, callback, null); } - public void removeAllGroups(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void removeAllGroups(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { removeAllGroups(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void addGroupIfIdentifying( - DefaultClusterCallback callback, Integer groupID, String groupName) { + public void addGroupIfIdentifying(DefaultClusterCallback callback + , Integer groupID, String groupName) { addGroupIfIdentifying(chipClusterPtr, callback, groupID, groupName, null); } - public void addGroupIfIdentifying( - DefaultClusterCallback callback, - Integer groupID, - String groupName, - int timedInvokeTimeoutMs) { + public void addGroupIfIdentifying(DefaultClusterCallback callback + , Integer groupID, String groupName + , int timedInvokeTimeoutMs) { addGroupIfIdentifying(chipClusterPtr, callback, groupID, groupName, timedInvokeTimeoutMs); } - - private native void addGroup( - long chipClusterPtr, - AddGroupResponseCallback Callback, - Integer groupID, - String groupName, - @Nullable Integer timedInvokeTimeoutMs); - - private native void viewGroup( - long chipClusterPtr, - ViewGroupResponseCallback Callback, - Integer groupID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getGroupMembership( - long chipClusterPtr, - GetGroupMembershipResponseCallback Callback, - ArrayList groupList, - @Nullable Integer timedInvokeTimeoutMs); - - private native void removeGroup( - long chipClusterPtr, - RemoveGroupResponseCallback Callback, - Integer groupID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void removeAllGroups( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void addGroupIfIdentifying( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer groupID, - String groupName, - @Nullable Integer timedInvokeTimeoutMs); - + private native void addGroup(long chipClusterPtr, AddGroupResponseCallback Callback + , Integer groupID, String groupName + , @Nullable Integer timedInvokeTimeoutMs); + private native void viewGroup(long chipClusterPtr, ViewGroupResponseCallback Callback + , Integer groupID + , @Nullable Integer timedInvokeTimeoutMs); + private native void getGroupMembership(long chipClusterPtr, GetGroupMembershipResponseCallback Callback + , ArrayList groupList + , @Nullable Integer timedInvokeTimeoutMs); + private native void removeGroup(long chipClusterPtr, RemoveGroupResponseCallback Callback + , Integer groupID + , @Nullable Integer timedInvokeTimeoutMs); + private native void removeAllGroups(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void addGroupIfIdentifying(long chipClusterPtr, DefaultClusterCallback Callback + , Integer groupID, String groupName + , @Nullable Integer timedInvokeTimeoutMs); public interface AddGroupResponseCallback { void onSuccess(Integer status, Integer groupID); - + void onError(Exception error); } public interface ViewGroupResponseCallback { void onSuccess(Integer status, Integer groupID, String groupName); - + void onError(Exception error); } public interface GetGroupMembershipResponseCallback { void onSuccess(@Nullable Integer capacity, ArrayList groupList); - + void onError(Exception error); } public interface RemoveGroupResponseCallback { void onSuccess(Integer status, Integer groupID); - + void onError(Exception error); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readNameSupportAttribute(IntegerAttributeCallback callback) { + public void readNameSupportAttribute( + IntegerAttributeCallback callback + ) { readNameSupportAttribute(chipClusterPtr, callback); } - public void subscribeNameSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeNameSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readNameSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeNameSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readNameSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNameSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class ScenesCluster extends BaseChipCluster { @@ -645,473 +620,431 @@ public ScenesCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void addScene( - AddSceneResponseCallback callback, - Integer groupID, - Integer sceneID, - Integer transitionTime, - String sceneName, - ArrayList extensionFieldSets) { - addScene( - chipClusterPtr, - callback, - groupID, - sceneID, - transitionTime, - sceneName, - extensionFieldSets, - null); - } - - public void addScene( - AddSceneResponseCallback callback, - Integer groupID, - Integer sceneID, - Integer transitionTime, - String sceneName, - ArrayList extensionFieldSets, - int timedInvokeTimeoutMs) { - addScene( - chipClusterPtr, - callback, - groupID, - sceneID, - transitionTime, - sceneName, - extensionFieldSets, - timedInvokeTimeoutMs); - } - - public void viewScene(ViewSceneResponseCallback callback, Integer groupID, Integer sceneID) { + public void addScene(AddSceneResponseCallback callback + , Integer groupID, Integer sceneID, Integer transitionTime, String sceneName, ArrayList extensionFieldSets) { + addScene(chipClusterPtr, callback, groupID, sceneID, transitionTime, sceneName, extensionFieldSets, null); + } + + public void addScene(AddSceneResponseCallback callback + , Integer groupID, Integer sceneID, Integer transitionTime, String sceneName, ArrayList extensionFieldSets + , int timedInvokeTimeoutMs) { + addScene(chipClusterPtr, callback, groupID, sceneID, transitionTime, sceneName, extensionFieldSets, timedInvokeTimeoutMs); + } + + public void viewScene(ViewSceneResponseCallback callback + , Integer groupID, Integer sceneID) { viewScene(chipClusterPtr, callback, groupID, sceneID, null); } - public void viewScene( - ViewSceneResponseCallback callback, - Integer groupID, - Integer sceneID, - int timedInvokeTimeoutMs) { + public void viewScene(ViewSceneResponseCallback callback + , Integer groupID, Integer sceneID + , int timedInvokeTimeoutMs) { viewScene(chipClusterPtr, callback, groupID, sceneID, timedInvokeTimeoutMs); } - public void removeScene( - RemoveSceneResponseCallback callback, Integer groupID, Integer sceneID) { + public void removeScene(RemoveSceneResponseCallback callback + , Integer groupID, Integer sceneID) { removeScene(chipClusterPtr, callback, groupID, sceneID, null); } - public void removeScene( - RemoveSceneResponseCallback callback, - Integer groupID, - Integer sceneID, - int timedInvokeTimeoutMs) { + public void removeScene(RemoveSceneResponseCallback callback + , Integer groupID, Integer sceneID + , int timedInvokeTimeoutMs) { removeScene(chipClusterPtr, callback, groupID, sceneID, timedInvokeTimeoutMs); } - public void removeAllScenes(RemoveAllScenesResponseCallback callback, Integer groupID) { + public void removeAllScenes(RemoveAllScenesResponseCallback callback + , Integer groupID) { removeAllScenes(chipClusterPtr, callback, groupID, null); } - public void removeAllScenes( - RemoveAllScenesResponseCallback callback, Integer groupID, int timedInvokeTimeoutMs) { + public void removeAllScenes(RemoveAllScenesResponseCallback callback + , Integer groupID + , int timedInvokeTimeoutMs) { removeAllScenes(chipClusterPtr, callback, groupID, timedInvokeTimeoutMs); } - public void storeScene(StoreSceneResponseCallback callback, Integer groupID, Integer sceneID) { + public void storeScene(StoreSceneResponseCallback callback + , Integer groupID, Integer sceneID) { storeScene(chipClusterPtr, callback, groupID, sceneID, null); } - public void storeScene( - StoreSceneResponseCallback callback, - Integer groupID, - Integer sceneID, - int timedInvokeTimeoutMs) { + public void storeScene(StoreSceneResponseCallback callback + , Integer groupID, Integer sceneID + , int timedInvokeTimeoutMs) { storeScene(chipClusterPtr, callback, groupID, sceneID, timedInvokeTimeoutMs); } - public void recallScene( - DefaultClusterCallback callback, - Integer groupID, - Integer sceneID, - @Nullable Optional transitionTime) { + public void recallScene(DefaultClusterCallback callback + , Integer groupID, Integer sceneID, @Nullable Optional transitionTime) { recallScene(chipClusterPtr, callback, groupID, sceneID, transitionTime, null); } - public void recallScene( - DefaultClusterCallback callback, - Integer groupID, - Integer sceneID, - @Nullable Optional transitionTime, - int timedInvokeTimeoutMs) { + public void recallScene(DefaultClusterCallback callback + , Integer groupID, Integer sceneID, @Nullable Optional transitionTime + , int timedInvokeTimeoutMs) { recallScene(chipClusterPtr, callback, groupID, sceneID, transitionTime, timedInvokeTimeoutMs); } - public void getSceneMembership(GetSceneMembershipResponseCallback callback, Integer groupID) { + public void getSceneMembership(GetSceneMembershipResponseCallback callback + , Integer groupID) { getSceneMembership(chipClusterPtr, callback, groupID, null); } - public void getSceneMembership( - GetSceneMembershipResponseCallback callback, Integer groupID, int timedInvokeTimeoutMs) { + public void getSceneMembership(GetSceneMembershipResponseCallback callback + , Integer groupID + , int timedInvokeTimeoutMs) { getSceneMembership(chipClusterPtr, callback, groupID, timedInvokeTimeoutMs); } - - private native void addScene( - long chipClusterPtr, - AddSceneResponseCallback Callback, - Integer groupID, - Integer sceneID, - Integer transitionTime, - String sceneName, - ArrayList extensionFieldSets, - @Nullable Integer timedInvokeTimeoutMs); - - private native void viewScene( - long chipClusterPtr, - ViewSceneResponseCallback Callback, - Integer groupID, - Integer sceneID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void removeScene( - long chipClusterPtr, - RemoveSceneResponseCallback Callback, - Integer groupID, - Integer sceneID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void removeAllScenes( - long chipClusterPtr, - RemoveAllScenesResponseCallback Callback, - Integer groupID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void storeScene( - long chipClusterPtr, - StoreSceneResponseCallback Callback, - Integer groupID, - Integer sceneID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void recallScene( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer groupID, - Integer sceneID, - @Nullable Optional transitionTime, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getSceneMembership( - long chipClusterPtr, - GetSceneMembershipResponseCallback Callback, - Integer groupID, - @Nullable Integer timedInvokeTimeoutMs); - + private native void addScene(long chipClusterPtr, AddSceneResponseCallback Callback + , Integer groupID, Integer sceneID, Integer transitionTime, String sceneName, ArrayList extensionFieldSets + , @Nullable Integer timedInvokeTimeoutMs); + private native void viewScene(long chipClusterPtr, ViewSceneResponseCallback Callback + , Integer groupID, Integer sceneID + , @Nullable Integer timedInvokeTimeoutMs); + private native void removeScene(long chipClusterPtr, RemoveSceneResponseCallback Callback + , Integer groupID, Integer sceneID + , @Nullable Integer timedInvokeTimeoutMs); + private native void removeAllScenes(long chipClusterPtr, RemoveAllScenesResponseCallback Callback + , Integer groupID + , @Nullable Integer timedInvokeTimeoutMs); + private native void storeScene(long chipClusterPtr, StoreSceneResponseCallback Callback + , Integer groupID, Integer sceneID + , @Nullable Integer timedInvokeTimeoutMs); + private native void recallScene(long chipClusterPtr, DefaultClusterCallback Callback + , Integer groupID, Integer sceneID, @Nullable Optional transitionTime + , @Nullable Integer timedInvokeTimeoutMs); + private native void getSceneMembership(long chipClusterPtr, GetSceneMembershipResponseCallback Callback + , Integer groupID + , @Nullable Integer timedInvokeTimeoutMs); public interface AddSceneResponseCallback { void onSuccess(Integer status, Integer groupID, Integer sceneID); - + void onError(Exception error); } public interface ViewSceneResponseCallback { - void onSuccess( - Integer status, - Integer groupID, - Integer sceneID, - Optional transitionTime, - Optional sceneName, - Optional> extensionFieldSets); - + void onSuccess(Integer status, Integer groupID, Integer sceneID, Optional transitionTime, Optional sceneName, Optional> extensionFieldSets); + void onError(Exception error); } public interface RemoveSceneResponseCallback { void onSuccess(Integer status, Integer groupID, Integer sceneID); - + void onError(Exception error); } public interface RemoveAllScenesResponseCallback { void onSuccess(Integer status, Integer groupID); - + void onError(Exception error); } public interface StoreSceneResponseCallback { void onSuccess(Integer status, Integer groupID, Integer sceneID); - + void onError(Exception error); } public interface GetSceneMembershipResponseCallback { - void onSuccess( - Integer status, - @Nullable Integer capacity, - Integer groupID, - Optional> sceneList); - + void onSuccess(Integer status, @Nullable Integer capacity, Integer groupID, Optional> sceneList); + void onError(Exception error); } - public interface LastConfiguredByAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface LastConfiguredByAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readSceneCountAttribute(IntegerAttributeCallback callback) { + public void readSceneCountAttribute( + IntegerAttributeCallback callback + ) { readSceneCountAttribute(chipClusterPtr, callback); } - public void subscribeSceneCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSceneCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentSceneAttribute(IntegerAttributeCallback callback) { + public void readCurrentSceneAttribute( + IntegerAttributeCallback callback + ) { readCurrentSceneAttribute(chipClusterPtr, callback); } - public void subscribeCurrentSceneAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeCurrentSceneAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentGroupAttribute(IntegerAttributeCallback callback) { + public void readCurrentGroupAttribute( + IntegerAttributeCallback callback + ) { readCurrentGroupAttribute(chipClusterPtr, callback); } - public void subscribeCurrentGroupAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeCurrentGroupAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSceneValidAttribute(BooleanAttributeCallback callback) { + public void readSceneValidAttribute( + BooleanAttributeCallback callback + ) { readSceneValidAttribute(chipClusterPtr, callback); } - public void subscribeSceneValidAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSceneValidAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNameSupportAttribute(IntegerAttributeCallback callback) { + public void readNameSupportAttribute( + IntegerAttributeCallback callback + ) { readNameSupportAttribute(chipClusterPtr, callback); } - public void subscribeNameSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeNameSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLastConfiguredByAttribute(LastConfiguredByAttributeCallback callback) { + public void readLastConfiguredByAttribute( + LastConfiguredByAttributeCallback callback + ) { readLastConfiguredByAttribute(chipClusterPtr, callback); } - public void subscribeLastConfiguredByAttribute( - LastConfiguredByAttributeCallback callback, int minInterval, int maxInterval) { + LastConfiguredByAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeLastConfiguredByAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSceneTableSizeAttribute(IntegerAttributeCallback callback) { + public void readSceneTableSizeAttribute( + IntegerAttributeCallback callback + ) { readSceneTableSizeAttribute(chipClusterPtr, callback); } - public void subscribeSceneTableSizeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSceneTableSizeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRemainingCapacityAttribute(IntegerAttributeCallback callback) { + public void readRemainingCapacityAttribute( + IntegerAttributeCallback callback + ) { readRemainingCapacityAttribute(chipClusterPtr, callback); } - public void subscribeRemainingCapacityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRemainingCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readSceneCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSceneCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentSceneAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentSceneAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentGroupAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentGroupAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSceneValidAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeSceneValidAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNameSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeNameSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLastConfiguredByAttribute( - long chipClusterPtr, LastConfiguredByAttributeCallback callback); - - private native void subscribeLastConfiguredByAttribute( - long chipClusterPtr, - LastConfiguredByAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSceneTableSizeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSceneTableSizeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRemainingCapacityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRemainingCapacityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readSceneCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSceneCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentSceneAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentSceneAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentGroupAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentGroupAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSceneValidAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeSceneValidAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNameSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNameSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLastConfiguredByAttribute(long chipClusterPtr, + LastConfiguredByAttributeCallback callback + ); + private native void subscribeLastConfiguredByAttribute(long chipClusterPtr, + LastConfiguredByAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSceneTableSizeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSceneTableSizeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRemainingCapacityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRemainingCapacityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class OnOffCluster extends BaseChipCluster { @@ -1124,555 +1057,544 @@ public OnOffCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void off(DefaultClusterCallback callback) { + public void off(DefaultClusterCallback callback + ) { off(chipClusterPtr, callback, null); } - public void off(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void off(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { off(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void on(DefaultClusterCallback callback) { + public void on(DefaultClusterCallback callback + ) { on(chipClusterPtr, callback, null); } - public void on(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void on(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { on(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void toggle(DefaultClusterCallback callback) { + public void toggle(DefaultClusterCallback callback + ) { toggle(chipClusterPtr, callback, null); } - public void toggle(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void toggle(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { toggle(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void offWithEffect( - DefaultClusterCallback callback, Integer effectIdentifier, Integer effectVariant) { + public void offWithEffect(DefaultClusterCallback callback + , Integer effectIdentifier, Integer effectVariant) { offWithEffect(chipClusterPtr, callback, effectIdentifier, effectVariant, null); } - public void offWithEffect( - DefaultClusterCallback callback, - Integer effectIdentifier, - Integer effectVariant, - int timedInvokeTimeoutMs) { - offWithEffect( - chipClusterPtr, callback, effectIdentifier, effectVariant, timedInvokeTimeoutMs); + public void offWithEffect(DefaultClusterCallback callback + , Integer effectIdentifier, Integer effectVariant + , int timedInvokeTimeoutMs) { + offWithEffect(chipClusterPtr, callback, effectIdentifier, effectVariant, timedInvokeTimeoutMs); } - public void onWithRecallGlobalScene(DefaultClusterCallback callback) { + public void onWithRecallGlobalScene(DefaultClusterCallback callback + ) { onWithRecallGlobalScene(chipClusterPtr, callback, null); } - public void onWithRecallGlobalScene(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void onWithRecallGlobalScene(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { onWithRecallGlobalScene(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void onWithTimedOff( - DefaultClusterCallback callback, - Integer onOffControl, - Integer onTime, - Integer offWaitTime) { + public void onWithTimedOff(DefaultClusterCallback callback + , Integer onOffControl, Integer onTime, Integer offWaitTime) { onWithTimedOff(chipClusterPtr, callback, onOffControl, onTime, offWaitTime, null); } - public void onWithTimedOff( - DefaultClusterCallback callback, - Integer onOffControl, - Integer onTime, - Integer offWaitTime, - int timedInvokeTimeoutMs) { - onWithTimedOff( - chipClusterPtr, callback, onOffControl, onTime, offWaitTime, timedInvokeTimeoutMs); - } - - private native void off( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void on( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void toggle( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void offWithEffect( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer effectIdentifier, - Integer effectVariant, - @Nullable Integer timedInvokeTimeoutMs); - - private native void onWithRecallGlobalScene( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void onWithTimedOff( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer onOffControl, - Integer onTime, - Integer offWaitTime, - @Nullable Integer timedInvokeTimeoutMs); - - public interface StartUpOnOffAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public void onWithTimedOff(DefaultClusterCallback callback + , Integer onOffControl, Integer onTime, Integer offWaitTime + , int timedInvokeTimeoutMs) { + onWithTimedOff(chipClusterPtr, callback, onOffControl, onTime, offWaitTime, timedInvokeTimeoutMs); + } + private native void off(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void on(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void toggle(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void offWithEffect(long chipClusterPtr, DefaultClusterCallback Callback + , Integer effectIdentifier, Integer effectVariant + , @Nullable Integer timedInvokeTimeoutMs); + private native void onWithRecallGlobalScene(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void onWithTimedOff(long chipClusterPtr, DefaultClusterCallback Callback + , Integer onOffControl, Integer onTime, Integer offWaitTime + , @Nullable Integer timedInvokeTimeoutMs); + + public interface StartUpOnOffAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readOnOffAttribute(BooleanAttributeCallback callback) { + public void readOnOffAttribute( + BooleanAttributeCallback callback + ) { readOnOffAttribute(chipClusterPtr, callback); } - public void subscribeOnOffAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOnOffAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGlobalSceneControlAttribute(BooleanAttributeCallback callback) { + public void readGlobalSceneControlAttribute( + BooleanAttributeCallback callback + ) { readGlobalSceneControlAttribute(chipClusterPtr, callback); } - public void subscribeGlobalSceneControlAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeGlobalSceneControlAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOnTimeAttribute(IntegerAttributeCallback callback) { + public void readOnTimeAttribute( + IntegerAttributeCallback callback + ) { readOnTimeAttribute(chipClusterPtr, callback); } - public void writeOnTimeAttribute(DefaultClusterCallback callback, Integer value) { writeOnTimeAttribute(chipClusterPtr, callback, value, null); } - public void writeOnTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeOnTimeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeOnTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOnTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOnTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOffWaitTimeAttribute(IntegerAttributeCallback callback) { + public void readOffWaitTimeAttribute( + IntegerAttributeCallback callback + ) { readOffWaitTimeAttribute(chipClusterPtr, callback); } - public void writeOffWaitTimeAttribute(DefaultClusterCallback callback, Integer value) { writeOffWaitTimeAttribute(chipClusterPtr, callback, value, null); } - public void writeOffWaitTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeOffWaitTimeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeOffWaitTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOffWaitTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOffWaitTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStartUpOnOffAttribute(StartUpOnOffAttributeCallback callback) { + public void readStartUpOnOffAttribute( + StartUpOnOffAttributeCallback callback + ) { readStartUpOnOffAttribute(chipClusterPtr, callback); } - public void writeStartUpOnOffAttribute(DefaultClusterCallback callback, Integer value) { writeStartUpOnOffAttribute(chipClusterPtr, callback, value, null); } - public void writeStartUpOnOffAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeStartUpOnOffAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeStartUpOnOffAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeStartUpOnOffAttribute( - StartUpOnOffAttributeCallback callback, int minInterval, int maxInterval) { + StartUpOnOffAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeStartUpOnOffAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readOnOffAttribute(long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeOnOffAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGlobalSceneControlAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeGlobalSceneControlAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOnTimeAttribute(long chipClusterPtr, IntegerAttributeCallback callback); + private native void readOnOffAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeOnOffAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGlobalSceneControlAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeGlobalSceneControlAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOnTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOnTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOnTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOffWaitTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOffWaitTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOffWaitTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStartUpOnOffAttribute(long chipClusterPtr, + StartUpOnOffAttributeCallback callback + ); + + private native void writeStartUpOnOffAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeStartUpOnOffAttribute(long chipClusterPtr, + StartUpOnOffAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void writeOnTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public static class OnOffSwitchConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 7L; - private native void subscribeOnTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public OnOffSwitchConfigurationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readOffWaitTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void writeOffWaitTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeOffWaitTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readSwitchTypeAttribute( + IntegerAttributeCallback callback + ) { + readSwitchTypeAttribute(chipClusterPtr, callback); + } + public void subscribeSwitchTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSwitchTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readStartUpOnOffAttribute( - long chipClusterPtr, StartUpOnOffAttributeCallback callback); - - private native void writeStartUpOnOffAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeStartUpOnOffAttribute( - long chipClusterPtr, - StartUpOnOffAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class OnOffSwitchConfigurationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 7L; - - public OnOffSwitchConfigurationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readSwitchTypeAttribute(IntegerAttributeCallback callback) { - readSwitchTypeAttribute(chipClusterPtr, callback); - } - - public void subscribeSwitchTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSwitchTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readSwitchActionsAttribute(IntegerAttributeCallback callback) { + public void readSwitchActionsAttribute( + IntegerAttributeCallback callback + ) { readSwitchActionsAttribute(chipClusterPtr, callback); } - public void writeSwitchActionsAttribute(DefaultClusterCallback callback, Integer value) { writeSwitchActionsAttribute(chipClusterPtr, callback, value, null); } - public void writeSwitchActionsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeSwitchActionsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeSwitchActionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeSwitchActionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSwitchActionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readSwitchTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSwitchTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSwitchActionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeSwitchActionsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeSwitchActionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readSwitchTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSwitchTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSwitchActionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeSwitchActionsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeSwitchActionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class LevelControlCluster extends BaseChipCluster { @@ -1685,790 +1607,611 @@ public LevelControlCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void moveToLevel( - DefaultClusterCallback callback, - Integer level, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - moveToLevel( - chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, null); - } - - public void moveToLevel( - DefaultClusterCallback callback, - Integer level, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveToLevel( - chipClusterPtr, - callback, - level, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void move( - DefaultClusterCallback callback, - Integer moveMode, - @Nullable Integer rate, - Integer optionsMask, - Integer optionsOverride) { - move(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + public void moveToLevel(DefaultClusterCallback callback + , Integer level, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToLevel(chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, null); } - public void move( - DefaultClusterCallback callback, - Integer moveMode, - @Nullable Integer rate, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - move( - chipClusterPtr, - callback, - moveMode, - rate, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void step( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - step( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void step( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - step( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stop( - DefaultClusterCallback callback, Integer optionsMask, Integer optionsOverride) { - stop(chipClusterPtr, callback, optionsMask, optionsOverride, null); + public void moveToLevel(DefaultClusterCallback callback + , Integer level, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToLevel(chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void stop( - DefaultClusterCallback callback, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stop(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public void move(DefaultClusterCallback callback + , Integer moveMode, @Nullable Integer rate, Integer optionsMask, Integer optionsOverride) { + move(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public void moveToLevelWithOnOff( - DefaultClusterCallback callback, - Integer level, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - moveToLevelWithOnOff( - chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, null); - } - - public void moveToLevelWithOnOff( - DefaultClusterCallback callback, - Integer level, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveToLevelWithOnOff( - chipClusterPtr, - callback, - level, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveWithOnOff( - DefaultClusterCallback callback, - Integer moveMode, - @Nullable Integer rate, - Integer optionsMask, - Integer optionsOverride) { - moveWithOnOff(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + public void move(DefaultClusterCallback callback + , Integer moveMode, @Nullable Integer rate, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + move(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void moveWithOnOff( - DefaultClusterCallback callback, - Integer moveMode, - @Nullable Integer rate, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveWithOnOff( - chipClusterPtr, - callback, - moveMode, - rate, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stepWithOnOff( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - stepWithOnOff( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void stepWithOnOff( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stepWithOnOff( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stopWithOnOff( - DefaultClusterCallback callback, Integer optionsMask, Integer optionsOverride) { - stopWithOnOff(chipClusterPtr, callback, optionsMask, optionsOverride, null); + public void step(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + step(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null); } - public void stopWithOnOff( - DefaultClusterCallback callback, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stopWithOnOff(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public void step(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + step(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - private native void moveToLevel( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer level, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void move( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer moveMode, - @Nullable Integer rate, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void step( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer stepMode, - Integer stepSize, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stop( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveToLevelWithOnOff( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer level, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveWithOnOff( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer moveMode, - @Nullable Integer rate, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stepWithOnOff( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer stepMode, - Integer stepSize, - @Nullable Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stopWithOnOff( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - public interface CurrentLevelAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stop(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride) { + stop(chipClusterPtr, callback, optionsMask, optionsOverride, null); } - public interface OnLevelAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stop(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stop(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public interface OnTransitionTimeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveToLevelWithOnOff(DefaultClusterCallback callback + , Integer level, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToLevelWithOnOff(chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, null); } - public interface OffTransitionTimeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveToLevelWithOnOff(DefaultClusterCallback callback + , Integer level, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToLevelWithOnOff(chipClusterPtr, callback, level, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public interface DefaultMoveRateAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveWithOnOff(DefaultClusterCallback callback + , Integer moveMode, @Nullable Integer rate, Integer optionsMask, Integer optionsOverride) { + moveWithOnOff(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public interface StartUpCurrentLevelAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveWithOnOff(DefaultClusterCallback callback + , Integer moveMode, @Nullable Integer rate, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveWithOnOff(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stepWithOnOff(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + stepWithOnOff(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stepWithOnOff(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stepWithOnOff(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stopWithOnOff(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride) { + stopWithOnOff(chipClusterPtr, callback, optionsMask, optionsOverride, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stopWithOnOff(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stopWithOnOff(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); } + private native void moveToLevel(long chipClusterPtr, DefaultClusterCallback Callback + , Integer level, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void move(long chipClusterPtr, DefaultClusterCallback Callback + , Integer moveMode, @Nullable Integer rate, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void step(long chipClusterPtr, DefaultClusterCallback Callback + , Integer stepMode, Integer stepSize, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stop(long chipClusterPtr, DefaultClusterCallback Callback + , Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveToLevelWithOnOff(long chipClusterPtr, DefaultClusterCallback Callback + , Integer level, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveWithOnOff(long chipClusterPtr, DefaultClusterCallback Callback + , Integer moveMode, @Nullable Integer rate, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stepWithOnOff(long chipClusterPtr, DefaultClusterCallback Callback + , Integer stepMode, Integer stepSize, @Nullable Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stopWithOnOff(long chipClusterPtr, DefaultClusterCallback Callback + , Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + + public interface CurrentLevelAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OnLevelAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OnTransitionTimeAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OffTransitionTimeAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface DefaultMoveRateAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface StartUpCurrentLevelAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readCurrentLevelAttribute(CurrentLevelAttributeCallback callback) { + public void readCurrentLevelAttribute( + CurrentLevelAttributeCallback callback + ) { readCurrentLevelAttribute(chipClusterPtr, callback); } - public void subscribeCurrentLevelAttribute( - CurrentLevelAttributeCallback callback, int minInterval, int maxInterval) { + CurrentLevelAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeCurrentLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRemainingTimeAttribute(IntegerAttributeCallback callback) { + public void readRemainingTimeAttribute( + IntegerAttributeCallback callback + ) { readRemainingTimeAttribute(chipClusterPtr, callback); } - public void subscribeRemainingTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinLevelAttribute(IntegerAttributeCallback callback) { + public void readMinLevelAttribute( + IntegerAttributeCallback callback + ) { readMinLevelAttribute(chipClusterPtr, callback); } - public void subscribeMinLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxLevelAttribute(IntegerAttributeCallback callback) { + public void readMaxLevelAttribute( + IntegerAttributeCallback callback + ) { readMaxLevelAttribute(chipClusterPtr, callback); } - public void subscribeMaxLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentFrequencyAttribute(IntegerAttributeCallback callback) { + public void readCurrentFrequencyAttribute( + IntegerAttributeCallback callback + ) { readCurrentFrequencyAttribute(chipClusterPtr, callback); } - public void subscribeCurrentFrequencyAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeCurrentFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinFrequencyAttribute(IntegerAttributeCallback callback) { + public void readMinFrequencyAttribute( + IntegerAttributeCallback callback + ) { readMinFrequencyAttribute(chipClusterPtr, callback); } - public void subscribeMinFrequencyAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMinFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxFrequencyAttribute(IntegerAttributeCallback callback) { + public void readMaxFrequencyAttribute( + IntegerAttributeCallback callback + ) { readMaxFrequencyAttribute(chipClusterPtr, callback); } - public void subscribeMaxFrequencyAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMaxFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOptionsAttribute(IntegerAttributeCallback callback) { + public void readOptionsAttribute( + IntegerAttributeCallback callback + ) { readOptionsAttribute(chipClusterPtr, callback); } - public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value) { writeOptionsAttribute(chipClusterPtr, callback, value, null); } - public void writeOptionsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOptionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOnOffTransitionTimeAttribute(IntegerAttributeCallback callback) { + public void readOnOffTransitionTimeAttribute( + IntegerAttributeCallback callback + ) { readOnOffTransitionTimeAttribute(chipClusterPtr, callback); } - public void writeOnOffTransitionTimeAttribute(DefaultClusterCallback callback, Integer value) { writeOnOffTransitionTimeAttribute(chipClusterPtr, callback, value, null); } - public void writeOnOffTransitionTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeOnOffTransitionTimeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeOnOffTransitionTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOnOffTransitionTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOnOffTransitionTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOnLevelAttribute(OnLevelAttributeCallback callback) { + public void readOnLevelAttribute( + OnLevelAttributeCallback callback + ) { readOnLevelAttribute(chipClusterPtr, callback); } - public void writeOnLevelAttribute(DefaultClusterCallback callback, Integer value) { writeOnLevelAttribute(chipClusterPtr, callback, value, null); } - public void writeOnLevelAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeOnLevelAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeOnLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOnLevelAttribute( - OnLevelAttributeCallback callback, int minInterval, int maxInterval) { + OnLevelAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeOnLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOnTransitionTimeAttribute(OnTransitionTimeAttributeCallback callback) { + public void readOnTransitionTimeAttribute( + OnTransitionTimeAttributeCallback callback + ) { readOnTransitionTimeAttribute(chipClusterPtr, callback); } - public void writeOnTransitionTimeAttribute(DefaultClusterCallback callback, Integer value) { writeOnTransitionTimeAttribute(chipClusterPtr, callback, value, null); } - public void writeOnTransitionTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeOnTransitionTimeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeOnTransitionTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOnTransitionTimeAttribute( - OnTransitionTimeAttributeCallback callback, int minInterval, int maxInterval) { + OnTransitionTimeAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeOnTransitionTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOffTransitionTimeAttribute(OffTransitionTimeAttributeCallback callback) { + public void readOffTransitionTimeAttribute( + OffTransitionTimeAttributeCallback callback + ) { readOffTransitionTimeAttribute(chipClusterPtr, callback); } - public void writeOffTransitionTimeAttribute(DefaultClusterCallback callback, Integer value) { writeOffTransitionTimeAttribute(chipClusterPtr, callback, value, null); } - public void writeOffTransitionTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeOffTransitionTimeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeOffTransitionTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOffTransitionTimeAttribute( - OffTransitionTimeAttributeCallback callback, int minInterval, int maxInterval) { + OffTransitionTimeAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeOffTransitionTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDefaultMoveRateAttribute(DefaultMoveRateAttributeCallback callback) { + public void readDefaultMoveRateAttribute( + DefaultMoveRateAttributeCallback callback + ) { readDefaultMoveRateAttribute(chipClusterPtr, callback); } - public void writeDefaultMoveRateAttribute(DefaultClusterCallback callback, Integer value) { writeDefaultMoveRateAttribute(chipClusterPtr, callback, value, null); } - public void writeDefaultMoveRateAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeDefaultMoveRateAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeDefaultMoveRateAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeDefaultMoveRateAttribute( - DefaultMoveRateAttributeCallback callback, int minInterval, int maxInterval) { + DefaultMoveRateAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeDefaultMoveRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStartUpCurrentLevelAttribute(StartUpCurrentLevelAttributeCallback callback) { + public void readStartUpCurrentLevelAttribute( + StartUpCurrentLevelAttributeCallback callback + ) { readStartUpCurrentLevelAttribute(chipClusterPtr, callback); } - public void writeStartUpCurrentLevelAttribute(DefaultClusterCallback callback, Integer value) { writeStartUpCurrentLevelAttribute(chipClusterPtr, callback, value, null); } - public void writeStartUpCurrentLevelAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeStartUpCurrentLevelAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeStartUpCurrentLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeStartUpCurrentLevelAttribute( - StartUpCurrentLevelAttributeCallback callback, int minInterval, int maxInterval) { + StartUpCurrentLevelAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeStartUpCurrentLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readCurrentLevelAttribute( - long chipClusterPtr, CurrentLevelAttributeCallback callback); - - private native void subscribeCurrentLevelAttribute( - long chipClusterPtr, - CurrentLevelAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readRemainingTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRemainingTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMinLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMinLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMaxLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMaxLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMinFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMinFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMaxFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMaxFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOptionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeOptionsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOptionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOnOffTransitionTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeOnOffTransitionTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOnOffTransitionTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOnLevelAttribute( - long chipClusterPtr, OnLevelAttributeCallback callback); - - private native void writeOnLevelAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOnLevelAttribute( - long chipClusterPtr, OnLevelAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOnTransitionTimeAttribute( - long chipClusterPtr, OnTransitionTimeAttributeCallback callback); - - private native void writeOnTransitionTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOnTransitionTimeAttribute( - long chipClusterPtr, - OnTransitionTimeAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOffTransitionTimeAttribute( - long chipClusterPtr, OffTransitionTimeAttributeCallback callback); - - private native void writeOffTransitionTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOffTransitionTimeAttribute( - long chipClusterPtr, - OffTransitionTimeAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readDefaultMoveRateAttribute( - long chipClusterPtr, DefaultMoveRateAttributeCallback callback); - - private native void writeDefaultMoveRateAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeDefaultMoveRateAttribute( - long chipClusterPtr, - DefaultMoveRateAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readStartUpCurrentLevelAttribute( - long chipClusterPtr, StartUpCurrentLevelAttributeCallback callback); - - private native void writeStartUpCurrentLevelAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeStartUpCurrentLevelAttribute( - long chipClusterPtr, - StartUpCurrentLevelAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readCurrentLevelAttribute(long chipClusterPtr, + CurrentLevelAttributeCallback callback + ); + private native void subscribeCurrentLevelAttribute(long chipClusterPtr, + CurrentLevelAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readRemainingTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRemainingTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMinLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMinFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOptionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOptionsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOptionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOnOffTransitionTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOnOffTransitionTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOnOffTransitionTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOnLevelAttribute(long chipClusterPtr, + OnLevelAttributeCallback callback + ); + + private native void writeOnLevelAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOnLevelAttribute(long chipClusterPtr, + OnLevelAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOnTransitionTimeAttribute(long chipClusterPtr, + OnTransitionTimeAttributeCallback callback + ); + + private native void writeOnTransitionTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOnTransitionTimeAttribute(long chipClusterPtr, + OnTransitionTimeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOffTransitionTimeAttribute(long chipClusterPtr, + OffTransitionTimeAttributeCallback callback + ); + + private native void writeOffTransitionTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOffTransitionTimeAttribute(long chipClusterPtr, + OffTransitionTimeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readDefaultMoveRateAttribute(long chipClusterPtr, + DefaultMoveRateAttributeCallback callback + ); + + private native void writeDefaultMoveRateAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeDefaultMoveRateAttribute(long chipClusterPtr, + DefaultMoveRateAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readStartUpCurrentLevelAttribute(long chipClusterPtr, + StartUpCurrentLevelAttributeCallback callback + ); + + private native void writeStartUpCurrentLevelAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeStartUpCurrentLevelAttribute(long chipClusterPtr, + StartUpCurrentLevelAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class BinaryInputBasicCluster extends BaseChipCluster { @@ -2481,370 +2224,365 @@ public BinaryInputBasicCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readActiveTextAttribute(CharStringAttributeCallback callback) { + public void readActiveTextAttribute( + CharStringAttributeCallback callback + ) { readActiveTextAttribute(chipClusterPtr, callback); } - public void writeActiveTextAttribute(DefaultClusterCallback callback, String value) { writeActiveTextAttribute(chipClusterPtr, callback, value, null); } - public void writeActiveTextAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeActiveTextAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeActiveTextAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeActiveTextAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeActiveTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDescriptionAttribute(CharStringAttributeCallback callback) { + public void readDescriptionAttribute( + CharStringAttributeCallback callback + ) { readDescriptionAttribute(chipClusterPtr, callback); } - public void writeDescriptionAttribute(DefaultClusterCallback callback, String value) { writeDescriptionAttribute(chipClusterPtr, callback, value, null); } - public void writeDescriptionAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeDescriptionAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeDescriptionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeDescriptionAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInactiveTextAttribute(CharStringAttributeCallback callback) { + public void readInactiveTextAttribute( + CharStringAttributeCallback callback + ) { readInactiveTextAttribute(chipClusterPtr, callback); } - public void writeInactiveTextAttribute(DefaultClusterCallback callback, String value) { writeInactiveTextAttribute(chipClusterPtr, callback, value, null); } - public void writeInactiveTextAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeInactiveTextAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeInactiveTextAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInactiveTextAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInactiveTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOutOfServiceAttribute(BooleanAttributeCallback callback) { + public void readOutOfServiceAttribute( + BooleanAttributeCallback callback + ) { readOutOfServiceAttribute(chipClusterPtr, callback); } - public void writeOutOfServiceAttribute(DefaultClusterCallback callback, Boolean value) { writeOutOfServiceAttribute(chipClusterPtr, callback, value, null); } - public void writeOutOfServiceAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeOutOfServiceAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeOutOfServiceAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOutOfServiceAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOutOfServiceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPolarityAttribute(IntegerAttributeCallback callback) { + public void readPolarityAttribute( + IntegerAttributeCallback callback + ) { readPolarityAttribute(chipClusterPtr, callback); } - public void subscribePolarityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePolarityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPresentValueAttribute(BooleanAttributeCallback callback) { + public void readPresentValueAttribute( + BooleanAttributeCallback callback + ) { readPresentValueAttribute(chipClusterPtr, callback); } - public void writePresentValueAttribute(DefaultClusterCallback callback, Boolean value) { writePresentValueAttribute(chipClusterPtr, callback, value, null); } - public void writePresentValueAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writePresentValueAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writePresentValueAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribePresentValueAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePresentValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readReliabilityAttribute(IntegerAttributeCallback callback) { + public void readReliabilityAttribute( + IntegerAttributeCallback callback + ) { readReliabilityAttribute(chipClusterPtr, callback); } - public void writeReliabilityAttribute(DefaultClusterCallback callback, Integer value) { writeReliabilityAttribute(chipClusterPtr, callback, value, null); } - public void writeReliabilityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeReliabilityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeReliabilityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeReliabilityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeReliabilityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStatusFlagsAttribute(IntegerAttributeCallback callback) { + public void readStatusFlagsAttribute( + IntegerAttributeCallback callback + ) { readStatusFlagsAttribute(chipClusterPtr, callback); } - public void subscribeStatusFlagsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeStatusFlagsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readApplicationTypeAttribute(LongAttributeCallback callback) { + public void readApplicationTypeAttribute( + LongAttributeCallback callback + ) { readApplicationTypeAttribute(chipClusterPtr, callback); } - public void subscribeApplicationTypeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeApplicationTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readActiveTextAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeActiveTextAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeActiveTextAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readDescriptionAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeDescriptionAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeDescriptionAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readInactiveTextAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeInactiveTextAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInactiveTextAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOutOfServiceAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeOutOfServiceAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOutOfServiceAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPolarityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePolarityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPresentValueAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writePresentValueAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribePresentValueAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readReliabilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeReliabilityAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeReliabilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readStatusFlagsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeStatusFlagsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readApplicationTypeAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeApplicationTypeAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readActiveTextAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeActiveTextAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeActiveTextAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeDescriptionAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInactiveTextAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeInactiveTextAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInactiveTextAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOutOfServiceAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeOutOfServiceAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOutOfServiceAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPolarityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePolarityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPresentValueAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writePresentValueAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePresentValueAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReliabilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeReliabilityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeReliabilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStatusFlagsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeStatusFlagsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readApplicationTypeAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeApplicationTypeAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class PulseWidthModulationCluster extends BaseChipCluster { @@ -2857,136 +2595,140 @@ public PulseWidthModulationCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class DescriptorCluster extends BaseChipCluster { @@ -2999,237 +2741,236 @@ public DescriptorCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface DeviceTypeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ServerListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ClientListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PartsListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface DeviceTypeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ServerListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ClientListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PartsListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readDeviceTypeListAttribute(DeviceTypeListAttributeCallback callback) { + public void readDeviceTypeListAttribute( + DeviceTypeListAttributeCallback callback + ) { readDeviceTypeListAttribute(chipClusterPtr, callback); } - public void subscribeDeviceTypeListAttribute( - DeviceTypeListAttributeCallback callback, int minInterval, int maxInterval) { + DeviceTypeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeDeviceTypeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readServerListAttribute(ServerListAttributeCallback callback) { + public void readServerListAttribute( + ServerListAttributeCallback callback + ) { readServerListAttribute(chipClusterPtr, callback); } - public void subscribeServerListAttribute( - ServerListAttributeCallback callback, int minInterval, int maxInterval) { + ServerListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeServerListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClientListAttribute(ClientListAttributeCallback callback) { + public void readClientListAttribute( + ClientListAttributeCallback callback + ) { readClientListAttribute(chipClusterPtr, callback); } - public void subscribeClientListAttribute( - ClientListAttributeCallback callback, int minInterval, int maxInterval) { + ClientListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeClientListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPartsListAttribute(PartsListAttributeCallback callback) { + public void readPartsListAttribute( + PartsListAttributeCallback callback + ) { readPartsListAttribute(chipClusterPtr, callback); } - public void subscribePartsListAttribute( - PartsListAttributeCallback callback, int minInterval, int maxInterval) { + PartsListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePartsListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readDeviceTypeListAttribute( - long chipClusterPtr, DeviceTypeListAttributeCallback callback); - - private native void subscribeDeviceTypeListAttribute( - long chipClusterPtr, - DeviceTypeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readServerListAttribute( - long chipClusterPtr, ServerListAttributeCallback callback); - - private native void subscribeServerListAttribute( - long chipClusterPtr, - ServerListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readClientListAttribute( - long chipClusterPtr, ClientListAttributeCallback callback); - - private native void subscribeClientListAttribute( - long chipClusterPtr, - ClientListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPartsListAttribute( - long chipClusterPtr, PartsListAttributeCallback callback); - - private native void subscribePartsListAttribute( - long chipClusterPtr, PartsListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readDeviceTypeListAttribute(long chipClusterPtr, + DeviceTypeListAttributeCallback callback + ); + private native void subscribeDeviceTypeListAttribute(long chipClusterPtr, + DeviceTypeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readServerListAttribute(long chipClusterPtr, + ServerListAttributeCallback callback + ); + private native void subscribeServerListAttribute(long chipClusterPtr, + ServerListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readClientListAttribute(long chipClusterPtr, + ClientListAttributeCallback callback + ); + private native void subscribeClientListAttribute(long chipClusterPtr, + ClientListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPartsListAttribute(long chipClusterPtr, + PartsListAttributeCallback callback + ); + private native void subscribePartsListAttribute(long chipClusterPtr, + PartsListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class BindingCluster extends BaseChipCluster { @@ -3242,177 +2983,173 @@ public BindingCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface BindingAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface BindingAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readBindingAttribute(BindingAttributeCallback callback) { + public void readBindingAttribute( + BindingAttributeCallback callback + ) { readBindingAttribute(chipClusterPtr, callback); } - - public void writeBindingAttribute( - DefaultClusterCallback callback, ArrayList value) { + public void writeBindingAttribute(DefaultClusterCallback callback, ArrayList value) { writeBindingAttribute(chipClusterPtr, callback, value, null); } - public void writeBindingAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { + public void writeBindingAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeBindingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBindingAttribute( - BindingAttributeCallback callback, int minInterval, int maxInterval) { + BindingAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeBindingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readBindingAttribute( - long chipClusterPtr, BindingAttributeCallback callback); - - private native void writeBindingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBindingAttribute( - long chipClusterPtr, BindingAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readBindingAttribute(long chipClusterPtr, + BindingAttributeCallback callback + ); + + private native void writeBindingAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBindingAttribute(long chipClusterPtr, + BindingAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class AccessControlCluster extends BaseChipCluster { @@ -3425,267 +3162,263 @@ public AccessControlCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface AclAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ExtensionAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface AclAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ExtensionAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readAclAttribute(AclAttributeCallback callback) { + public void readAclAttribute( + AclAttributeCallback callback + ) { readAclAttribute(chipClusterPtr, callback); } - - public void writeAclAttribute( - DefaultClusterCallback callback, - ArrayList value) { + public void writeAclAttribute(DefaultClusterCallback callback, ArrayList value) { writeAclAttribute(chipClusterPtr, callback, value, null); } - public void writeAclAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { + public void writeAclAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeAclAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeAclAttribute( - AclAttributeCallback callback, int minInterval, int maxInterval) { + AclAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAclAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readExtensionAttribute(ExtensionAttributeCallback callback) { + public void readExtensionAttribute( + ExtensionAttributeCallback callback + ) { readExtensionAttribute(chipClusterPtr, callback); } - - public void writeExtensionAttribute( - DefaultClusterCallback callback, - ArrayList value) { + public void writeExtensionAttribute(DefaultClusterCallback callback, ArrayList value) { writeExtensionAttribute(chipClusterPtr, callback, value, null); } - public void writeExtensionAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { + public void writeExtensionAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeExtensionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeExtensionAttribute( - ExtensionAttributeCallback callback, int minInterval, int maxInterval) { + ExtensionAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeExtensionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSubjectsPerAccessControlEntryAttribute(IntegerAttributeCallback callback) { + public void readSubjectsPerAccessControlEntryAttribute( + IntegerAttributeCallback callback + ) { readSubjectsPerAccessControlEntryAttribute(chipClusterPtr, callback); } - public void subscribeSubjectsPerAccessControlEntryAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSubjectsPerAccessControlEntryAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSubjectsPerAccessControlEntryAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTargetsPerAccessControlEntryAttribute(IntegerAttributeCallback callback) { + public void readTargetsPerAccessControlEntryAttribute( + IntegerAttributeCallback callback + ) { readTargetsPerAccessControlEntryAttribute(chipClusterPtr, callback); } - public void subscribeTargetsPerAccessControlEntryAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTargetsPerAccessControlEntryAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTargetsPerAccessControlEntryAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAccessControlEntriesPerFabricAttribute(IntegerAttributeCallback callback) { + public void readAccessControlEntriesPerFabricAttribute( + IntegerAttributeCallback callback + ) { readAccessControlEntriesPerFabricAttribute(chipClusterPtr, callback); } - public void subscribeAccessControlEntriesPerFabricAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAccessControlEntriesPerFabricAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAccessControlEntriesPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readAclAttribute(long chipClusterPtr, AclAttributeCallback callback); - - private native void writeAclAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeAclAttribute( - long chipClusterPtr, AclAttributeCallback callback, int minInterval, int maxInterval); - - private native void readExtensionAttribute( - long chipClusterPtr, ExtensionAttributeCallback callback); - - private native void writeExtensionAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeExtensionAttribute( - long chipClusterPtr, ExtensionAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSubjectsPerAccessControlEntryAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSubjectsPerAccessControlEntryAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTargetsPerAccessControlEntryAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeTargetsPerAccessControlEntryAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAccessControlEntriesPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAccessControlEntriesPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readAclAttribute(long chipClusterPtr, + AclAttributeCallback callback + ); + + private native void writeAclAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeAclAttribute(long chipClusterPtr, + AclAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readExtensionAttribute(long chipClusterPtr, + ExtensionAttributeCallback callback + ); + + private native void writeExtensionAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeExtensionAttribute(long chipClusterPtr, + ExtensionAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSubjectsPerAccessControlEntryAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSubjectsPerAccessControlEntryAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTargetsPerAccessControlEntryAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeTargetsPerAccessControlEntryAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAccessControlEntriesPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAccessControlEntriesPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class ActionsCluster extends BaseChipCluster { @@ -3698,465 +3431,375 @@ public ActionsCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void instantAction( - DefaultClusterCallback callback, Integer actionID, Optional invokeID) { + public void instantAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID) { instantAction(chipClusterPtr, callback, actionID, invokeID, null); } - public void instantAction( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - int timedInvokeTimeoutMs) { + public void instantAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID + , int timedInvokeTimeoutMs) { instantAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs); } - public void instantActionWithTransition( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - Integer transitionTime) { - instantActionWithTransition( - chipClusterPtr, callback, actionID, invokeID, transitionTime, null); + public void instantActionWithTransition(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Integer transitionTime) { + instantActionWithTransition(chipClusterPtr, callback, actionID, invokeID, transitionTime, null); } - public void instantActionWithTransition( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - Integer transitionTime, - int timedInvokeTimeoutMs) { - instantActionWithTransition( - chipClusterPtr, callback, actionID, invokeID, transitionTime, timedInvokeTimeoutMs); + public void instantActionWithTransition(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Integer transitionTime + , int timedInvokeTimeoutMs) { + instantActionWithTransition(chipClusterPtr, callback, actionID, invokeID, transitionTime, timedInvokeTimeoutMs); } - public void startAction( - DefaultClusterCallback callback, Integer actionID, Optional invokeID) { + public void startAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID) { startAction(chipClusterPtr, callback, actionID, invokeID, null); } - public void startAction( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - int timedInvokeTimeoutMs) { + public void startAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID + , int timedInvokeTimeoutMs) { startAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs); } - public void startActionWithDuration( - DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) { + public void startActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration) { startActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null); } - public void startActionWithDuration( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - Long duration, - int timedInvokeTimeoutMs) { - startActionWithDuration( - chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); + public void startActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration + , int timedInvokeTimeoutMs) { + startActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); } - public void stopAction( - DefaultClusterCallback callback, Integer actionID, Optional invokeID) { + public void stopAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID) { stopAction(chipClusterPtr, callback, actionID, invokeID, null); } - public void stopAction( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - int timedInvokeTimeoutMs) { + public void stopAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID + , int timedInvokeTimeoutMs) { stopAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs); } - public void pauseAction( - DefaultClusterCallback callback, Integer actionID, Optional invokeID) { + public void pauseAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID) { pauseAction(chipClusterPtr, callback, actionID, invokeID, null); } - public void pauseAction( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - int timedInvokeTimeoutMs) { + public void pauseAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID + , int timedInvokeTimeoutMs) { pauseAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs); } - public void pauseActionWithDuration( - DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) { + public void pauseActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration) { pauseActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null); } - public void pauseActionWithDuration( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - Long duration, - int timedInvokeTimeoutMs) { - pauseActionWithDuration( - chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); + public void pauseActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration + , int timedInvokeTimeoutMs) { + pauseActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); } - public void resumeAction( - DefaultClusterCallback callback, Integer actionID, Optional invokeID) { + public void resumeAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID) { resumeAction(chipClusterPtr, callback, actionID, invokeID, null); } - public void resumeAction( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - int timedInvokeTimeoutMs) { + public void resumeAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID + , int timedInvokeTimeoutMs) { resumeAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs); } - public void enableAction( - DefaultClusterCallback callback, Integer actionID, Optional invokeID) { + public void enableAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID) { enableAction(chipClusterPtr, callback, actionID, invokeID, null); } - public void enableAction( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - int timedInvokeTimeoutMs) { + public void enableAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID + , int timedInvokeTimeoutMs) { enableAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs); } - public void enableActionWithDuration( - DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) { + public void enableActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration) { enableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null); } - public void enableActionWithDuration( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - Long duration, - int timedInvokeTimeoutMs) { - enableActionWithDuration( - chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); + public void enableActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration + , int timedInvokeTimeoutMs) { + enableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); } - public void disableAction( - DefaultClusterCallback callback, Integer actionID, Optional invokeID) { + public void disableAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID) { disableAction(chipClusterPtr, callback, actionID, invokeID, null); } - public void disableAction( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - int timedInvokeTimeoutMs) { + public void disableAction(DefaultClusterCallback callback + , Integer actionID, Optional invokeID + , int timedInvokeTimeoutMs) { disableAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs); } - public void disableActionWithDuration( - DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) { + public void disableActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration) { disableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null); } - public void disableActionWithDuration( - DefaultClusterCallback callback, - Integer actionID, - Optional invokeID, - Long duration, - int timedInvokeTimeoutMs) { - disableActionWithDuration( - chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); - } - - private native void instantAction( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void instantActionWithTransition( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - Integer transitionTime, - @Nullable Integer timedInvokeTimeoutMs); - - private native void startAction( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void startActionWithDuration( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - Long duration, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stopAction( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void pauseAction( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void pauseActionWithDuration( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - Long duration, - @Nullable Integer timedInvokeTimeoutMs); - - private native void resumeAction( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void enableAction( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void enableActionWithDuration( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - Long duration, - @Nullable Integer timedInvokeTimeoutMs); - - private native void disableAction( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void disableActionWithDuration( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer actionID, - Optional invokeID, - Long duration, - @Nullable Integer timedInvokeTimeoutMs); - - public interface ActionListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EndpointListsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public void disableActionWithDuration(DefaultClusterCallback callback + , Integer actionID, Optional invokeID, Long duration + , int timedInvokeTimeoutMs) { + disableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs); + } + private native void instantAction(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID + , @Nullable Integer timedInvokeTimeoutMs); + private native void instantActionWithTransition(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID, Integer transitionTime + , @Nullable Integer timedInvokeTimeoutMs); + private native void startAction(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID + , @Nullable Integer timedInvokeTimeoutMs); + private native void startActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID, Long duration + , @Nullable Integer timedInvokeTimeoutMs); + private native void stopAction(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID + , @Nullable Integer timedInvokeTimeoutMs); + private native void pauseAction(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID + , @Nullable Integer timedInvokeTimeoutMs); + private native void pauseActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID, Long duration + , @Nullable Integer timedInvokeTimeoutMs); + private native void resumeAction(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID + , @Nullable Integer timedInvokeTimeoutMs); + private native void enableAction(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID + , @Nullable Integer timedInvokeTimeoutMs); + private native void enableActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID, Long duration + , @Nullable Integer timedInvokeTimeoutMs); + private native void disableAction(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID + , @Nullable Integer timedInvokeTimeoutMs); + private native void disableActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback + , Integer actionID, Optional invokeID, Long duration + , @Nullable Integer timedInvokeTimeoutMs); + + public interface ActionListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EndpointListsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readActionListAttribute(ActionListAttributeCallback callback) { + public void readActionListAttribute( + ActionListAttributeCallback callback + ) { readActionListAttribute(chipClusterPtr, callback); } - public void subscribeActionListAttribute( - ActionListAttributeCallback callback, int minInterval, int maxInterval) { + ActionListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActionListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEndpointListsAttribute(EndpointListsAttributeCallback callback) { + public void readEndpointListsAttribute( + EndpointListsAttributeCallback callback + ) { readEndpointListsAttribute(chipClusterPtr, callback); } - public void subscribeEndpointListsAttribute( - EndpointListsAttributeCallback callback, int minInterval, int maxInterval) { + EndpointListsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEndpointListsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSetupURLAttribute(CharStringAttributeCallback callback) { + public void readSetupURLAttribute( + CharStringAttributeCallback callback + ) { readSetupURLAttribute(chipClusterPtr, callback); } - public void subscribeSetupURLAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSetupURLAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readActionListAttribute( - long chipClusterPtr, ActionListAttributeCallback callback); - - private native void subscribeActionListAttribute( - long chipClusterPtr, - ActionListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEndpointListsAttribute( - long chipClusterPtr, EndpointListsAttributeCallback callback); - - private native void subscribeEndpointListsAttribute( - long chipClusterPtr, - EndpointListsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSetupURLAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeSetupURLAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readActionListAttribute(long chipClusterPtr, + ActionListAttributeCallback callback + ); + private native void subscribeActionListAttribute(long chipClusterPtr, + ActionListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEndpointListsAttribute(long chipClusterPtr, + EndpointListsAttributeCallback callback + ); + private native void subscribeEndpointListsAttribute(long chipClusterPtr, + EndpointListsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSetupURLAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeSetupURLAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class BasicInformationCluster extends BaseChipCluster { @@ -4169,502 +3812,528 @@ public BasicInformationCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readDataModelRevisionAttribute(IntegerAttributeCallback callback) { + public void readDataModelRevisionAttribute( + IntegerAttributeCallback callback + ) { readDataModelRevisionAttribute(chipClusterPtr, callback); } - public void subscribeDataModelRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeDataModelRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorNameAttribute(CharStringAttributeCallback callback) { + public void readVendorNameAttribute( + CharStringAttributeCallback callback + ) { readVendorNameAttribute(chipClusterPtr, callback); } - public void subscribeVendorNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIDAttribute(IntegerAttributeCallback callback) { + public void readVendorIDAttribute( + IntegerAttributeCallback callback + ) { readVendorIDAttribute(chipClusterPtr, callback); } - public void subscribeVendorIDAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductNameAttribute(CharStringAttributeCallback callback) { + public void readProductNameAttribute( + CharStringAttributeCallback callback + ) { readProductNameAttribute(chipClusterPtr, callback); } - public void subscribeProductNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductIDAttribute(IntegerAttributeCallback callback) { + public void readProductIDAttribute( + IntegerAttributeCallback callback + ) { readProductIDAttribute(chipClusterPtr, callback); } - public void subscribeProductIDAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeProductIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNodeLabelAttribute(CharStringAttributeCallback callback) { + public void readNodeLabelAttribute( + CharStringAttributeCallback callback + ) { readNodeLabelAttribute(chipClusterPtr, callback); } - public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) { writeNodeLabelAttribute(chipClusterPtr, callback, value, null); } - public void writeNodeLabelAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNodeLabelAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLocationAttribute(CharStringAttributeCallback callback) { + public void readLocationAttribute( + CharStringAttributeCallback callback + ) { readLocationAttribute(chipClusterPtr, callback); } - public void writeLocationAttribute(DefaultClusterCallback callback, String value) { writeLocationAttribute(chipClusterPtr, callback, value, null); } - public void writeLocationAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeLocationAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeLocationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeLocationAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLocationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readHardwareVersionAttribute(IntegerAttributeCallback callback) { + public void readHardwareVersionAttribute( + IntegerAttributeCallback callback + ) { readHardwareVersionAttribute(chipClusterPtr, callback); } - public void subscribeHardwareVersionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readHardwareVersionStringAttribute(CharStringAttributeCallback callback) { + public void readHardwareVersionStringAttribute( + CharStringAttributeCallback callback + ) { readHardwareVersionStringAttribute(chipClusterPtr, callback); } - public void subscribeHardwareVersionStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSoftwareVersionAttribute(LongAttributeCallback callback) { + public void readSoftwareVersionAttribute( + LongAttributeCallback callback + ) { readSoftwareVersionAttribute(chipClusterPtr, callback); } - public void subscribeSoftwareVersionAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSoftwareVersionStringAttribute(CharStringAttributeCallback callback) { + public void readSoftwareVersionStringAttribute( + CharStringAttributeCallback callback + ) { readSoftwareVersionStringAttribute(chipClusterPtr, callback); } - public void subscribeSoftwareVersionStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readManufacturingDateAttribute(CharStringAttributeCallback callback) { + public void readManufacturingDateAttribute( + CharStringAttributeCallback callback + ) { readManufacturingDateAttribute(chipClusterPtr, callback); } - public void subscribeManufacturingDateAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPartNumberAttribute(CharStringAttributeCallback callback) { + public void readPartNumberAttribute( + CharStringAttributeCallback callback + ) { readPartNumberAttribute(chipClusterPtr, callback); } - public void subscribePartNumberAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductURLAttribute(CharStringAttributeCallback callback) { + public void readProductURLAttribute( + CharStringAttributeCallback callback + ) { readProductURLAttribute(chipClusterPtr, callback); } - public void subscribeProductURLAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductLabelAttribute(CharStringAttributeCallback callback) { + public void readProductLabelAttribute( + CharStringAttributeCallback callback + ) { readProductLabelAttribute(chipClusterPtr, callback); } - public void subscribeProductLabelAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSerialNumberAttribute(CharStringAttributeCallback callback) { + public void readSerialNumberAttribute( + CharStringAttributeCallback callback + ) { readSerialNumberAttribute(chipClusterPtr, callback); } - public void subscribeSerialNumberAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLocalConfigDisabledAttribute(BooleanAttributeCallback callback) { + public void readLocalConfigDisabledAttribute( + BooleanAttributeCallback callback + ) { readLocalConfigDisabledAttribute(chipClusterPtr, callback); } - public void writeLocalConfigDisabledAttribute(DefaultClusterCallback callback, Boolean value) { writeLocalConfigDisabledAttribute(chipClusterPtr, callback, value, null); } - public void writeLocalConfigDisabledAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeLocalConfigDisabledAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeLocalConfigDisabledAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeLocalConfigDisabledAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLocalConfigDisabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readReachableAttribute(BooleanAttributeCallback callback) { + public void readReachableAttribute( + BooleanAttributeCallback callback + ) { readReachableAttribute(chipClusterPtr, callback); } - public void subscribeReachableAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeReachableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUniqueIDAttribute(CharStringAttributeCallback callback) { + public void readUniqueIDAttribute( + CharStringAttributeCallback callback + ) { readUniqueIDAttribute(chipClusterPtr, callback); } - public void subscribeUniqueIDAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUniqueIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readDataModelRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDataModelRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readVendorNameAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeVendorNameAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readVendorIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeVendorIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readProductNameAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeProductNameAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readProductIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeProductIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNodeLabelAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeNodeLabelAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNodeLabelAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLocationAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeLocationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLocationAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readHardwareVersionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeHardwareVersionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readHardwareVersionStringAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeHardwareVersionStringAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSoftwareVersionAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeSoftwareVersionAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSoftwareVersionStringAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeSoftwareVersionStringAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readManufacturingDateAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeManufacturingDateAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPartNumberAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribePartNumberAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readProductURLAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeProductURLAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readProductLabelAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeProductLabelAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSerialNumberAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeSerialNumberAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLocalConfigDisabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeLocalConfigDisabledAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLocalConfigDisabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readReachableAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeReachableAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUniqueIDAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeUniqueIDAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readDataModelRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDataModelRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readVendorNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeVendorNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readVendorIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeVendorIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeProductNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeProductIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNodeLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeNodeLabelAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNodeLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLocationAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeLocationAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLocationAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readHardwareVersionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeHardwareVersionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readHardwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeHardwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSoftwareVersionAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeSoftwareVersionAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSoftwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeSoftwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readManufacturingDateAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeManufacturingDateAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPartNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribePartNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductURLAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeProductURLAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeProductLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSerialNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeSerialNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLocalConfigDisabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeLocalConfigDisabledAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLocalConfigDisabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReachableAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeReachableAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUniqueIDAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeUniqueIDAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class OtaSoftwareUpdateProviderCluster extends BaseChipCluster { @@ -4677,259 +4346,194 @@ public OtaSoftwareUpdateProviderCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void queryImage( - QueryImageResponseCallback callback, - Integer vendorID, - Integer productID, - Long softwareVersion, - ArrayList protocolsSupported, - Optional hardwareVersion, - Optional location, - Optional requestorCanConsent, - Optional metadataForProvider) { - queryImage( - chipClusterPtr, - callback, - vendorID, - productID, - softwareVersion, - protocolsSupported, - hardwareVersion, - location, - requestorCanConsent, - metadataForProvider, - null); - } - - public void queryImage( - QueryImageResponseCallback callback, - Integer vendorID, - Integer productID, - Long softwareVersion, - ArrayList protocolsSupported, - Optional hardwareVersion, - Optional location, - Optional requestorCanConsent, - Optional metadataForProvider, - int timedInvokeTimeoutMs) { - queryImage( - chipClusterPtr, - callback, - vendorID, - productID, - softwareVersion, - protocolsSupported, - hardwareVersion, - location, - requestorCanConsent, - metadataForProvider, - timedInvokeTimeoutMs); - } - - public void applyUpdateRequest( - ApplyUpdateResponseCallback callback, byte[] updateToken, Long newVersion) { + public void queryImage(QueryImageResponseCallback callback + , Integer vendorID, Integer productID, Long softwareVersion, ArrayList protocolsSupported, Optional hardwareVersion, Optional location, Optional requestorCanConsent, Optional metadataForProvider) { + queryImage(chipClusterPtr, callback, vendorID, productID, softwareVersion, protocolsSupported, hardwareVersion, location, requestorCanConsent, metadataForProvider, null); + } + + public void queryImage(QueryImageResponseCallback callback + , Integer vendorID, Integer productID, Long softwareVersion, ArrayList protocolsSupported, Optional hardwareVersion, Optional location, Optional requestorCanConsent, Optional metadataForProvider + , int timedInvokeTimeoutMs) { + queryImage(chipClusterPtr, callback, vendorID, productID, softwareVersion, protocolsSupported, hardwareVersion, location, requestorCanConsent, metadataForProvider, timedInvokeTimeoutMs); + } + + public void applyUpdateRequest(ApplyUpdateResponseCallback callback + , byte[] updateToken, Long newVersion) { applyUpdateRequest(chipClusterPtr, callback, updateToken, newVersion, null); } - public void applyUpdateRequest( - ApplyUpdateResponseCallback callback, - byte[] updateToken, - Long newVersion, - int timedInvokeTimeoutMs) { + public void applyUpdateRequest(ApplyUpdateResponseCallback callback + , byte[] updateToken, Long newVersion + , int timedInvokeTimeoutMs) { applyUpdateRequest(chipClusterPtr, callback, updateToken, newVersion, timedInvokeTimeoutMs); } - public void notifyUpdateApplied( - DefaultClusterCallback callback, byte[] updateToken, Long softwareVersion) { + public void notifyUpdateApplied(DefaultClusterCallback callback + , byte[] updateToken, Long softwareVersion) { notifyUpdateApplied(chipClusterPtr, callback, updateToken, softwareVersion, null); } - public void notifyUpdateApplied( - DefaultClusterCallback callback, - byte[] updateToken, - Long softwareVersion, - int timedInvokeTimeoutMs) { - notifyUpdateApplied( - chipClusterPtr, callback, updateToken, softwareVersion, timedInvokeTimeoutMs); - } - - private native void queryImage( - long chipClusterPtr, - QueryImageResponseCallback Callback, - Integer vendorID, - Integer productID, - Long softwareVersion, - ArrayList protocolsSupported, - Optional hardwareVersion, - Optional location, - Optional requestorCanConsent, - Optional metadataForProvider, - @Nullable Integer timedInvokeTimeoutMs); - - private native void applyUpdateRequest( - long chipClusterPtr, - ApplyUpdateResponseCallback Callback, - byte[] updateToken, - Long newVersion, - @Nullable Integer timedInvokeTimeoutMs); - - private native void notifyUpdateApplied( - long chipClusterPtr, - DefaultClusterCallback Callback, - byte[] updateToken, - Long softwareVersion, - @Nullable Integer timedInvokeTimeoutMs); - + public void notifyUpdateApplied(DefaultClusterCallback callback + , byte[] updateToken, Long softwareVersion + , int timedInvokeTimeoutMs) { + notifyUpdateApplied(chipClusterPtr, callback, updateToken, softwareVersion, timedInvokeTimeoutMs); + } + private native void queryImage(long chipClusterPtr, QueryImageResponseCallback Callback + , Integer vendorID, Integer productID, Long softwareVersion, ArrayList protocolsSupported, Optional hardwareVersion, Optional location, Optional requestorCanConsent, Optional metadataForProvider + , @Nullable Integer timedInvokeTimeoutMs); + private native void applyUpdateRequest(long chipClusterPtr, ApplyUpdateResponseCallback Callback + , byte[] updateToken, Long newVersion + , @Nullable Integer timedInvokeTimeoutMs); + private native void notifyUpdateApplied(long chipClusterPtr, DefaultClusterCallback Callback + , byte[] updateToken, Long softwareVersion + , @Nullable Integer timedInvokeTimeoutMs); public interface QueryImageResponseCallback { - void onSuccess( - Integer status, - Optional delayedActionTime, - Optional imageURI, - Optional softwareVersion, - Optional softwareVersionString, - Optional updateToken, - Optional userConsentNeeded, - Optional metadataForRequestor); - + void onSuccess(Integer status, Optional delayedActionTime, Optional imageURI, Optional softwareVersion, Optional softwareVersionString, Optional updateToken, Optional userConsentNeeded, Optional metadataForRequestor); + void onError(Exception error); } public interface ApplyUpdateResponseCallback { void onSuccess(Integer action, Long delayedActionTime); - + void onError(Exception error); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class OtaSoftwareUpdateRequestorCluster extends BaseChipCluster { @@ -4942,284 +4546,249 @@ public OtaSoftwareUpdateRequestorCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void announceOTAProvider( - DefaultClusterCallback callback, - Long providerNodeID, - Integer vendorID, - Integer announcementReason, - Optional metadataForNode, - Integer endpoint) { - announceOTAProvider( - chipClusterPtr, - callback, - providerNodeID, - vendorID, - announcementReason, - metadataForNode, - endpoint, - null); - } - - public void announceOTAProvider( - DefaultClusterCallback callback, - Long providerNodeID, - Integer vendorID, - Integer announcementReason, - Optional metadataForNode, - Integer endpoint, - int timedInvokeTimeoutMs) { - announceOTAProvider( - chipClusterPtr, - callback, - providerNodeID, - vendorID, - announcementReason, - metadataForNode, - endpoint, - timedInvokeTimeoutMs); - } - - private native void announceOTAProvider( - long chipClusterPtr, - DefaultClusterCallback Callback, - Long providerNodeID, - Integer vendorID, - Integer announcementReason, - Optional metadataForNode, - Integer endpoint, - @Nullable Integer timedInvokeTimeoutMs); - - public interface DefaultOTAProvidersAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface UpdateStateProgressAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void announceOTAProvider(DefaultClusterCallback callback + , Long providerNodeID, Integer vendorID, Integer announcementReason, Optional metadataForNode, Integer endpoint) { + announceOTAProvider(chipClusterPtr, callback, providerNodeID, vendorID, announcementReason, metadataForNode, endpoint, null); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void announceOTAProvider(DefaultClusterCallback callback + , Long providerNodeID, Integer vendorID, Integer announcementReason, Optional metadataForNode, Integer endpoint + , int timedInvokeTimeoutMs) { + announceOTAProvider(chipClusterPtr, callback, providerNodeID, vendorID, announcementReason, metadataForNode, endpoint, timedInvokeTimeoutMs); } + private native void announceOTAProvider(long chipClusterPtr, DefaultClusterCallback Callback + , Long providerNodeID, Integer vendorID, Integer announcementReason, Optional metadataForNode, Integer endpoint + , @Nullable Integer timedInvokeTimeoutMs); - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface DefaultOTAProvidersAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface UpdateStateProgressAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readDefaultOTAProvidersAttribute(DefaultOTAProvidersAttributeCallback callback) { + public void readDefaultOTAProvidersAttribute( + DefaultOTAProvidersAttributeCallback callback + ) { readDefaultOTAProvidersAttribute(chipClusterPtr, callback); } - - public void writeDefaultOTAProvidersAttribute( - DefaultClusterCallback callback, - ArrayList value) { + public void writeDefaultOTAProvidersAttribute(DefaultClusterCallback callback, ArrayList value) { writeDefaultOTAProvidersAttribute(chipClusterPtr, callback, value, null); } - public void writeDefaultOTAProvidersAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { + public void writeDefaultOTAProvidersAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeDefaultOTAProvidersAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeDefaultOTAProvidersAttribute( - DefaultOTAProvidersAttributeCallback callback, int minInterval, int maxInterval) { + DefaultOTAProvidersAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeDefaultOTAProvidersAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUpdatePossibleAttribute(BooleanAttributeCallback callback) { + public void readUpdatePossibleAttribute( + BooleanAttributeCallback callback + ) { readUpdatePossibleAttribute(chipClusterPtr, callback); } - public void subscribeUpdatePossibleAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUpdatePossibleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUpdateStateAttribute(IntegerAttributeCallback callback) { + public void readUpdateStateAttribute( + IntegerAttributeCallback callback + ) { readUpdateStateAttribute(chipClusterPtr, callback); } - public void subscribeUpdateStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUpdateStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUpdateStateProgressAttribute(UpdateStateProgressAttributeCallback callback) { + public void readUpdateStateProgressAttribute( + UpdateStateProgressAttributeCallback callback + ) { readUpdateStateProgressAttribute(chipClusterPtr, callback); } - public void subscribeUpdateStateProgressAttribute( - UpdateStateProgressAttributeCallback callback, int minInterval, int maxInterval) { + UpdateStateProgressAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeUpdateStateProgressAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readDefaultOTAProvidersAttribute( - long chipClusterPtr, DefaultOTAProvidersAttributeCallback callback); - - private native void writeDefaultOTAProvidersAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeDefaultOTAProvidersAttribute( - long chipClusterPtr, - DefaultOTAProvidersAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readUpdatePossibleAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeUpdatePossibleAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUpdateStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeUpdateStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUpdateStateProgressAttribute( - long chipClusterPtr, UpdateStateProgressAttributeCallback callback); - - private native void subscribeUpdateStateProgressAttribute( - long chipClusterPtr, - UpdateStateProgressAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readDefaultOTAProvidersAttribute(long chipClusterPtr, + DefaultOTAProvidersAttributeCallback callback + ); + + private native void writeDefaultOTAProvidersAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeDefaultOTAProvidersAttribute(long chipClusterPtr, + DefaultOTAProvidersAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readUpdatePossibleAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeUpdatePossibleAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUpdateStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeUpdateStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUpdateStateProgressAttribute(long chipClusterPtr, + UpdateStateProgressAttributeCallback callback + ); + private native void subscribeUpdateStateProgressAttribute(long chipClusterPtr, + UpdateStateProgressAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class LocalizationConfigurationCluster extends BaseChipCluster { @@ -5232,424 +4801,418 @@ public LocalizationConfigurationCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface SupportedLocalesAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface SupportedLocalesAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readActiveLocaleAttribute(CharStringAttributeCallback callback) { + public void readActiveLocaleAttribute( + CharStringAttributeCallback callback + ) { readActiveLocaleAttribute(chipClusterPtr, callback); } - public void writeActiveLocaleAttribute(DefaultClusterCallback callback, String value) { writeActiveLocaleAttribute(chipClusterPtr, callback, value, null); } - public void writeActiveLocaleAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeActiveLocaleAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeActiveLocaleAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeActiveLocaleAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeActiveLocaleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportedLocalesAttribute(SupportedLocalesAttributeCallback callback) { + public void readSupportedLocalesAttribute( + SupportedLocalesAttributeCallback callback + ) { readSupportedLocalesAttribute(chipClusterPtr, callback); } - public void subscribeSupportedLocalesAttribute( - SupportedLocalesAttributeCallback callback, int minInterval, int maxInterval) { + SupportedLocalesAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeSupportedLocalesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readActiveLocaleAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); + private native void readActiveLocaleAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeActiveLocaleAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeActiveLocaleAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSupportedLocalesAttribute(long chipClusterPtr, + SupportedLocalesAttributeCallback callback + ); + private native void subscribeSupportedLocalesAttribute(long chipClusterPtr, + SupportedLocalesAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void writeActiveLocaleAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); + public static class TimeFormatLocalizationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 44L; - private native void subscribeActiveLocaleAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); + public TimeFormatLocalizationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readSupportedLocalesAttribute( - long chipClusterPtr, SupportedLocalesAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeSupportedLocalesAttribute( - long chipClusterPtr, - SupportedLocalesAttributeCallback callback, - int minInterval, - int maxInterval); + public interface SupportedCalendarTypesAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class TimeFormatLocalizationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 44L; - - public TimeFormatLocalizationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface SupportedCalendarTypesAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readHourFormatAttribute(IntegerAttributeCallback callback) { + public void readHourFormatAttribute( + IntegerAttributeCallback callback + ) { readHourFormatAttribute(chipClusterPtr, callback); } - public void writeHourFormatAttribute(DefaultClusterCallback callback, Integer value) { writeHourFormatAttribute(chipClusterPtr, callback, value, null); } - public void writeHourFormatAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeHourFormatAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeHourFormatAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeHourFormatAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeHourFormatAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveCalendarTypeAttribute(IntegerAttributeCallback callback) { + public void readActiveCalendarTypeAttribute( + IntegerAttributeCallback callback + ) { readActiveCalendarTypeAttribute(chipClusterPtr, callback); } - public void writeActiveCalendarTypeAttribute(DefaultClusterCallback callback, Integer value) { writeActiveCalendarTypeAttribute(chipClusterPtr, callback, value, null); } - public void writeActiveCalendarTypeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeActiveCalendarTypeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeActiveCalendarTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeActiveCalendarTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeActiveCalendarTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readSupportedCalendarTypesAttribute( - SupportedCalendarTypesAttributeCallback callback) { + SupportedCalendarTypesAttributeCallback callback + ) { readSupportedCalendarTypesAttribute(chipClusterPtr, callback); } - public void subscribeSupportedCalendarTypesAttribute( - SupportedCalendarTypesAttributeCallback callback, int minInterval, int maxInterval) { + SupportedCalendarTypesAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeSupportedCalendarTypesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readHourFormatAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeHourFormatAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeHourFormatAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveCalendarTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeActiveCalendarTypeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeActiveCalendarTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSupportedCalendarTypesAttribute( - long chipClusterPtr, SupportedCalendarTypesAttributeCallback callback); - - private native void subscribeSupportedCalendarTypesAttribute( - long chipClusterPtr, - SupportedCalendarTypesAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readHourFormatAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeHourFormatAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeHourFormatAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveCalendarTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeActiveCalendarTypeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeActiveCalendarTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSupportedCalendarTypesAttribute(long chipClusterPtr, + SupportedCalendarTypesAttributeCallback callback + ); + private native void subscribeSupportedCalendarTypesAttribute(long chipClusterPtr, + SupportedCalendarTypesAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class UnitLocalizationCluster extends BaseChipCluster { @@ -5662,166 +5225,168 @@ public UnitLocalizationCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readTemperatureUnitAttribute(IntegerAttributeCallback callback) { + public void readTemperatureUnitAttribute( + IntegerAttributeCallback callback + ) { readTemperatureUnitAttribute(chipClusterPtr, callback); } - public void writeTemperatureUnitAttribute(DefaultClusterCallback callback, Integer value) { writeTemperatureUnitAttribute(chipClusterPtr, callback, value, null); } - public void writeTemperatureUnitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeTemperatureUnitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeTemperatureUnitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeTemperatureUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTemperatureUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readTemperatureUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeTemperatureUnitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeTemperatureUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readTemperatureUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeTemperatureUnitAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeTemperatureUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class PowerSourceConfigurationCluster extends BaseChipCluster { @@ -5834,159 +5399,164 @@ public PowerSourceConfigurationCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface SourcesAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface SourcesAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readSourcesAttribute(SourcesAttributeCallback callback) { + public void readSourcesAttribute( + SourcesAttributeCallback callback + ) { readSourcesAttribute(chipClusterPtr, callback); } - public void subscribeSourcesAttribute( - SourcesAttributeCallback callback, int minInterval, int maxInterval) { + SourcesAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeSourcesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readSourcesAttribute( - long chipClusterPtr, SourcesAttributeCallback callback); - - private native void subscribeSourcesAttribute( - long chipClusterPtr, SourcesAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readSourcesAttribute(long chipClusterPtr, + SourcesAttributeCallback callback + ); + private native void subscribeSourcesAttribute(long chipClusterPtr, + SourcesAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class PowerSourceCluster extends BaseChipCluster { @@ -5999,739 +5569,784 @@ public PowerSourceCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface WiredAssessedInputVoltageAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface WiredAssessedInputFrequencyAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface WiredAssessedCurrentAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ActiveWiredFaultsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface BatVoltageAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface BatPercentRemainingAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface BatTimeRemainingAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ActiveBatFaultsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface BatTimeToFullChargeAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface BatChargingCurrentAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ActiveBatChargeFaultsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface WiredAssessedInputVoltageAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface WiredAssessedInputFrequencyAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface WiredAssessedCurrentAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveWiredFaultsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BatVoltageAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BatPercentRemainingAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BatTimeRemainingAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveBatFaultsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BatTimeToFullChargeAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BatChargingCurrentAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveBatChargeFaultsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readStatusAttribute(IntegerAttributeCallback callback) { + public void readStatusAttribute( + IntegerAttributeCallback callback + ) { readStatusAttribute(chipClusterPtr, callback); } - public void subscribeStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOrderAttribute(IntegerAttributeCallback callback) { + public void readOrderAttribute( + IntegerAttributeCallback callback + ) { readOrderAttribute(chipClusterPtr, callback); } - public void subscribeOrderAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOrderAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDescriptionAttribute(CharStringAttributeCallback callback) { + public void readDescriptionAttribute( + CharStringAttributeCallback callback + ) { readDescriptionAttribute(chipClusterPtr, callback); } - public void subscribeDescriptionAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readWiredAssessedInputVoltageAttribute( - WiredAssessedInputVoltageAttributeCallback callback) { + WiredAssessedInputVoltageAttributeCallback callback + ) { readWiredAssessedInputVoltageAttribute(chipClusterPtr, callback); } - public void subscribeWiredAssessedInputVoltageAttribute( - WiredAssessedInputVoltageAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWiredAssessedInputVoltageAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + WiredAssessedInputVoltageAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeWiredAssessedInputVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readWiredAssessedInputFrequencyAttribute( - WiredAssessedInputFrequencyAttributeCallback callback) { + WiredAssessedInputFrequencyAttributeCallback callback + ) { readWiredAssessedInputFrequencyAttribute(chipClusterPtr, callback); } - public void subscribeWiredAssessedInputFrequencyAttribute( - WiredAssessedInputFrequencyAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWiredAssessedInputFrequencyAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + WiredAssessedInputFrequencyAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeWiredAssessedInputFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWiredCurrentTypeAttribute(IntegerAttributeCallback callback) { + public void readWiredCurrentTypeAttribute( + IntegerAttributeCallback callback + ) { readWiredCurrentTypeAttribute(chipClusterPtr, callback); } - public void subscribeWiredCurrentTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeWiredCurrentTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWiredAssessedCurrentAttribute(WiredAssessedCurrentAttributeCallback callback) { + public void readWiredAssessedCurrentAttribute( + WiredAssessedCurrentAttributeCallback callback + ) { readWiredAssessedCurrentAttribute(chipClusterPtr, callback); } - public void subscribeWiredAssessedCurrentAttribute( - WiredAssessedCurrentAttributeCallback callback, int minInterval, int maxInterval) { + WiredAssessedCurrentAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeWiredAssessedCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWiredNominalVoltageAttribute(LongAttributeCallback callback) { + public void readWiredNominalVoltageAttribute( + LongAttributeCallback callback + ) { readWiredNominalVoltageAttribute(chipClusterPtr, callback); } - public void subscribeWiredNominalVoltageAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeWiredNominalVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWiredMaximumCurrentAttribute(LongAttributeCallback callback) { + public void readWiredMaximumCurrentAttribute( + LongAttributeCallback callback + ) { readWiredMaximumCurrentAttribute(chipClusterPtr, callback); } - public void subscribeWiredMaximumCurrentAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeWiredMaximumCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWiredPresentAttribute(BooleanAttributeCallback callback) { + public void readWiredPresentAttribute( + BooleanAttributeCallback callback + ) { readWiredPresentAttribute(chipClusterPtr, callback); } - public void subscribeWiredPresentAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeWiredPresentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveWiredFaultsAttribute(ActiveWiredFaultsAttributeCallback callback) { + public void readActiveWiredFaultsAttribute( + ActiveWiredFaultsAttributeCallback callback + ) { readActiveWiredFaultsAttribute(chipClusterPtr, callback); } - public void subscribeActiveWiredFaultsAttribute( - ActiveWiredFaultsAttributeCallback callback, int minInterval, int maxInterval) { + ActiveWiredFaultsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveWiredFaultsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatVoltageAttribute(BatVoltageAttributeCallback callback) { + public void readBatVoltageAttribute( + BatVoltageAttributeCallback callback + ) { readBatVoltageAttribute(chipClusterPtr, callback); } - public void subscribeBatVoltageAttribute( - BatVoltageAttributeCallback callback, int minInterval, int maxInterval) { + BatVoltageAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeBatVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatPercentRemainingAttribute(BatPercentRemainingAttributeCallback callback) { + public void readBatPercentRemainingAttribute( + BatPercentRemainingAttributeCallback callback + ) { readBatPercentRemainingAttribute(chipClusterPtr, callback); } - public void subscribeBatPercentRemainingAttribute( - BatPercentRemainingAttributeCallback callback, int minInterval, int maxInterval) { + BatPercentRemainingAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeBatPercentRemainingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatTimeRemainingAttribute(BatTimeRemainingAttributeCallback callback) { + public void readBatTimeRemainingAttribute( + BatTimeRemainingAttributeCallback callback + ) { readBatTimeRemainingAttribute(chipClusterPtr, callback); } - public void subscribeBatTimeRemainingAttribute( - BatTimeRemainingAttributeCallback callback, int minInterval, int maxInterval) { + BatTimeRemainingAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeBatTimeRemainingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatChargeLevelAttribute(IntegerAttributeCallback callback) { + public void readBatChargeLevelAttribute( + IntegerAttributeCallback callback + ) { readBatChargeLevelAttribute(chipClusterPtr, callback); } - public void subscribeBatChargeLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatChargeLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatReplacementNeededAttribute(BooleanAttributeCallback callback) { + public void readBatReplacementNeededAttribute( + BooleanAttributeCallback callback + ) { readBatReplacementNeededAttribute(chipClusterPtr, callback); } - public void subscribeBatReplacementNeededAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatReplacementNeededAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatReplaceabilityAttribute(IntegerAttributeCallback callback) { + public void readBatReplaceabilityAttribute( + IntegerAttributeCallback callback + ) { readBatReplaceabilityAttribute(chipClusterPtr, callback); } - public void subscribeBatReplaceabilityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatReplaceabilityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatPresentAttribute(BooleanAttributeCallback callback) { + public void readBatPresentAttribute( + BooleanAttributeCallback callback + ) { readBatPresentAttribute(chipClusterPtr, callback); } - public void subscribeBatPresentAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatPresentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveBatFaultsAttribute(ActiveBatFaultsAttributeCallback callback) { + public void readActiveBatFaultsAttribute( + ActiveBatFaultsAttributeCallback callback + ) { readActiveBatFaultsAttribute(chipClusterPtr, callback); } - public void subscribeActiveBatFaultsAttribute( - ActiveBatFaultsAttributeCallback callback, int minInterval, int maxInterval) { + ActiveBatFaultsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveBatFaultsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatReplacementDescriptionAttribute(CharStringAttributeCallback callback) { + public void readBatReplacementDescriptionAttribute( + CharStringAttributeCallback callback + ) { readBatReplacementDescriptionAttribute(chipClusterPtr, callback); } - public void subscribeBatReplacementDescriptionAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBatReplacementDescriptionAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBatReplacementDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatCommonDesignationAttribute(IntegerAttributeCallback callback) { + public void readBatCommonDesignationAttribute( + IntegerAttributeCallback callback + ) { readBatCommonDesignationAttribute(chipClusterPtr, callback); } - public void subscribeBatCommonDesignationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatCommonDesignationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatANSIDesignationAttribute(CharStringAttributeCallback callback) { + public void readBatANSIDesignationAttribute( + CharStringAttributeCallback callback + ) { readBatANSIDesignationAttribute(chipClusterPtr, callback); } - public void subscribeBatANSIDesignationAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatANSIDesignationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatIECDesignationAttribute(CharStringAttributeCallback callback) { + public void readBatIECDesignationAttribute( + CharStringAttributeCallback callback + ) { readBatIECDesignationAttribute(chipClusterPtr, callback); } - public void subscribeBatIECDesignationAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatIECDesignationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatApprovedChemistryAttribute(IntegerAttributeCallback callback) { + public void readBatApprovedChemistryAttribute( + IntegerAttributeCallback callback + ) { readBatApprovedChemistryAttribute(chipClusterPtr, callback); } - public void subscribeBatApprovedChemistryAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatApprovedChemistryAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatCapacityAttribute(LongAttributeCallback callback) { + public void readBatCapacityAttribute( + LongAttributeCallback callback + ) { readBatCapacityAttribute(chipClusterPtr, callback); } - public void subscribeBatCapacityAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatQuantityAttribute(IntegerAttributeCallback callback) { + public void readBatQuantityAttribute( + IntegerAttributeCallback callback + ) { readBatQuantityAttribute(chipClusterPtr, callback); } - public void subscribeBatQuantityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatQuantityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatChargeStateAttribute(IntegerAttributeCallback callback) { + public void readBatChargeStateAttribute( + IntegerAttributeCallback callback + ) { readBatChargeStateAttribute(chipClusterPtr, callback); } - public void subscribeBatChargeStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBatChargeStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatTimeToFullChargeAttribute(BatTimeToFullChargeAttributeCallback callback) { + public void readBatTimeToFullChargeAttribute( + BatTimeToFullChargeAttributeCallback callback + ) { readBatTimeToFullChargeAttribute(chipClusterPtr, callback); } - public void subscribeBatTimeToFullChargeAttribute( - BatTimeToFullChargeAttributeCallback callback, int minInterval, int maxInterval) { + BatTimeToFullChargeAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeBatTimeToFullChargeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatFunctionalWhileChargingAttribute(BooleanAttributeCallback callback) { + public void readBatFunctionalWhileChargingAttribute( + BooleanAttributeCallback callback + ) { readBatFunctionalWhileChargingAttribute(chipClusterPtr, callback); } - public void subscribeBatFunctionalWhileChargingAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBatFunctionalWhileChargingAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBatFunctionalWhileChargingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBatChargingCurrentAttribute(BatChargingCurrentAttributeCallback callback) { + public void readBatChargingCurrentAttribute( + BatChargingCurrentAttributeCallback callback + ) { readBatChargingCurrentAttribute(chipClusterPtr, callback); } - public void subscribeBatChargingCurrentAttribute( - BatChargingCurrentAttributeCallback callback, int minInterval, int maxInterval) { + BatChargingCurrentAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeBatChargingCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readActiveBatChargeFaultsAttribute( - ActiveBatChargeFaultsAttributeCallback callback) { + ActiveBatChargeFaultsAttributeCallback callback + ) { readActiveBatChargeFaultsAttribute(chipClusterPtr, callback); } - public void subscribeActiveBatChargeFaultsAttribute( - ActiveBatChargeFaultsAttributeCallback callback, int minInterval, int maxInterval) { + ActiveBatChargeFaultsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveBatChargeFaultsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readStatusAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOrderAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeOrderAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDescriptionAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeDescriptionAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readWiredAssessedInputVoltageAttribute( - long chipClusterPtr, WiredAssessedInputVoltageAttributeCallback callback); - - private native void subscribeWiredAssessedInputVoltageAttribute( - long chipClusterPtr, - WiredAssessedInputVoltageAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readWiredAssessedInputFrequencyAttribute( - long chipClusterPtr, WiredAssessedInputFrequencyAttributeCallback callback); - - private native void subscribeWiredAssessedInputFrequencyAttribute( - long chipClusterPtr, - WiredAssessedInputFrequencyAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readWiredCurrentTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeWiredCurrentTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readWiredAssessedCurrentAttribute( - long chipClusterPtr, WiredAssessedCurrentAttributeCallback callback); - - private native void subscribeWiredAssessedCurrentAttribute( - long chipClusterPtr, - WiredAssessedCurrentAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readWiredNominalVoltageAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeWiredNominalVoltageAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readWiredMaximumCurrentAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeWiredMaximumCurrentAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readWiredPresentAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeWiredPresentAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveWiredFaultsAttribute( - long chipClusterPtr, ActiveWiredFaultsAttributeCallback callback); - - private native void subscribeActiveWiredFaultsAttribute( - long chipClusterPtr, - ActiveWiredFaultsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatVoltageAttribute( - long chipClusterPtr, BatVoltageAttributeCallback callback); - - private native void subscribeBatVoltageAttribute( - long chipClusterPtr, - BatVoltageAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatPercentRemainingAttribute( - long chipClusterPtr, BatPercentRemainingAttributeCallback callback); - - private native void subscribeBatPercentRemainingAttribute( - long chipClusterPtr, - BatPercentRemainingAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatTimeRemainingAttribute( - long chipClusterPtr, BatTimeRemainingAttributeCallback callback); - - private native void subscribeBatTimeRemainingAttribute( - long chipClusterPtr, - BatTimeRemainingAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatChargeLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBatChargeLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatReplacementNeededAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeBatReplacementNeededAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatReplaceabilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBatReplaceabilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatPresentAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeBatPresentAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveBatFaultsAttribute( - long chipClusterPtr, ActiveBatFaultsAttributeCallback callback); - - private native void subscribeActiveBatFaultsAttribute( - long chipClusterPtr, - ActiveBatFaultsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatReplacementDescriptionAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeBatReplacementDescriptionAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatCommonDesignationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBatCommonDesignationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatANSIDesignationAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeBatANSIDesignationAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatIECDesignationAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeBatIECDesignationAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatApprovedChemistryAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBatApprovedChemistryAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatCapacityAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeBatCapacityAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatQuantityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBatQuantityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatChargeStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBatChargeStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatTimeToFullChargeAttribute( - long chipClusterPtr, BatTimeToFullChargeAttributeCallback callback); - - private native void subscribeBatTimeToFullChargeAttribute( - long chipClusterPtr, - BatTimeToFullChargeAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBatFunctionalWhileChargingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeBatFunctionalWhileChargingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatChargingCurrentAttribute( - long chipClusterPtr, BatChargingCurrentAttributeCallback callback); - - private native void subscribeBatChargingCurrentAttribute( - long chipClusterPtr, - BatChargingCurrentAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readActiveBatChargeFaultsAttribute( - long chipClusterPtr, ActiveBatChargeFaultsAttributeCallback callback); - - private native void subscribeActiveBatChargeFaultsAttribute( - long chipClusterPtr, - ActiveBatChargeFaultsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOrderAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeOrderAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWiredAssessedInputVoltageAttribute(long chipClusterPtr, + WiredAssessedInputVoltageAttributeCallback callback + ); + private native void subscribeWiredAssessedInputVoltageAttribute(long chipClusterPtr, + WiredAssessedInputVoltageAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readWiredAssessedInputFrequencyAttribute(long chipClusterPtr, + WiredAssessedInputFrequencyAttributeCallback callback + ); + private native void subscribeWiredAssessedInputFrequencyAttribute(long chipClusterPtr, + WiredAssessedInputFrequencyAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readWiredCurrentTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeWiredCurrentTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWiredAssessedCurrentAttribute(long chipClusterPtr, + WiredAssessedCurrentAttributeCallback callback + ); + private native void subscribeWiredAssessedCurrentAttribute(long chipClusterPtr, + WiredAssessedCurrentAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readWiredNominalVoltageAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeWiredNominalVoltageAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWiredMaximumCurrentAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeWiredMaximumCurrentAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWiredPresentAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeWiredPresentAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveWiredFaultsAttribute(long chipClusterPtr, + ActiveWiredFaultsAttributeCallback callback + ); + private native void subscribeActiveWiredFaultsAttribute(long chipClusterPtr, + ActiveWiredFaultsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBatVoltageAttribute(long chipClusterPtr, + BatVoltageAttributeCallback callback + ); + private native void subscribeBatVoltageAttribute(long chipClusterPtr, + BatVoltageAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBatPercentRemainingAttribute(long chipClusterPtr, + BatPercentRemainingAttributeCallback callback + ); + private native void subscribeBatPercentRemainingAttribute(long chipClusterPtr, + BatPercentRemainingAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBatTimeRemainingAttribute(long chipClusterPtr, + BatTimeRemainingAttributeCallback callback + ); + private native void subscribeBatTimeRemainingAttribute(long chipClusterPtr, + BatTimeRemainingAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBatChargeLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBatChargeLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatReplacementNeededAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeBatReplacementNeededAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatReplaceabilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBatReplaceabilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatPresentAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeBatPresentAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveBatFaultsAttribute(long chipClusterPtr, + ActiveBatFaultsAttributeCallback callback + ); + private native void subscribeActiveBatFaultsAttribute(long chipClusterPtr, + ActiveBatFaultsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBatReplacementDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeBatReplacementDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatCommonDesignationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBatCommonDesignationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatANSIDesignationAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeBatANSIDesignationAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatIECDesignationAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeBatIECDesignationAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatApprovedChemistryAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBatApprovedChemistryAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatCapacityAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeBatCapacityAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatQuantityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBatQuantityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatChargeStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBatChargeStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatTimeToFullChargeAttribute(long chipClusterPtr, + BatTimeToFullChargeAttributeCallback callback + ); + private native void subscribeBatTimeToFullChargeAttribute(long chipClusterPtr, + BatTimeToFullChargeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBatFunctionalWhileChargingAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeBatFunctionalWhileChargingAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatChargingCurrentAttribute(long chipClusterPtr, + BatChargingCurrentAttributeCallback callback + ); + private native void subscribeBatChargingCurrentAttribute(long chipClusterPtr, + BatChargingCurrentAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readActiveBatChargeFaultsAttribute(long chipClusterPtr, + ActiveBatChargeFaultsAttributeCallback callback + ); + private native void subscribeActiveBatChargeFaultsAttribute(long chipClusterPtr, + ActiveBatChargeFaultsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class GeneralCommissioningCluster extends BaseChipCluster { @@ -6744,297 +6359,285 @@ public GeneralCommissioningCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void armFailSafe( - ArmFailSafeResponseCallback callback, Integer expiryLengthSeconds, Long breadcrumb) { + public void armFailSafe(ArmFailSafeResponseCallback callback + , Integer expiryLengthSeconds, Long breadcrumb) { armFailSafe(chipClusterPtr, callback, expiryLengthSeconds, breadcrumb, null); } - public void armFailSafe( - ArmFailSafeResponseCallback callback, - Integer expiryLengthSeconds, - Long breadcrumb, - int timedInvokeTimeoutMs) { + public void armFailSafe(ArmFailSafeResponseCallback callback + , Integer expiryLengthSeconds, Long breadcrumb + , int timedInvokeTimeoutMs) { armFailSafe(chipClusterPtr, callback, expiryLengthSeconds, breadcrumb, timedInvokeTimeoutMs); } - public void setRegulatoryConfig( - SetRegulatoryConfigResponseCallback callback, - Integer newRegulatoryConfig, - String countryCode, - Long breadcrumb) { - setRegulatoryConfig( - chipClusterPtr, callback, newRegulatoryConfig, countryCode, breadcrumb, null); + public void setRegulatoryConfig(SetRegulatoryConfigResponseCallback callback + , Integer newRegulatoryConfig, String countryCode, Long breadcrumb) { + setRegulatoryConfig(chipClusterPtr, callback, newRegulatoryConfig, countryCode, breadcrumb, null); } - public void setRegulatoryConfig( - SetRegulatoryConfigResponseCallback callback, - Integer newRegulatoryConfig, - String countryCode, - Long breadcrumb, - int timedInvokeTimeoutMs) { - setRegulatoryConfig( - chipClusterPtr, - callback, - newRegulatoryConfig, - countryCode, - breadcrumb, - timedInvokeTimeoutMs); + public void setRegulatoryConfig(SetRegulatoryConfigResponseCallback callback + , Integer newRegulatoryConfig, String countryCode, Long breadcrumb + , int timedInvokeTimeoutMs) { + setRegulatoryConfig(chipClusterPtr, callback, newRegulatoryConfig, countryCode, breadcrumb, timedInvokeTimeoutMs); } - public void commissioningComplete(CommissioningCompleteResponseCallback callback) { + public void commissioningComplete(CommissioningCompleteResponseCallback callback + ) { commissioningComplete(chipClusterPtr, callback, null); } - public void commissioningComplete( - CommissioningCompleteResponseCallback callback, int timedInvokeTimeoutMs) { - + public void commissioningComplete(CommissioningCompleteResponseCallback callback + + , int timedInvokeTimeoutMs) { commissioningComplete(chipClusterPtr, callback, timedInvokeTimeoutMs); } - - private native void armFailSafe( - long chipClusterPtr, - ArmFailSafeResponseCallback Callback, - Integer expiryLengthSeconds, - Long breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setRegulatoryConfig( - long chipClusterPtr, - SetRegulatoryConfigResponseCallback Callback, - Integer newRegulatoryConfig, - String countryCode, - Long breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - - private native void commissioningComplete( - long chipClusterPtr, - CommissioningCompleteResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - + private native void armFailSafe(long chipClusterPtr, ArmFailSafeResponseCallback Callback + , Integer expiryLengthSeconds, Long breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); + private native void setRegulatoryConfig(long chipClusterPtr, SetRegulatoryConfigResponseCallback Callback + , Integer newRegulatoryConfig, String countryCode, Long breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); + private native void commissioningComplete(long chipClusterPtr, CommissioningCompleteResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); public interface ArmFailSafeResponseCallback { void onSuccess(Integer errorCode, String debugText); - + void onError(Exception error); } public interface SetRegulatoryConfigResponseCallback { void onSuccess(Integer errorCode, String debugText); - + void onError(Exception error); } public interface CommissioningCompleteResponseCallback { void onSuccess(Integer errorCode, String debugText); - + void onError(Exception error); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readBreadcrumbAttribute(LongAttributeCallback callback) { + public void readBreadcrumbAttribute( + LongAttributeCallback callback + ) { readBreadcrumbAttribute(chipClusterPtr, callback); } - public void writeBreadcrumbAttribute(DefaultClusterCallback callback, Long value) { writeBreadcrumbAttribute(chipClusterPtr, callback, value, null); } - public void writeBreadcrumbAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeBreadcrumbAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeBreadcrumbAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBreadcrumbAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBreadcrumbAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRegulatoryConfigAttribute(IntegerAttributeCallback callback) { + public void readRegulatoryConfigAttribute( + IntegerAttributeCallback callback + ) { readRegulatoryConfigAttribute(chipClusterPtr, callback); } - public void subscribeRegulatoryConfigAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRegulatoryConfigAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLocationCapabilityAttribute(IntegerAttributeCallback callback) { + public void readLocationCapabilityAttribute( + IntegerAttributeCallback callback + ) { readLocationCapabilityAttribute(chipClusterPtr, callback); } - public void subscribeLocationCapabilityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLocationCapabilityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportsConcurrentConnectionAttribute(BooleanAttributeCallback callback) { + public void readSupportsConcurrentConnectionAttribute( + BooleanAttributeCallback callback + ) { readSupportsConcurrentConnectionAttribute(chipClusterPtr, callback); } - public void subscribeSupportsConcurrentConnectionAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportsConcurrentConnectionAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportsConcurrentConnectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readBreadcrumbAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void writeBreadcrumbAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBreadcrumbAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRegulatoryConfigAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRegulatoryConfigAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLocationCapabilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLocationCapabilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSupportsConcurrentConnectionAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeSupportsConcurrentConnectionAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readBreadcrumbAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeBreadcrumbAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBreadcrumbAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRegulatoryConfigAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRegulatoryConfigAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLocationCapabilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLocationCapabilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSupportsConcurrentConnectionAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeSupportsConcurrentConnectionAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class NetworkCommissioningCluster extends BaseChipCluster { @@ -7047,476 +6650,423 @@ public NetworkCommissioningCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void scanNetworks( - ScanNetworksResponseCallback callback, - @Nullable Optional ssid, - Optional breadcrumb) { + public void scanNetworks(ScanNetworksResponseCallback callback + , @Nullable Optional ssid, Optional breadcrumb) { scanNetworks(chipClusterPtr, callback, ssid, breadcrumb, null); } - public void scanNetworks( - ScanNetworksResponseCallback callback, - @Nullable Optional ssid, - Optional breadcrumb, - int timedInvokeTimeoutMs) { + public void scanNetworks(ScanNetworksResponseCallback callback + , @Nullable Optional ssid, Optional breadcrumb + , int timedInvokeTimeoutMs) { scanNetworks(chipClusterPtr, callback, ssid, breadcrumb, timedInvokeTimeoutMs); } - public void addOrUpdateWiFiNetwork( - NetworkConfigResponseCallback callback, - byte[] ssid, - byte[] credentials, - Optional breadcrumb) { + public void addOrUpdateWiFiNetwork(NetworkConfigResponseCallback callback + , byte[] ssid, byte[] credentials, Optional breadcrumb) { addOrUpdateWiFiNetwork(chipClusterPtr, callback, ssid, credentials, breadcrumb, null); } - public void addOrUpdateWiFiNetwork( - NetworkConfigResponseCallback callback, - byte[] ssid, - byte[] credentials, - Optional breadcrumb, - int timedInvokeTimeoutMs) { - addOrUpdateWiFiNetwork( - chipClusterPtr, callback, ssid, credentials, breadcrumb, timedInvokeTimeoutMs); + public void addOrUpdateWiFiNetwork(NetworkConfigResponseCallback callback + , byte[] ssid, byte[] credentials, Optional breadcrumb + , int timedInvokeTimeoutMs) { + addOrUpdateWiFiNetwork(chipClusterPtr, callback, ssid, credentials, breadcrumb, timedInvokeTimeoutMs); } - public void addOrUpdateThreadNetwork( - NetworkConfigResponseCallback callback, - byte[] operationalDataset, - Optional breadcrumb) { + public void addOrUpdateThreadNetwork(NetworkConfigResponseCallback callback + , byte[] operationalDataset, Optional breadcrumb) { addOrUpdateThreadNetwork(chipClusterPtr, callback, operationalDataset, breadcrumb, null); } - public void addOrUpdateThreadNetwork( - NetworkConfigResponseCallback callback, - byte[] operationalDataset, - Optional breadcrumb, - int timedInvokeTimeoutMs) { - addOrUpdateThreadNetwork( - chipClusterPtr, callback, operationalDataset, breadcrumb, timedInvokeTimeoutMs); + public void addOrUpdateThreadNetwork(NetworkConfigResponseCallback callback + , byte[] operationalDataset, Optional breadcrumb + , int timedInvokeTimeoutMs) { + addOrUpdateThreadNetwork(chipClusterPtr, callback, operationalDataset, breadcrumb, timedInvokeTimeoutMs); } - public void removeNetwork( - NetworkConfigResponseCallback callback, byte[] networkID, Optional breadcrumb) { + public void removeNetwork(NetworkConfigResponseCallback callback + , byte[] networkID, Optional breadcrumb) { removeNetwork(chipClusterPtr, callback, networkID, breadcrumb, null); } - public void removeNetwork( - NetworkConfigResponseCallback callback, - byte[] networkID, - Optional breadcrumb, - int timedInvokeTimeoutMs) { + public void removeNetwork(NetworkConfigResponseCallback callback + , byte[] networkID, Optional breadcrumb + , int timedInvokeTimeoutMs) { removeNetwork(chipClusterPtr, callback, networkID, breadcrumb, timedInvokeTimeoutMs); } - public void connectNetwork( - ConnectNetworkResponseCallback callback, byte[] networkID, Optional breadcrumb) { + public void connectNetwork(ConnectNetworkResponseCallback callback + , byte[] networkID, Optional breadcrumb) { connectNetwork(chipClusterPtr, callback, networkID, breadcrumb, null); } - public void connectNetwork( - ConnectNetworkResponseCallback callback, - byte[] networkID, - Optional breadcrumb, - int timedInvokeTimeoutMs) { + public void connectNetwork(ConnectNetworkResponseCallback callback + , byte[] networkID, Optional breadcrumb + , int timedInvokeTimeoutMs) { connectNetwork(chipClusterPtr, callback, networkID, breadcrumb, timedInvokeTimeoutMs); } - public void reorderNetwork( - NetworkConfigResponseCallback callback, - byte[] networkID, - Integer networkIndex, - Optional breadcrumb) { + public void reorderNetwork(NetworkConfigResponseCallback callback + , byte[] networkID, Integer networkIndex, Optional breadcrumb) { reorderNetwork(chipClusterPtr, callback, networkID, networkIndex, breadcrumb, null); } - public void reorderNetwork( - NetworkConfigResponseCallback callback, - byte[] networkID, - Integer networkIndex, - Optional breadcrumb, - int timedInvokeTimeoutMs) { - reorderNetwork( - chipClusterPtr, callback, networkID, networkIndex, breadcrumb, timedInvokeTimeoutMs); - } - - private native void scanNetworks( - long chipClusterPtr, - ScanNetworksResponseCallback Callback, - @Nullable Optional ssid, - Optional breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - - private native void addOrUpdateWiFiNetwork( - long chipClusterPtr, - NetworkConfigResponseCallback Callback, - byte[] ssid, - byte[] credentials, - Optional breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - - private native void addOrUpdateThreadNetwork( - long chipClusterPtr, - NetworkConfigResponseCallback Callback, - byte[] operationalDataset, - Optional breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - - private native void removeNetwork( - long chipClusterPtr, - NetworkConfigResponseCallback Callback, - byte[] networkID, - Optional breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - - private native void connectNetwork( - long chipClusterPtr, - ConnectNetworkResponseCallback Callback, - byte[] networkID, - Optional breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - - private native void reorderNetwork( - long chipClusterPtr, - NetworkConfigResponseCallback Callback, - byte[] networkID, - Integer networkIndex, - Optional breadcrumb, - @Nullable Integer timedInvokeTimeoutMs); - + public void reorderNetwork(NetworkConfigResponseCallback callback + , byte[] networkID, Integer networkIndex, Optional breadcrumb + , int timedInvokeTimeoutMs) { + reorderNetwork(chipClusterPtr, callback, networkID, networkIndex, breadcrumb, timedInvokeTimeoutMs); + } + private native void scanNetworks(long chipClusterPtr, ScanNetworksResponseCallback Callback + , @Nullable Optional ssid, Optional breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); + private native void addOrUpdateWiFiNetwork(long chipClusterPtr, NetworkConfigResponseCallback Callback + , byte[] ssid, byte[] credentials, Optional breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); + private native void addOrUpdateThreadNetwork(long chipClusterPtr, NetworkConfigResponseCallback Callback + , byte[] operationalDataset, Optional breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); + private native void removeNetwork(long chipClusterPtr, NetworkConfigResponseCallback Callback + , byte[] networkID, Optional breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); + private native void connectNetwork(long chipClusterPtr, ConnectNetworkResponseCallback Callback + , byte[] networkID, Optional breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); + private native void reorderNetwork(long chipClusterPtr, NetworkConfigResponseCallback Callback + , byte[] networkID, Integer networkIndex, Optional breadcrumb + , @Nullable Integer timedInvokeTimeoutMs); public interface ScanNetworksResponseCallback { - void onSuccess( - Integer networkingStatus, - Optional debugText, - Optional> - wiFiScanResults, - Optional> - threadScanResults); - + void onSuccess(Integer networkingStatus, Optional debugText, Optional> wiFiScanResults, Optional> threadScanResults); + void onError(Exception error); } public interface NetworkConfigResponseCallback { - void onSuccess( - Integer networkingStatus, Optional debugText, Optional networkIndex); - + void onSuccess(Integer networkingStatus, Optional debugText, Optional networkIndex); + void onError(Exception error); } public interface ConnectNetworkResponseCallback { - void onSuccess( - Integer networkingStatus, Optional debugText, @Nullable Long errorValue); - + void onSuccess(Integer networkingStatus, Optional debugText, @Nullable Long errorValue); + void onError(Exception error); } - public interface NetworksAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface LastNetworkingStatusAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface LastNetworkIDAttributeCallback { - void onSuccess(@Nullable byte[] value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface LastConnectErrorValueAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface NetworksAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LastNetworkingStatusAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LastNetworkIDAttributeCallback { + void onSuccess(@Nullable byte[] value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LastConnectErrorValueAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMaxNetworksAttribute(IntegerAttributeCallback callback) { + public void readMaxNetworksAttribute( + IntegerAttributeCallback callback + ) { readMaxNetworksAttribute(chipClusterPtr, callback); } - public void subscribeMaxNetworksAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMaxNetworksAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNetworksAttribute(NetworksAttributeCallback callback) { + public void readNetworksAttribute( + NetworksAttributeCallback callback + ) { readNetworksAttribute(chipClusterPtr, callback); } - public void subscribeNetworksAttribute( - NetworksAttributeCallback callback, int minInterval, int maxInterval) { + NetworksAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNetworksAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScanMaxTimeSecondsAttribute(IntegerAttributeCallback callback) { + public void readScanMaxTimeSecondsAttribute( + IntegerAttributeCallback callback + ) { readScanMaxTimeSecondsAttribute(chipClusterPtr, callback); } - public void subscribeScanMaxTimeSecondsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeScanMaxTimeSecondsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readConnectMaxTimeSecondsAttribute(IntegerAttributeCallback callback) { + public void readConnectMaxTimeSecondsAttribute( + IntegerAttributeCallback callback + ) { readConnectMaxTimeSecondsAttribute(chipClusterPtr, callback); } - public void subscribeConnectMaxTimeSecondsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeConnectMaxTimeSecondsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInterfaceEnabledAttribute(BooleanAttributeCallback callback) { + public void readInterfaceEnabledAttribute( + BooleanAttributeCallback callback + ) { readInterfaceEnabledAttribute(chipClusterPtr, callback); } - public void writeInterfaceEnabledAttribute(DefaultClusterCallback callback, Boolean value) { writeInterfaceEnabledAttribute(chipClusterPtr, callback, value, null); } - public void writeInterfaceEnabledAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeInterfaceEnabledAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeInterfaceEnabledAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInterfaceEnabledAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInterfaceEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLastNetworkingStatusAttribute(LastNetworkingStatusAttributeCallback callback) { + public void readLastNetworkingStatusAttribute( + LastNetworkingStatusAttributeCallback callback + ) { readLastNetworkingStatusAttribute(chipClusterPtr, callback); } - public void subscribeLastNetworkingStatusAttribute( - LastNetworkingStatusAttributeCallback callback, int minInterval, int maxInterval) { + LastNetworkingStatusAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeLastNetworkingStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLastNetworkIDAttribute(LastNetworkIDAttributeCallback callback) { + public void readLastNetworkIDAttribute( + LastNetworkIDAttributeCallback callback + ) { readLastNetworkIDAttribute(chipClusterPtr, callback); } - public void subscribeLastNetworkIDAttribute( - LastNetworkIDAttributeCallback callback, int minInterval, int maxInterval) { + LastNetworkIDAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeLastNetworkIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readLastConnectErrorValueAttribute( - LastConnectErrorValueAttributeCallback callback) { + LastConnectErrorValueAttributeCallback callback + ) { readLastConnectErrorValueAttribute(chipClusterPtr, callback); } - public void subscribeLastConnectErrorValueAttribute( - LastConnectErrorValueAttributeCallback callback, int minInterval, int maxInterval) { + LastConnectErrorValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeLastConnectErrorValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMaxNetworksAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMaxNetworksAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNetworksAttribute( - long chipClusterPtr, NetworksAttributeCallback callback); - - private native void subscribeNetworksAttribute( - long chipClusterPtr, NetworksAttributeCallback callback, int minInterval, int maxInterval); - - private native void readScanMaxTimeSecondsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeScanMaxTimeSecondsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readConnectMaxTimeSecondsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConnectMaxTimeSecondsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInterfaceEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeInterfaceEnabledAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInterfaceEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLastNetworkingStatusAttribute( - long chipClusterPtr, LastNetworkingStatusAttributeCallback callback); - - private native void subscribeLastNetworkingStatusAttribute( - long chipClusterPtr, - LastNetworkingStatusAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLastNetworkIDAttribute( - long chipClusterPtr, LastNetworkIDAttributeCallback callback); - - private native void subscribeLastNetworkIDAttribute( - long chipClusterPtr, - LastNetworkIDAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLastConnectErrorValueAttribute( - long chipClusterPtr, LastConnectErrorValueAttributeCallback callback); - - private native void subscribeLastConnectErrorValueAttribute( - long chipClusterPtr, - LastConnectErrorValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMaxNetworksAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxNetworksAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNetworksAttribute(long chipClusterPtr, + NetworksAttributeCallback callback + ); + private native void subscribeNetworksAttribute(long chipClusterPtr, + NetworksAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readScanMaxTimeSecondsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeScanMaxTimeSecondsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readConnectMaxTimeSecondsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConnectMaxTimeSecondsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInterfaceEnabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeInterfaceEnabledAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInterfaceEnabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLastNetworkingStatusAttribute(long chipClusterPtr, + LastNetworkingStatusAttributeCallback callback + ); + private native void subscribeLastNetworkingStatusAttribute(long chipClusterPtr, + LastNetworkingStatusAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLastNetworkIDAttribute(long chipClusterPtr, + LastNetworkIDAttributeCallback callback + ); + private native void subscribeLastNetworkIDAttribute(long chipClusterPtr, + LastNetworkIDAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLastConnectErrorValueAttribute(long chipClusterPtr, + LastConnectErrorValueAttributeCallback callback + ); + private native void subscribeLastConnectErrorValueAttribute(long chipClusterPtr, + LastConnectErrorValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class DiagnosticLogsCluster extends BaseChipCluster { @@ -7529,179 +7079,161 @@ public DiagnosticLogsCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void retrieveLogsRequest( - RetrieveLogsResponseCallback callback, - Integer intent, - Integer requestedProtocol, - Optional transferFileDesignator) { - retrieveLogsRequest( - chipClusterPtr, callback, intent, requestedProtocol, transferFileDesignator, null); - } - - public void retrieveLogsRequest( - RetrieveLogsResponseCallback callback, - Integer intent, - Integer requestedProtocol, - Optional transferFileDesignator, - int timedInvokeTimeoutMs) { - retrieveLogsRequest( - chipClusterPtr, - callback, - intent, - requestedProtocol, - transferFileDesignator, - timedInvokeTimeoutMs); - } - - private native void retrieveLogsRequest( - long chipClusterPtr, - RetrieveLogsResponseCallback Callback, - Integer intent, - Integer requestedProtocol, - Optional transferFileDesignator, - @Nullable Integer timedInvokeTimeoutMs); - - public interface RetrieveLogsResponseCallback { - void onSuccess( - Integer status, - byte[] logContent, - Optional UTCTimeStamp, - Optional timeSinceBoot); - - void onError(Exception error); - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void retrieveLogsRequest(RetrieveLogsResponseCallback callback + , Integer intent, Integer requestedProtocol, Optional transferFileDesignator) { + retrieveLogsRequest(chipClusterPtr, callback, intent, requestedProtocol, transferFileDesignator, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void retrieveLogsRequest(RetrieveLogsResponseCallback callback + , Integer intent, Integer requestedProtocol, Optional transferFileDesignator + , int timedInvokeTimeoutMs) { + retrieveLogsRequest(chipClusterPtr, callback, intent, requestedProtocol, transferFileDesignator, timedInvokeTimeoutMs); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + private native void retrieveLogsRequest(long chipClusterPtr, RetrieveLogsResponseCallback Callback + , Integer intent, Integer requestedProtocol, Optional transferFileDesignator + , @Nullable Integer timedInvokeTimeoutMs); + public interface RetrieveLogsResponseCallback { + void onSuccess(Integer status, byte[] logContent, Optional UTCTimeStamp, Optional timeSinceBoot); + + void onError(Exception error); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } public static class GeneralDiagnosticsCluster extends BaseChipCluster { public static final long CLUSTER_ID = 51L; @@ -7713,335 +7245,345 @@ public GeneralDiagnosticsCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void testEventTrigger( - DefaultClusterCallback callback, byte[] enableKey, Long eventTrigger) { + public void testEventTrigger(DefaultClusterCallback callback + , byte[] enableKey, Long eventTrigger) { testEventTrigger(chipClusterPtr, callback, enableKey, eventTrigger, null); } - public void testEventTrigger( - DefaultClusterCallback callback, - byte[] enableKey, - Long eventTrigger, - int timedInvokeTimeoutMs) { + public void testEventTrigger(DefaultClusterCallback callback + , byte[] enableKey, Long eventTrigger + , int timedInvokeTimeoutMs) { testEventTrigger(chipClusterPtr, callback, enableKey, eventTrigger, timedInvokeTimeoutMs); } + private native void testEventTrigger(long chipClusterPtr, DefaultClusterCallback Callback + , byte[] enableKey, Long eventTrigger + , @Nullable Integer timedInvokeTimeoutMs); - private native void testEventTrigger( - long chipClusterPtr, - DefaultClusterCallback Callback, - byte[] enableKey, - Long eventTrigger, - @Nullable Integer timedInvokeTimeoutMs); - - public interface NetworkInterfacesAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ActiveHardwareFaultsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ActiveRadioFaultsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ActiveNetworkFaultsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface NetworkInterfacesAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveHardwareFaultsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveRadioFaultsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveNetworkFaultsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readNetworkInterfacesAttribute(NetworkInterfacesAttributeCallback callback) { + public void readNetworkInterfacesAttribute( + NetworkInterfacesAttributeCallback callback + ) { readNetworkInterfacesAttribute(chipClusterPtr, callback); } - public void subscribeNetworkInterfacesAttribute( - NetworkInterfacesAttributeCallback callback, int minInterval, int maxInterval) { + NetworkInterfacesAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNetworkInterfacesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRebootCountAttribute(IntegerAttributeCallback callback) { + public void readRebootCountAttribute( + IntegerAttributeCallback callback + ) { readRebootCountAttribute(chipClusterPtr, callback); } - public void subscribeRebootCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRebootCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUpTimeAttribute(LongAttributeCallback callback) { + public void readUpTimeAttribute( + LongAttributeCallback callback + ) { readUpTimeAttribute(chipClusterPtr, callback); } - public void subscribeUpTimeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUpTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTotalOperationalHoursAttribute(LongAttributeCallback callback) { + public void readTotalOperationalHoursAttribute( + LongAttributeCallback callback + ) { readTotalOperationalHoursAttribute(chipClusterPtr, callback); } - public void subscribeTotalOperationalHoursAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTotalOperationalHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBootReasonAttribute(IntegerAttributeCallback callback) { + public void readBootReasonAttribute( + IntegerAttributeCallback callback + ) { readBootReasonAttribute(chipClusterPtr, callback); } - public void subscribeBootReasonAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBootReasonAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveHardwareFaultsAttribute(ActiveHardwareFaultsAttributeCallback callback) { + public void readActiveHardwareFaultsAttribute( + ActiveHardwareFaultsAttributeCallback callback + ) { readActiveHardwareFaultsAttribute(chipClusterPtr, callback); } - public void subscribeActiveHardwareFaultsAttribute( - ActiveHardwareFaultsAttributeCallback callback, int minInterval, int maxInterval) { + ActiveHardwareFaultsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveHardwareFaultsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveRadioFaultsAttribute(ActiveRadioFaultsAttributeCallback callback) { + public void readActiveRadioFaultsAttribute( + ActiveRadioFaultsAttributeCallback callback + ) { readActiveRadioFaultsAttribute(chipClusterPtr, callback); } - public void subscribeActiveRadioFaultsAttribute( - ActiveRadioFaultsAttributeCallback callback, int minInterval, int maxInterval) { + ActiveRadioFaultsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveRadioFaultsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveNetworkFaultsAttribute(ActiveNetworkFaultsAttributeCallback callback) { + public void readActiveNetworkFaultsAttribute( + ActiveNetworkFaultsAttributeCallback callback + ) { readActiveNetworkFaultsAttribute(chipClusterPtr, callback); } - public void subscribeActiveNetworkFaultsAttribute( - ActiveNetworkFaultsAttributeCallback callback, int minInterval, int maxInterval) { + ActiveNetworkFaultsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveNetworkFaultsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTestEventTriggersEnabledAttribute(BooleanAttributeCallback callback) { + public void readTestEventTriggersEnabledAttribute( + BooleanAttributeCallback callback + ) { readTestEventTriggersEnabledAttribute(chipClusterPtr, callback); } - public void subscribeTestEventTriggersEnabledAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTestEventTriggersEnabledAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTestEventTriggersEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readNetworkInterfacesAttribute( - long chipClusterPtr, NetworkInterfacesAttributeCallback callback); - - private native void subscribeNetworkInterfacesAttribute( - long chipClusterPtr, - NetworkInterfacesAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readRebootCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRebootCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUpTimeAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeUpTimeAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTotalOperationalHoursAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTotalOperationalHoursAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBootReasonAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBootReasonAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveHardwareFaultsAttribute( - long chipClusterPtr, ActiveHardwareFaultsAttributeCallback callback); - - private native void subscribeActiveHardwareFaultsAttribute( - long chipClusterPtr, - ActiveHardwareFaultsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readActiveRadioFaultsAttribute( - long chipClusterPtr, ActiveRadioFaultsAttributeCallback callback); - - private native void subscribeActiveRadioFaultsAttribute( - long chipClusterPtr, - ActiveRadioFaultsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readActiveNetworkFaultsAttribute( - long chipClusterPtr, ActiveNetworkFaultsAttributeCallback callback); - - private native void subscribeActiveNetworkFaultsAttribute( - long chipClusterPtr, - ActiveNetworkFaultsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readTestEventTriggersEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeTestEventTriggersEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readNetworkInterfacesAttribute(long chipClusterPtr, + NetworkInterfacesAttributeCallback callback + ); + private native void subscribeNetworkInterfacesAttribute(long chipClusterPtr, + NetworkInterfacesAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readRebootCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRebootCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUpTimeAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeUpTimeAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTotalOperationalHoursAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTotalOperationalHoursAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBootReasonAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBootReasonAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveHardwareFaultsAttribute(long chipClusterPtr, + ActiveHardwareFaultsAttributeCallback callback + ); + private native void subscribeActiveHardwareFaultsAttribute(long chipClusterPtr, + ActiveHardwareFaultsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readActiveRadioFaultsAttribute(long chipClusterPtr, + ActiveRadioFaultsAttributeCallback callback + ); + private native void subscribeActiveRadioFaultsAttribute(long chipClusterPtr, + ActiveRadioFaultsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readActiveNetworkFaultsAttribute(long chipClusterPtr, + ActiveNetworkFaultsAttributeCallback callback + ); + private native void subscribeActiveNetworkFaultsAttribute(long chipClusterPtr, + ActiveNetworkFaultsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readTestEventTriggersEnabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeTestEventTriggersEnabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class SoftwareDiagnosticsCluster extends BaseChipCluster { @@ -8054,222 +7596,235 @@ public SoftwareDiagnosticsCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void resetWatermarks(DefaultClusterCallback callback) { + public void resetWatermarks(DefaultClusterCallback callback + ) { resetWatermarks(chipClusterPtr, callback, null); } - public void resetWatermarks(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void resetWatermarks(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { resetWatermarks(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void resetWatermarks(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); - private native void resetWatermarks( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface ThreadMetricsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface ThreadMetricsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readThreadMetricsAttribute(ThreadMetricsAttributeCallback callback) { + public void readThreadMetricsAttribute( + ThreadMetricsAttributeCallback callback + ) { readThreadMetricsAttribute(chipClusterPtr, callback); } - public void subscribeThreadMetricsAttribute( - ThreadMetricsAttributeCallback callback, int minInterval, int maxInterval) { + ThreadMetricsAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeThreadMetricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentHeapFreeAttribute(LongAttributeCallback callback) { + public void readCurrentHeapFreeAttribute( + LongAttributeCallback callback + ) { readCurrentHeapFreeAttribute(chipClusterPtr, callback); } - public void subscribeCurrentHeapFreeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeCurrentHeapFreeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentHeapUsedAttribute(LongAttributeCallback callback) { + public void readCurrentHeapUsedAttribute( + LongAttributeCallback callback + ) { readCurrentHeapUsedAttribute(chipClusterPtr, callback); } - public void subscribeCurrentHeapUsedAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeCurrentHeapUsedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentHeapHighWatermarkAttribute(LongAttributeCallback callback) { + public void readCurrentHeapHighWatermarkAttribute( + LongAttributeCallback callback + ) { readCurrentHeapHighWatermarkAttribute(chipClusterPtr, callback); } - public void subscribeCurrentHeapHighWatermarkAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentHeapHighWatermarkAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentHeapHighWatermarkAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readThreadMetricsAttribute( - long chipClusterPtr, ThreadMetricsAttributeCallback callback); - - private native void subscribeThreadMetricsAttribute( - long chipClusterPtr, - ThreadMetricsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCurrentHeapFreeAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeCurrentHeapFreeAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentHeapUsedAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeCurrentHeapUsedAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentHeapHighWatermarkAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeCurrentHeapHighWatermarkAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readThreadMetricsAttribute(long chipClusterPtr, + ThreadMetricsAttributeCallback callback + ); + private native void subscribeThreadMetricsAttribute(long chipClusterPtr, + ThreadMetricsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentHeapFreeAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeCurrentHeapFreeAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentHeapUsedAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeCurrentHeapUsedAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentHeapHighWatermarkAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeCurrentHeapHighWatermarkAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class ThreadNetworkDiagnosticsCluster extends BaseChipCluster { @@ -8282,37412 +7837,37991 @@ public ThreadNetworkDiagnosticsCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void resetCounts(DefaultClusterCallback callback) { + public void resetCounts(DefaultClusterCallback callback + ) { resetCounts(chipClusterPtr, callback, null); } - public void resetCounts(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void resetCounts(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { resetCounts(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void resetCounts(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); - private native void resetCounts( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface ChannelAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); + public interface ChannelAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface RoutingRoleAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NetworkNameAttributeCallback { + void onSuccess(@Nullable String value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PanIdAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ExtendedPanIdAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MeshLocalPrefixAttributeCallback { + void onSuccess(@Nullable byte[] value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NeighborTableAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface RouteTableAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PartitionIdAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface WeightingAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface DataVersionAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface StableDataVersionAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LeaderRouterIdAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveTimestampAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PendingTimestampAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface DelayAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ChannelPage0MaskAttributeCallback { + void onSuccess(@Nullable byte[] value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ActiveNetworkFaultsListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readChannelAttribute( + ChannelAttributeCallback callback + ) { + readChannelAttribute(chipClusterPtr, callback); } - - public interface RoutingRoleAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeChannelAttribute( + ChannelAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeChannelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface NetworkNameAttributeCallback { - void onSuccess(@Nullable String value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRoutingRoleAttribute( + RoutingRoleAttributeCallback callback + ) { + readRoutingRoleAttribute(chipClusterPtr, callback); } - - public interface PanIdAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRoutingRoleAttribute( + RoutingRoleAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeRoutingRoleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface ExtendedPanIdAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readNetworkNameAttribute( + NetworkNameAttributeCallback callback + ) { + readNetworkNameAttribute(chipClusterPtr, callback); } - - public interface MeshLocalPrefixAttributeCallback { - void onSuccess(@Nullable byte[] value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeNetworkNameAttribute( + NetworkNameAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNetworkNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface NeighborTableAttributeCallback { - void onSuccess( - List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPanIdAttribute( + PanIdAttributeCallback callback + ) { + readPanIdAttribute(chipClusterPtr, callback); } - - public interface RouteTableAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePanIdAttribute( + PanIdAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePanIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PartitionIdAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readExtendedPanIdAttribute( + ExtendedPanIdAttributeCallback callback + ) { + readExtendedPanIdAttribute(chipClusterPtr, callback); } - - public interface WeightingAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeExtendedPanIdAttribute( + ExtendedPanIdAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeExtendedPanIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface DataVersionAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeshLocalPrefixAttribute( + MeshLocalPrefixAttributeCallback callback + ) { + readMeshLocalPrefixAttribute(chipClusterPtr, callback); } - - public interface StableDataVersionAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeshLocalPrefixAttribute( + MeshLocalPrefixAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeshLocalPrefixAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LeaderRouterIdAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readOverrunCountAttribute( + LongAttributeCallback callback + ) { + readOverrunCountAttribute(chipClusterPtr, callback); } - - public interface ActiveTimestampAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeOverrunCountAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PendingTimestampAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readNeighborTableAttribute( + NeighborTableAttributeCallback callback + ) { + readNeighborTableAttribute(chipClusterPtr, callback); } - - public interface DelayAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeNeighborTableAttribute( + NeighborTableAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNeighborTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface ChannelPage0MaskAttributeCallback { - void onSuccess(@Nullable byte[] value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRouteTableAttribute( + RouteTableAttributeCallback callback + ) { + readRouteTableAttribute(chipClusterPtr, callback); } - - public interface ActiveNetworkFaultsListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRouteTableAttribute( + RouteTableAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeRouteTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPartitionIdAttribute( + PartitionIdAttributeCallback callback + ) { + readPartitionIdAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePartitionIdAttribute( + PartitionIdAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePartitionIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readChannelAttribute(ChannelAttributeCallback callback) { - readChannelAttribute(chipClusterPtr, callback); - } - - public void subscribeChannelAttribute( - ChannelAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChannelAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRoutingRoleAttribute(RoutingRoleAttributeCallback callback) { - readRoutingRoleAttribute(chipClusterPtr, callback); - } - - public void subscribeRoutingRoleAttribute( - RoutingRoleAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRoutingRoleAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readNetworkNameAttribute(NetworkNameAttributeCallback callback) { - readNetworkNameAttribute(chipClusterPtr, callback); - } - - public void subscribeNetworkNameAttribute( - NetworkNameAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNetworkNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPanIdAttribute(PanIdAttributeCallback callback) { - readPanIdAttribute(chipClusterPtr, callback); - } - - public void subscribePanIdAttribute( - PanIdAttributeCallback callback, int minInterval, int maxInterval) { - subscribePanIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readExtendedPanIdAttribute(ExtendedPanIdAttributeCallback callback) { - readExtendedPanIdAttribute(chipClusterPtr, callback); - } - - public void subscribeExtendedPanIdAttribute( - ExtendedPanIdAttributeCallback callback, int minInterval, int maxInterval) { - subscribeExtendedPanIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeshLocalPrefixAttribute(MeshLocalPrefixAttributeCallback callback) { - readMeshLocalPrefixAttribute(chipClusterPtr, callback); - } - - public void subscribeMeshLocalPrefixAttribute( - MeshLocalPrefixAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeshLocalPrefixAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readOverrunCountAttribute(LongAttributeCallback callback) { - readOverrunCountAttribute(chipClusterPtr, callback); - } - - public void subscribeOverrunCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readNeighborTableAttribute(NeighborTableAttributeCallback callback) { - readNeighborTableAttribute(chipClusterPtr, callback); - } - - public void subscribeNeighborTableAttribute( - NeighborTableAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNeighborTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRouteTableAttribute(RouteTableAttributeCallback callback) { - readRouteTableAttribute(chipClusterPtr, callback); - } - - public void subscribeRouteTableAttribute( - RouteTableAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRouteTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPartitionIdAttribute(PartitionIdAttributeCallback callback) { - readPartitionIdAttribute(chipClusterPtr, callback); - } - - public void subscribePartitionIdAttribute( - PartitionIdAttributeCallback callback, int minInterval, int maxInterval) { - subscribePartitionIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readWeightingAttribute(WeightingAttributeCallback callback) { + public void readWeightingAttribute( + WeightingAttributeCallback callback + ) { readWeightingAttribute(chipClusterPtr, callback); } - public void subscribeWeightingAttribute( - WeightingAttributeCallback callback, int minInterval, int maxInterval) { + WeightingAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeWeightingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDataVersionAttribute(DataVersionAttributeCallback callback) { + public void readDataVersionAttribute( + DataVersionAttributeCallback callback + ) { readDataVersionAttribute(chipClusterPtr, callback); } - public void subscribeDataVersionAttribute( - DataVersionAttributeCallback callback, int minInterval, int maxInterval) { + DataVersionAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeDataVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStableDataVersionAttribute(StableDataVersionAttributeCallback callback) { + public void readStableDataVersionAttribute( + StableDataVersionAttributeCallback callback + ) { readStableDataVersionAttribute(chipClusterPtr, callback); } - public void subscribeStableDataVersionAttribute( - StableDataVersionAttributeCallback callback, int minInterval, int maxInterval) { + StableDataVersionAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeStableDataVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLeaderRouterIdAttribute(LeaderRouterIdAttributeCallback callback) { + public void readLeaderRouterIdAttribute( + LeaderRouterIdAttributeCallback callback + ) { readLeaderRouterIdAttribute(chipClusterPtr, callback); } - public void subscribeLeaderRouterIdAttribute( - LeaderRouterIdAttributeCallback callback, int minInterval, int maxInterval) { + LeaderRouterIdAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeLeaderRouterIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDetachedRoleCountAttribute(IntegerAttributeCallback callback) { + public void readDetachedRoleCountAttribute( + IntegerAttributeCallback callback + ) { readDetachedRoleCountAttribute(chipClusterPtr, callback); } - public void subscribeDetachedRoleCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeDetachedRoleCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChildRoleCountAttribute(IntegerAttributeCallback callback) { + public void readChildRoleCountAttribute( + IntegerAttributeCallback callback + ) { readChildRoleCountAttribute(chipClusterPtr, callback); } - public void subscribeChildRoleCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeChildRoleCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRouterRoleCountAttribute(IntegerAttributeCallback callback) { + public void readRouterRoleCountAttribute( + IntegerAttributeCallback callback + ) { readRouterRoleCountAttribute(chipClusterPtr, callback); } - public void subscribeRouterRoleCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRouterRoleCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLeaderRoleCountAttribute(IntegerAttributeCallback callback) { + public void readLeaderRoleCountAttribute( + IntegerAttributeCallback callback + ) { readLeaderRoleCountAttribute(chipClusterPtr, callback); } - public void subscribeLeaderRoleCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLeaderRoleCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttachAttemptCountAttribute(IntegerAttributeCallback callback) { + public void readAttachAttemptCountAttribute( + IntegerAttributeCallback callback + ) { readAttachAttemptCountAttribute(chipClusterPtr, callback); } - public void subscribeAttachAttemptCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeAttachAttemptCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPartitionIdChangeCountAttribute(IntegerAttributeCallback callback) { + public void readPartitionIdChangeCountAttribute( + IntegerAttributeCallback callback + ) { readPartitionIdChangeCountAttribute(chipClusterPtr, callback); } - public void subscribePartitionIdChangeCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePartitionIdChangeCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBetterPartitionAttachAttemptCountAttribute(IntegerAttributeCallback callback) { + public void readBetterPartitionAttachAttemptCountAttribute( + IntegerAttributeCallback callback + ) { readBetterPartitionAttachAttemptCountAttribute(chipClusterPtr, callback); } - public void subscribeBetterPartitionAttachAttemptCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBetterPartitionAttachAttemptCountAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBetterPartitionAttachAttemptCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readParentChangeCountAttribute(IntegerAttributeCallback callback) { + public void readParentChangeCountAttribute( + IntegerAttributeCallback callback + ) { readParentChangeCountAttribute(chipClusterPtr, callback); } - public void subscribeParentChangeCountAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeParentChangeCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxTotalCountAttribute(LongAttributeCallback callback) { + public void readTxTotalCountAttribute( + LongAttributeCallback callback + ) { readTxTotalCountAttribute(chipClusterPtr, callback); } - public void subscribeTxTotalCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxTotalCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxUnicastCountAttribute(LongAttributeCallback callback) { + public void readTxUnicastCountAttribute( + LongAttributeCallback callback + ) { readTxUnicastCountAttribute(chipClusterPtr, callback); } - public void subscribeTxUnicastCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxUnicastCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxBroadcastCountAttribute(LongAttributeCallback callback) { + public void readTxBroadcastCountAttribute( + LongAttributeCallback callback + ) { readTxBroadcastCountAttribute(chipClusterPtr, callback); } - public void subscribeTxBroadcastCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxBroadcastCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxAckRequestedCountAttribute(LongAttributeCallback callback) { + public void readTxAckRequestedCountAttribute( + LongAttributeCallback callback + ) { readTxAckRequestedCountAttribute(chipClusterPtr, callback); } - public void subscribeTxAckRequestedCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxAckRequestedCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxAckedCountAttribute(LongAttributeCallback callback) { + public void readTxAckedCountAttribute( + LongAttributeCallback callback + ) { readTxAckedCountAttribute(chipClusterPtr, callback); } - public void subscribeTxAckedCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxAckedCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxNoAckRequestedCountAttribute(LongAttributeCallback callback) { + public void readTxNoAckRequestedCountAttribute( + LongAttributeCallback callback + ) { readTxNoAckRequestedCountAttribute(chipClusterPtr, callback); } - public void subscribeTxNoAckRequestedCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxNoAckRequestedCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxDataCountAttribute(LongAttributeCallback callback) { + public void readTxDataCountAttribute( + LongAttributeCallback callback + ) { readTxDataCountAttribute(chipClusterPtr, callback); } - public void subscribeTxDataCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxDataCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxDataPollCountAttribute(LongAttributeCallback callback) { + public void readTxDataPollCountAttribute( + LongAttributeCallback callback + ) { readTxDataPollCountAttribute(chipClusterPtr, callback); } - public void subscribeTxDataPollCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxDataPollCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxBeaconCountAttribute(LongAttributeCallback callback) { + public void readTxBeaconCountAttribute( + LongAttributeCallback callback + ) { readTxBeaconCountAttribute(chipClusterPtr, callback); } - public void subscribeTxBeaconCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxBeaconCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxBeaconRequestCountAttribute(LongAttributeCallback callback) { + public void readTxBeaconRequestCountAttribute( + LongAttributeCallback callback + ) { readTxBeaconRequestCountAttribute(chipClusterPtr, callback); } - public void subscribeTxBeaconRequestCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxBeaconRequestCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxOtherCountAttribute(LongAttributeCallback callback) { + public void readTxOtherCountAttribute( + LongAttributeCallback callback + ) { readTxOtherCountAttribute(chipClusterPtr, callback); } - public void subscribeTxOtherCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxOtherCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxRetryCountAttribute(LongAttributeCallback callback) { + public void readTxRetryCountAttribute( + LongAttributeCallback callback + ) { readTxRetryCountAttribute(chipClusterPtr, callback); } - public void subscribeTxRetryCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxRetryCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxDirectMaxRetryExpiryCountAttribute(LongAttributeCallback callback) { + public void readTxDirectMaxRetryExpiryCountAttribute( + LongAttributeCallback callback + ) { readTxDirectMaxRetryExpiryCountAttribute(chipClusterPtr, callback); } - public void subscribeTxDirectMaxRetryExpiryCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTxDirectMaxRetryExpiryCountAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTxDirectMaxRetryExpiryCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxIndirectMaxRetryExpiryCountAttribute(LongAttributeCallback callback) { + public void readTxIndirectMaxRetryExpiryCountAttribute( + LongAttributeCallback callback + ) { readTxIndirectMaxRetryExpiryCountAttribute(chipClusterPtr, callback); } - public void subscribeTxIndirectMaxRetryExpiryCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTxIndirectMaxRetryExpiryCountAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTxIndirectMaxRetryExpiryCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxErrCcaCountAttribute(LongAttributeCallback callback) { + public void readTxErrCcaCountAttribute( + LongAttributeCallback callback + ) { readTxErrCcaCountAttribute(chipClusterPtr, callback); } - public void subscribeTxErrCcaCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxErrCcaCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxErrAbortCountAttribute(LongAttributeCallback callback) { + public void readTxErrAbortCountAttribute( + LongAttributeCallback callback + ) { readTxErrAbortCountAttribute(chipClusterPtr, callback); } - public void subscribeTxErrAbortCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxErrAbortCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxErrBusyChannelCountAttribute(LongAttributeCallback callback) { + public void readTxErrBusyChannelCountAttribute( + LongAttributeCallback callback + ) { readTxErrBusyChannelCountAttribute(chipClusterPtr, callback); } - public void subscribeTxErrBusyChannelCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTxErrBusyChannelCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxTotalCountAttribute(LongAttributeCallback callback) { + public void readRxTotalCountAttribute( + LongAttributeCallback callback + ) { readRxTotalCountAttribute(chipClusterPtr, callback); } - public void subscribeRxTotalCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxTotalCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxUnicastCountAttribute(LongAttributeCallback callback) { + public void readRxUnicastCountAttribute( + LongAttributeCallback callback + ) { readRxUnicastCountAttribute(chipClusterPtr, callback); } - public void subscribeRxUnicastCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxUnicastCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxBroadcastCountAttribute(LongAttributeCallback callback) { + public void readRxBroadcastCountAttribute( + LongAttributeCallback callback + ) { readRxBroadcastCountAttribute(chipClusterPtr, callback); } - public void subscribeRxBroadcastCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxBroadcastCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxDataCountAttribute(LongAttributeCallback callback) { + public void readRxDataCountAttribute( + LongAttributeCallback callback + ) { readRxDataCountAttribute(chipClusterPtr, callback); } - public void subscribeRxDataCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxDataCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxDataPollCountAttribute(LongAttributeCallback callback) { + public void readRxDataPollCountAttribute( + LongAttributeCallback callback + ) { readRxDataPollCountAttribute(chipClusterPtr, callback); } - public void subscribeRxDataPollCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxDataPollCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxBeaconCountAttribute(LongAttributeCallback callback) { + public void readRxBeaconCountAttribute( + LongAttributeCallback callback + ) { readRxBeaconCountAttribute(chipClusterPtr, callback); } - public void subscribeRxBeaconCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxBeaconCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxBeaconRequestCountAttribute(LongAttributeCallback callback) { + public void readRxBeaconRequestCountAttribute( + LongAttributeCallback callback + ) { readRxBeaconRequestCountAttribute(chipClusterPtr, callback); } - public void subscribeRxBeaconRequestCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxBeaconRequestCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxOtherCountAttribute(LongAttributeCallback callback) { + public void readRxOtherCountAttribute( + LongAttributeCallback callback + ) { readRxOtherCountAttribute(chipClusterPtr, callback); } - public void subscribeRxOtherCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxOtherCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxAddressFilteredCountAttribute(LongAttributeCallback callback) { + public void readRxAddressFilteredCountAttribute( + LongAttributeCallback callback + ) { readRxAddressFilteredCountAttribute(chipClusterPtr, callback); } - public void subscribeRxAddressFilteredCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxAddressFilteredCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxDestAddrFilteredCountAttribute(LongAttributeCallback callback) { + public void readRxDestAddrFilteredCountAttribute( + LongAttributeCallback callback + ) { readRxDestAddrFilteredCountAttribute(chipClusterPtr, callback); } - public void subscribeRxDestAddrFilteredCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxDestAddrFilteredCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxDuplicatedCountAttribute(LongAttributeCallback callback) { + public void readRxDuplicatedCountAttribute( + LongAttributeCallback callback + ) { readRxDuplicatedCountAttribute(chipClusterPtr, callback); } - public void subscribeRxDuplicatedCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxDuplicatedCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxErrNoFrameCountAttribute(LongAttributeCallback callback) { + public void readRxErrNoFrameCountAttribute( + LongAttributeCallback callback + ) { readRxErrNoFrameCountAttribute(chipClusterPtr, callback); } - public void subscribeRxErrNoFrameCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxErrNoFrameCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxErrUnknownNeighborCountAttribute(LongAttributeCallback callback) { + public void readRxErrUnknownNeighborCountAttribute( + LongAttributeCallback callback + ) { readRxErrUnknownNeighborCountAttribute(chipClusterPtr, callback); } - public void subscribeRxErrUnknownNeighborCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRxErrUnknownNeighborCountAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRxErrUnknownNeighborCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxErrInvalidSrcAddrCountAttribute(LongAttributeCallback callback) { + public void readRxErrInvalidSrcAddrCountAttribute( + LongAttributeCallback callback + ) { readRxErrInvalidSrcAddrCountAttribute(chipClusterPtr, callback); } - public void subscribeRxErrInvalidSrcAddrCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRxErrInvalidSrcAddrCountAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRxErrInvalidSrcAddrCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxErrSecCountAttribute(LongAttributeCallback callback) { + public void readRxErrSecCountAttribute( + LongAttributeCallback callback + ) { readRxErrSecCountAttribute(chipClusterPtr, callback); } - public void subscribeRxErrSecCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxErrSecCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxErrFcsCountAttribute(LongAttributeCallback callback) { + public void readRxErrFcsCountAttribute( + LongAttributeCallback callback + ) { readRxErrFcsCountAttribute(chipClusterPtr, callback); } - public void subscribeRxErrFcsCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxErrFcsCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRxErrOtherCountAttribute(LongAttributeCallback callback) { + public void readRxErrOtherCountAttribute( + LongAttributeCallback callback + ) { readRxErrOtherCountAttribute(chipClusterPtr, callback); } - public void subscribeRxErrOtherCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRxErrOtherCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readActiveTimestampAttribute(ActiveTimestampAttributeCallback callback) { + public void readActiveTimestampAttribute( + ActiveTimestampAttributeCallback callback + ) { readActiveTimestampAttribute(chipClusterPtr, callback); } - public void subscribeActiveTimestampAttribute( - ActiveTimestampAttributeCallback callback, int minInterval, int maxInterval) { + ActiveTimestampAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveTimestampAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPendingTimestampAttribute(PendingTimestampAttributeCallback callback) { + public void readPendingTimestampAttribute( + PendingTimestampAttributeCallback callback + ) { readPendingTimestampAttribute(chipClusterPtr, callback); } - public void subscribePendingTimestampAttribute( - PendingTimestampAttributeCallback callback, int minInterval, int maxInterval) { + PendingTimestampAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePendingTimestampAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDelayAttribute(DelayAttributeCallback callback) { + public void readDelayAttribute( + DelayAttributeCallback callback + ) { readDelayAttribute(chipClusterPtr, callback); } - public void subscribeDelayAttribute( - DelayAttributeCallback callback, int minInterval, int maxInterval) { + DelayAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChannelPage0MaskAttribute(ChannelPage0MaskAttributeCallback callback) { + public void readChannelPage0MaskAttribute( + ChannelPage0MaskAttributeCallback callback + ) { readChannelPage0MaskAttribute(chipClusterPtr, callback); } - public void subscribeChannelPage0MaskAttribute( - ChannelPage0MaskAttributeCallback callback, int minInterval, int maxInterval) { + ChannelPage0MaskAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeChannelPage0MaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readActiveNetworkFaultsListAttribute( - ActiveNetworkFaultsListAttributeCallback callback) { + ActiveNetworkFaultsListAttributeCallback callback + ) { readActiveNetworkFaultsListAttribute(chipClusterPtr, callback); } - public void subscribeActiveNetworkFaultsListAttribute( - ActiveNetworkFaultsListAttributeCallback callback, int minInterval, int maxInterval) { + ActiveNetworkFaultsListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeActiveNetworkFaultsListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readChannelAttribute( - long chipClusterPtr, ChannelAttributeCallback callback); - - private native void subscribeChannelAttribute( - long chipClusterPtr, ChannelAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRoutingRoleAttribute( - long chipClusterPtr, RoutingRoleAttributeCallback callback); + private native void readChannelAttribute(long chipClusterPtr, + ChannelAttributeCallback callback + ); + private native void subscribeChannelAttribute(long chipClusterPtr, + ChannelAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readRoutingRoleAttribute(long chipClusterPtr, + RoutingRoleAttributeCallback callback + ); + private native void subscribeRoutingRoleAttribute(long chipClusterPtr, + RoutingRoleAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNetworkNameAttribute(long chipClusterPtr, + NetworkNameAttributeCallback callback + ); + private native void subscribeNetworkNameAttribute(long chipClusterPtr, + NetworkNameAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPanIdAttribute(long chipClusterPtr, + PanIdAttributeCallback callback + ); + private native void subscribePanIdAttribute(long chipClusterPtr, + PanIdAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readExtendedPanIdAttribute(long chipClusterPtr, + ExtendedPanIdAttributeCallback callback + ); + private native void subscribeExtendedPanIdAttribute(long chipClusterPtr, + ExtendedPanIdAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMeshLocalPrefixAttribute(long chipClusterPtr, + MeshLocalPrefixAttributeCallback callback + ); + private native void subscribeMeshLocalPrefixAttribute(long chipClusterPtr, + MeshLocalPrefixAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOverrunCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeOverrunCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNeighborTableAttribute(long chipClusterPtr, + NeighborTableAttributeCallback callback + ); + private native void subscribeNeighborTableAttribute(long chipClusterPtr, + NeighborTableAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readRouteTableAttribute(long chipClusterPtr, + RouteTableAttributeCallback callback + ); + private native void subscribeRouteTableAttribute(long chipClusterPtr, + RouteTableAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPartitionIdAttribute(long chipClusterPtr, + PartitionIdAttributeCallback callback + ); + private native void subscribePartitionIdAttribute(long chipClusterPtr, + PartitionIdAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readWeightingAttribute(long chipClusterPtr, + WeightingAttributeCallback callback + ); + private native void subscribeWeightingAttribute(long chipClusterPtr, + WeightingAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readDataVersionAttribute(long chipClusterPtr, + DataVersionAttributeCallback callback + ); + private native void subscribeDataVersionAttribute(long chipClusterPtr, + DataVersionAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readStableDataVersionAttribute(long chipClusterPtr, + StableDataVersionAttributeCallback callback + ); + private native void subscribeStableDataVersionAttribute(long chipClusterPtr, + StableDataVersionAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLeaderRouterIdAttribute(long chipClusterPtr, + LeaderRouterIdAttributeCallback callback + ); + private native void subscribeLeaderRouterIdAttribute(long chipClusterPtr, + LeaderRouterIdAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readDetachedRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDetachedRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChildRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChildRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRouterRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRouterRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLeaderRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLeaderRoleCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAttachAttemptCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAttachAttemptCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPartitionIdChangeCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePartitionIdChangeCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBetterPartitionAttachAttemptCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBetterPartitionAttachAttemptCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readParentChangeCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeParentChangeCountAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxTotalCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxTotalCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxUnicastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxUnicastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxBroadcastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxBroadcastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxAckRequestedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxAckRequestedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxAckedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxAckedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxNoAckRequestedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxNoAckRequestedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxDataCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxDataCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxDataPollCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxDataPollCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxBeaconCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxBeaconCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxBeaconRequestCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxBeaconRequestCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxOtherCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxOtherCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxRetryCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxRetryCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxDirectMaxRetryExpiryCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxDirectMaxRetryExpiryCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxIndirectMaxRetryExpiryCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxIndirectMaxRetryExpiryCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxErrCcaCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxErrCcaCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxErrAbortCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxErrAbortCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxErrBusyChannelCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxErrBusyChannelCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxTotalCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxTotalCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxUnicastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxUnicastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxBroadcastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxBroadcastCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxDataCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxDataCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxDataPollCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxDataPollCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxBeaconCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxBeaconCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxBeaconRequestCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxBeaconRequestCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxOtherCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxOtherCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxAddressFilteredCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxAddressFilteredCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxDestAddrFilteredCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxDestAddrFilteredCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxDuplicatedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxDuplicatedCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxErrNoFrameCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxErrNoFrameCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxErrUnknownNeighborCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxErrUnknownNeighborCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxErrInvalidSrcAddrCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxErrInvalidSrcAddrCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxErrSecCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxErrSecCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxErrFcsCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxErrFcsCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRxErrOtherCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeRxErrOtherCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveTimestampAttribute(long chipClusterPtr, + ActiveTimestampAttributeCallback callback + ); + private native void subscribeActiveTimestampAttribute(long chipClusterPtr, + ActiveTimestampAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPendingTimestampAttribute(long chipClusterPtr, + PendingTimestampAttributeCallback callback + ); + private native void subscribePendingTimestampAttribute(long chipClusterPtr, + PendingTimestampAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readDelayAttribute(long chipClusterPtr, + DelayAttributeCallback callback + ); + private native void subscribeDelayAttribute(long chipClusterPtr, + DelayAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readChannelPage0MaskAttribute(long chipClusterPtr, + ChannelPage0MaskAttributeCallback callback + ); + private native void subscribeChannelPage0MaskAttribute(long chipClusterPtr, + ChannelPage0MaskAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readActiveNetworkFaultsListAttribute(long chipClusterPtr, + ActiveNetworkFaultsListAttributeCallback callback + ); + private native void subscribeActiveNetworkFaultsListAttribute(long chipClusterPtr, + ActiveNetworkFaultsListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeRoutingRoleAttribute( - long chipClusterPtr, - RoutingRoleAttributeCallback callback, - int minInterval, - int maxInterval); + public static class WiFiNetworkDiagnosticsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 54L; - private native void readNetworkNameAttribute( - long chipClusterPtr, NetworkNameAttributeCallback callback); + public WiFiNetworkDiagnosticsCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeNetworkNameAttribute( - long chipClusterPtr, - NetworkNameAttributeCallback callback, - int minInterval, - int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readPanIdAttribute(long chipClusterPtr, PanIdAttributeCallback callback); + public void resetCounts(DefaultClusterCallback callback + ) { + resetCounts(chipClusterPtr, callback, null); + } - private native void subscribePanIdAttribute( - long chipClusterPtr, PanIdAttributeCallback callback, int minInterval, int maxInterval); + public void resetCounts(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + resetCounts(chipClusterPtr, callback, timedInvokeTimeoutMs); + } + private native void resetCounts(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); - private native void readExtendedPanIdAttribute( - long chipClusterPtr, ExtendedPanIdAttributeCallback callback); + public interface BssidAttributeCallback { + void onSuccess(@Nullable byte[] value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface SecurityTypeAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface WiFiVersionAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ChannelNumberAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface RssiAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BeaconLostCountAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BeaconRxCountAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PacketMulticastRxCountAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PacketMulticastTxCountAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PacketUnicastRxCountAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PacketUnicastTxCountAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CurrentMaxRateAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OverrunCountAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeExtendedPanIdAttribute( - long chipClusterPtr, - ExtendedPanIdAttributeCallback callback, - int minInterval, - int maxInterval); + public void readBssidAttribute( + BssidAttributeCallback callback + ) { + readBssidAttribute(chipClusterPtr, callback); + } + public void subscribeBssidAttribute( + BssidAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeBssidAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMeshLocalPrefixAttribute( - long chipClusterPtr, MeshLocalPrefixAttributeCallback callback); + public void readSecurityTypeAttribute( + SecurityTypeAttributeCallback callback + ) { + readSecurityTypeAttribute(chipClusterPtr, callback); + } + public void subscribeSecurityTypeAttribute( + SecurityTypeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSecurityTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeMeshLocalPrefixAttribute( - long chipClusterPtr, - MeshLocalPrefixAttributeCallback callback, - int minInterval, - int maxInterval); + public void readWiFiVersionAttribute( + WiFiVersionAttributeCallback callback + ) { + readWiFiVersionAttribute(chipClusterPtr, callback); + } + public void subscribeWiFiVersionAttribute( + WiFiVersionAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeWiFiVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readOverrunCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readChannelNumberAttribute( + ChannelNumberAttributeCallback callback + ) { + readChannelNumberAttribute(chipClusterPtr, callback); + } + public void subscribeChannelNumberAttribute( + ChannelNumberAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeChannelNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeOverrunCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readRssiAttribute( + RssiAttributeCallback callback + ) { + readRssiAttribute(chipClusterPtr, callback); + } + public void subscribeRssiAttribute( + RssiAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeRssiAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readNeighborTableAttribute( - long chipClusterPtr, NeighborTableAttributeCallback callback); + public void readBeaconLostCountAttribute( + BeaconLostCountAttributeCallback callback + ) { + readBeaconLostCountAttribute(chipClusterPtr, callback); + } + public void subscribeBeaconLostCountAttribute( + BeaconLostCountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeBeaconLostCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeNeighborTableAttribute( - long chipClusterPtr, - NeighborTableAttributeCallback callback, - int minInterval, - int maxInterval); + public void readBeaconRxCountAttribute( + BeaconRxCountAttributeCallback callback + ) { + readBeaconRxCountAttribute(chipClusterPtr, callback); + } + public void subscribeBeaconRxCountAttribute( + BeaconRxCountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeBeaconRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readRouteTableAttribute( - long chipClusterPtr, RouteTableAttributeCallback callback); + public void readPacketMulticastRxCountAttribute( + PacketMulticastRxCountAttributeCallback callback + ) { + readPacketMulticastRxCountAttribute(chipClusterPtr, callback); + } + public void subscribePacketMulticastRxCountAttribute( + PacketMulticastRxCountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePacketMulticastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeRouteTableAttribute( - long chipClusterPtr, - RouteTableAttributeCallback callback, - int minInterval, - int maxInterval); + public void readPacketMulticastTxCountAttribute( + PacketMulticastTxCountAttributeCallback callback + ) { + readPacketMulticastTxCountAttribute(chipClusterPtr, callback); + } + public void subscribePacketMulticastTxCountAttribute( + PacketMulticastTxCountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePacketMulticastTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readPartitionIdAttribute( - long chipClusterPtr, PartitionIdAttributeCallback callback); + public void readPacketUnicastRxCountAttribute( + PacketUnicastRxCountAttributeCallback callback + ) { + readPacketUnicastRxCountAttribute(chipClusterPtr, callback); + } + public void subscribePacketUnicastRxCountAttribute( + PacketUnicastRxCountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePacketUnicastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribePartitionIdAttribute( - long chipClusterPtr, - PartitionIdAttributeCallback callback, - int minInterval, - int maxInterval); + public void readPacketUnicastTxCountAttribute( + PacketUnicastTxCountAttributeCallback callback + ) { + readPacketUnicastTxCountAttribute(chipClusterPtr, callback); + } + public void subscribePacketUnicastTxCountAttribute( + PacketUnicastTxCountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePacketUnicastTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readWeightingAttribute( - long chipClusterPtr, WeightingAttributeCallback callback); + public void readCurrentMaxRateAttribute( + CurrentMaxRateAttributeCallback callback + ) { + readCurrentMaxRateAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentMaxRateAttribute( + CurrentMaxRateAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentMaxRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeWeightingAttribute( - long chipClusterPtr, WeightingAttributeCallback callback, int minInterval, int maxInterval); + public void readOverrunCountAttribute( + OverrunCountAttributeCallback callback + ) { + readOverrunCountAttribute(chipClusterPtr, callback); + } + public void subscribeOverrunCountAttribute( + OverrunCountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readDataVersionAttribute( - long chipClusterPtr, DataVersionAttributeCallback callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeDataVersionAttribute( - long chipClusterPtr, - DataVersionAttributeCallback callback, - int minInterval, - int maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readStableDataVersionAttribute( - long chipClusterPtr, StableDataVersionAttributeCallback callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeStableDataVersionAttribute( - long chipClusterPtr, - StableDataVersionAttributeCallback callback, - int minInterval, - int maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readLeaderRouterIdAttribute( - long chipClusterPtr, LeaderRouterIdAttributeCallback callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeLeaderRouterIdAttribute( - long chipClusterPtr, - LeaderRouterIdAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readDetachedRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDetachedRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChildRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChildRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRouterRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRouterRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLeaderRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLeaderRoleCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttachAttemptCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAttachAttemptCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPartitionIdChangeCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePartitionIdChangeCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBetterPartitionAttachAttemptCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBetterPartitionAttachAttemptCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readParentChangeCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeParentChangeCountAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxTotalCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxTotalCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxUnicastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxUnicastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxBroadcastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxBroadcastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxAckRequestedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxAckRequestedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxAckedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxAckedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxNoAckRequestedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxNoAckRequestedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxDataCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxDataCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxDataPollCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxDataPollCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxBeaconCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxBeaconCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxBeaconRequestCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxBeaconRequestCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxOtherCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxOtherCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxRetryCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxRetryCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxDirectMaxRetryExpiryCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxDirectMaxRetryExpiryCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxIndirectMaxRetryExpiryCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxIndirectMaxRetryExpiryCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxErrCcaCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxErrCcaCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxErrAbortCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxErrAbortCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTxErrBusyChannelCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxErrBusyChannelCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxTotalCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxTotalCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxUnicastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxUnicastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxBroadcastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxBroadcastCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxDataCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxDataCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxDataPollCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxDataPollCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxBeaconCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxBeaconCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxBeaconRequestCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxBeaconRequestCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxOtherCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxOtherCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxAddressFilteredCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxAddressFilteredCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxDestAddrFilteredCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxDestAddrFilteredCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxDuplicatedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxDuplicatedCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxErrNoFrameCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxErrNoFrameCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxErrUnknownNeighborCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxErrUnknownNeighborCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxErrInvalidSrcAddrCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxErrInvalidSrcAddrCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxErrSecCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxErrSecCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxErrFcsCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxErrFcsCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRxErrOtherCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeRxErrOtherCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveTimestampAttribute( - long chipClusterPtr, ActiveTimestampAttributeCallback callback); - - private native void subscribeActiveTimestampAttribute( - long chipClusterPtr, - ActiveTimestampAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPendingTimestampAttribute( - long chipClusterPtr, PendingTimestampAttributeCallback callback); - - private native void subscribePendingTimestampAttribute( - long chipClusterPtr, - PendingTimestampAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readDelayAttribute(long chipClusterPtr, DelayAttributeCallback callback); - - private native void subscribeDelayAttribute( - long chipClusterPtr, DelayAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChannelPage0MaskAttribute( - long chipClusterPtr, ChannelPage0MaskAttributeCallback callback); - - private native void subscribeChannelPage0MaskAttribute( - long chipClusterPtr, - ChannelPage0MaskAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readActiveNetworkFaultsListAttribute( - long chipClusterPtr, ActiveNetworkFaultsListAttributeCallback callback); - - private native void subscribeActiveNetworkFaultsListAttribute( - long chipClusterPtr, - ActiveNetworkFaultsListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readBssidAttribute(long chipClusterPtr, + BssidAttributeCallback callback + ); + private native void subscribeBssidAttribute(long chipClusterPtr, + BssidAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSecurityTypeAttribute(long chipClusterPtr, + SecurityTypeAttributeCallback callback + ); + private native void subscribeSecurityTypeAttribute(long chipClusterPtr, + SecurityTypeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readWiFiVersionAttribute(long chipClusterPtr, + WiFiVersionAttributeCallback callback + ); + private native void subscribeWiFiVersionAttribute(long chipClusterPtr, + WiFiVersionAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readChannelNumberAttribute(long chipClusterPtr, + ChannelNumberAttributeCallback callback + ); + private native void subscribeChannelNumberAttribute(long chipClusterPtr, + ChannelNumberAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readRssiAttribute(long chipClusterPtr, + RssiAttributeCallback callback + ); + private native void subscribeRssiAttribute(long chipClusterPtr, + RssiAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBeaconLostCountAttribute(long chipClusterPtr, + BeaconLostCountAttributeCallback callback + ); + private native void subscribeBeaconLostCountAttribute(long chipClusterPtr, + BeaconLostCountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBeaconRxCountAttribute(long chipClusterPtr, + BeaconRxCountAttributeCallback callback + ); + private native void subscribeBeaconRxCountAttribute(long chipClusterPtr, + BeaconRxCountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPacketMulticastRxCountAttribute(long chipClusterPtr, + PacketMulticastRxCountAttributeCallback callback + ); + private native void subscribePacketMulticastRxCountAttribute(long chipClusterPtr, + PacketMulticastRxCountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPacketMulticastTxCountAttribute(long chipClusterPtr, + PacketMulticastTxCountAttributeCallback callback + ); + private native void subscribePacketMulticastTxCountAttribute(long chipClusterPtr, + PacketMulticastTxCountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPacketUnicastRxCountAttribute(long chipClusterPtr, + PacketUnicastRxCountAttributeCallback callback + ); + private native void subscribePacketUnicastRxCountAttribute(long chipClusterPtr, + PacketUnicastRxCountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPacketUnicastTxCountAttribute(long chipClusterPtr, + PacketUnicastTxCountAttributeCallback callback + ); + private native void subscribePacketUnicastTxCountAttribute(long chipClusterPtr, + PacketUnicastTxCountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentMaxRateAttribute(long chipClusterPtr, + CurrentMaxRateAttributeCallback callback + ); + private native void subscribeCurrentMaxRateAttribute(long chipClusterPtr, + CurrentMaxRateAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOverrunCountAttribute(long chipClusterPtr, + OverrunCountAttributeCallback callback + ); + private native void subscribeOverrunCountAttribute(long chipClusterPtr, + OverrunCountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class WiFiNetworkDiagnosticsCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 54L; + public static class EthernetNetworkDiagnosticsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 55L; - public WiFiNetworkDiagnosticsCluster(long devicePtr, int endpointId) { + public EthernetNetworkDiagnosticsCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void resetCounts(DefaultClusterCallback callback) { + public void resetCounts(DefaultClusterCallback callback + ) { resetCounts(chipClusterPtr, callback, null); } - public void resetCounts(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void resetCounts(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { resetCounts(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void resetCounts(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); - private native void resetCounts( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface BssidAttributeCallback { - void onSuccess(@Nullable byte[] value); - - void onError(Exception ex); + public interface PHYRateAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface FullDuplexAttributeCallback { + void onSuccess(@Nullable Boolean value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CarrierDetectAttributeCallback { + void onSuccess(@Nullable Boolean value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPHYRateAttribute( + PHYRateAttributeCallback callback + ) { + readPHYRateAttribute(chipClusterPtr, callback); } - - public interface SecurityTypeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePHYRateAttribute( + PHYRateAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePHYRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface WiFiVersionAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readFullDuplexAttribute( + FullDuplexAttributeCallback callback + ) { + readFullDuplexAttribute(chipClusterPtr, callback); } - - public interface ChannelNumberAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeFullDuplexAttribute( + FullDuplexAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeFullDuplexAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface RssiAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPacketRxCountAttribute( + LongAttributeCallback callback + ) { + readPacketRxCountAttribute(chipClusterPtr, callback); } - - public interface BeaconLostCountAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePacketRxCountAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePacketRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface BeaconRxCountAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPacketTxCountAttribute( + LongAttributeCallback callback + ) { + readPacketTxCountAttribute(chipClusterPtr, callback); } - - public interface PacketMulticastRxCountAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePacketTxCountAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePacketTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PacketMulticastTxCountAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readTxErrCountAttribute( + LongAttributeCallback callback + ) { + readTxErrCountAttribute(chipClusterPtr, callback); } - - public interface PacketUnicastRxCountAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeTxErrCountAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTxErrCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PacketUnicastTxCountAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCollisionCountAttribute( + LongAttributeCallback callback + ) { + readCollisionCountAttribute(chipClusterPtr, callback); } - - public interface CurrentMaxRateAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeCollisionCountAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCollisionCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface OverrunCountAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readOverrunCountAttribute( + LongAttributeCallback callback + ) { + readOverrunCountAttribute(chipClusterPtr, callback); + } + public void subscribeOverrunCountAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void readCarrierDetectAttribute( + CarrierDetectAttributeCallback callback + ) { + readCarrierDetectAttribute(chipClusterPtr, callback); + } + public void subscribeCarrierDetectAttribute( + CarrierDetectAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCarrierDetectAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readTimeSinceResetAttribute( + LongAttributeCallback callback + ) { + readTimeSinceResetAttribute(chipClusterPtr, callback); + } + public void subscribeTimeSinceResetAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTimeSinceResetAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + private native void readPHYRateAttribute(long chipClusterPtr, + PHYRateAttributeCallback callback + ); + private native void subscribePHYRateAttribute(long chipClusterPtr, + PHYRateAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFullDuplexAttribute(long chipClusterPtr, + FullDuplexAttributeCallback callback + ); + private native void subscribeFullDuplexAttribute(long chipClusterPtr, + FullDuplexAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPacketRxCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePacketRxCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPacketTxCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePacketTxCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTxErrCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTxErrCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCollisionCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeCollisionCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOverrunCountAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeOverrunCountAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCarrierDetectAttribute(long chipClusterPtr, + CarrierDetectAttributeCallback callback + ); + private native void subscribeCarrierDetectAttribute(long chipClusterPtr, + CarrierDetectAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readTimeSinceResetAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTimeSinceResetAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - void onError(Exception ex); + public static class TimeSynchronizationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 56L; - default void onSubscriptionEstablished(long subscriptionId) {} + public TimeSynchronizationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readBssidAttribute(BssidAttributeCallback callback) { - readBssidAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeBssidAttribute( - BssidAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBssidAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setUTCTime(DefaultClusterCallback callback + , Long UTCTime, Integer granularity, Optional timeSource) { + setUTCTime(chipClusterPtr, callback, UTCTime, granularity, timeSource, null); } - public void readSecurityTypeAttribute(SecurityTypeAttributeCallback callback) { - readSecurityTypeAttribute(chipClusterPtr, callback); + public void setUTCTime(DefaultClusterCallback callback + , Long UTCTime, Integer granularity, Optional timeSource + , int timedInvokeTimeoutMs) { + setUTCTime(chipClusterPtr, callback, UTCTime, granularity, timeSource, timedInvokeTimeoutMs); } - public void subscribeSecurityTypeAttribute( - SecurityTypeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSecurityTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setTrustedTimeSource(DefaultClusterCallback callback + , @Nullable ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct trustedTimeSource) { + setTrustedTimeSource(chipClusterPtr, callback, trustedTimeSource, null); } - public void readWiFiVersionAttribute(WiFiVersionAttributeCallback callback) { - readWiFiVersionAttribute(chipClusterPtr, callback); + public void setTrustedTimeSource(DefaultClusterCallback callback + , @Nullable ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct trustedTimeSource + , int timedInvokeTimeoutMs) { + setTrustedTimeSource(chipClusterPtr, callback, trustedTimeSource, timedInvokeTimeoutMs); } - public void subscribeWiFiVersionAttribute( - WiFiVersionAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWiFiVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setTimeZone(SetTimeZoneResponseCallback callback + , ArrayList timeZone) { + setTimeZone(chipClusterPtr, callback, timeZone, null); } - public void readChannelNumberAttribute(ChannelNumberAttributeCallback callback) { - readChannelNumberAttribute(chipClusterPtr, callback); + public void setTimeZone(SetTimeZoneResponseCallback callback + , ArrayList timeZone + , int timedInvokeTimeoutMs) { + setTimeZone(chipClusterPtr, callback, timeZone, timedInvokeTimeoutMs); } - public void subscribeChannelNumberAttribute( - ChannelNumberAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChannelNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setDSTOffset(DefaultClusterCallback callback + , ArrayList DSTOffset) { + setDSTOffset(chipClusterPtr, callback, DSTOffset, null); } - public void readRssiAttribute(RssiAttributeCallback callback) { - readRssiAttribute(chipClusterPtr, callback); + public void setDSTOffset(DefaultClusterCallback callback + , ArrayList DSTOffset + , int timedInvokeTimeoutMs) { + setDSTOffset(chipClusterPtr, callback, DSTOffset, timedInvokeTimeoutMs); } - public void subscribeRssiAttribute( - RssiAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRssiAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setDefaultNTP(DefaultClusterCallback callback + , @Nullable String defaultNTP) { + setDefaultNTP(chipClusterPtr, callback, defaultNTP, null); } - public void readBeaconLostCountAttribute(BeaconLostCountAttributeCallback callback) { - readBeaconLostCountAttribute(chipClusterPtr, callback); + public void setDefaultNTP(DefaultClusterCallback callback + , @Nullable String defaultNTP + , int timedInvokeTimeoutMs) { + setDefaultNTP(chipClusterPtr, callback, defaultNTP, timedInvokeTimeoutMs); } - - public void subscribeBeaconLostCountAttribute( - BeaconLostCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBeaconLostCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + private native void setUTCTime(long chipClusterPtr, DefaultClusterCallback Callback + , Long UTCTime, Integer granularity, Optional timeSource + , @Nullable Integer timedInvokeTimeoutMs); + private native void setTrustedTimeSource(long chipClusterPtr, DefaultClusterCallback Callback + , @Nullable ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct trustedTimeSource + , @Nullable Integer timedInvokeTimeoutMs); + private native void setTimeZone(long chipClusterPtr, SetTimeZoneResponseCallback Callback + , ArrayList timeZone + , @Nullable Integer timedInvokeTimeoutMs); + private native void setDSTOffset(long chipClusterPtr, DefaultClusterCallback Callback + , ArrayList DSTOffset + , @Nullable Integer timedInvokeTimeoutMs); + private native void setDefaultNTP(long chipClusterPtr, DefaultClusterCallback Callback + , @Nullable String defaultNTP + , @Nullable Integer timedInvokeTimeoutMs); + public interface SetTimeZoneResponseCallback { + void onSuccess(Boolean DSTOffsetRequired); + + void onError(Exception error); } - public void readBeaconRxCountAttribute(BeaconRxCountAttributeCallback callback) { - readBeaconRxCountAttribute(chipClusterPtr, callback); - } - public void subscribeBeaconRxCountAttribute( - BeaconRxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBeaconRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface UTCTimeAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface DefaultNTPAttributeCallback { + void onSuccess(@Nullable String value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface TimeZoneAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface DSTOffsetAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LocalTimeAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readPacketMulticastRxCountAttribute( - PacketMulticastRxCountAttributeCallback callback) { - readPacketMulticastRxCountAttribute(chipClusterPtr, callback); + public void readUTCTimeAttribute( + UTCTimeAttributeCallback callback + ) { + readUTCTimeAttribute(chipClusterPtr, callback); + } + public void subscribeUTCTimeAttribute( + UTCTimeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeUTCTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePacketMulticastRxCountAttribute( - PacketMulticastRxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketMulticastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGranularityAttribute( + IntegerAttributeCallback callback + ) { + readGranularityAttribute(chipClusterPtr, callback); + } + public void subscribeGranularityAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeGranularityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPacketMulticastTxCountAttribute( - PacketMulticastTxCountAttributeCallback callback) { - readPacketMulticastTxCountAttribute(chipClusterPtr, callback); + public void readTimeSourceAttribute( + IntegerAttributeCallback callback + ) { + readTimeSourceAttribute(chipClusterPtr, callback); + } + public void subscribeTimeSourceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTimeSourceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePacketMulticastTxCountAttribute( - PacketMulticastTxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketMulticastTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDefaultNTPAttribute( + DefaultNTPAttributeCallback callback + ) { + readDefaultNTPAttribute(chipClusterPtr, callback); + } + public void subscribeDefaultNTPAttribute( + DefaultNTPAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeDefaultNTPAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPacketUnicastRxCountAttribute(PacketUnicastRxCountAttributeCallback callback) { - readPacketUnicastRxCountAttribute(chipClusterPtr, callback); + public void readTimeZoneAttribute( + TimeZoneAttributeCallback callback + ) { + readTimeZoneAttribute(chipClusterPtr, callback); + } + public void subscribeTimeZoneAttribute( + TimeZoneAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTimeZoneAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePacketUnicastRxCountAttribute( - PacketUnicastRxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketUnicastRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDSTOffsetAttribute( + DSTOffsetAttributeCallback callback + ) { + readDSTOffsetAttribute(chipClusterPtr, callback); + } + public void subscribeDSTOffsetAttribute( + DSTOffsetAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeDSTOffsetAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPacketUnicastTxCountAttribute(PacketUnicastTxCountAttributeCallback callback) { - readPacketUnicastTxCountAttribute(chipClusterPtr, callback); + public void readLocalTimeAttribute( + LocalTimeAttributeCallback callback + ) { + readLocalTimeAttribute(chipClusterPtr, callback); + } + public void subscribeLocalTimeAttribute( + LocalTimeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLocalTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePacketUnicastTxCountAttribute( - PacketUnicastTxCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketUnicastTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readTimeZoneDatabaseAttribute( + IntegerAttributeCallback callback + ) { + readTimeZoneDatabaseAttribute(chipClusterPtr, callback); + } + public void subscribeTimeZoneDatabaseAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTimeZoneDatabaseAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentMaxRateAttribute(CurrentMaxRateAttributeCallback callback) { - readCurrentMaxRateAttribute(chipClusterPtr, callback); + public void readNTPServerAvailableAttribute( + BooleanAttributeCallback callback + ) { + readNTPServerAvailableAttribute(chipClusterPtr, callback); + } + public void subscribeNTPServerAvailableAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNTPServerAvailableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentMaxRateAttribute( - CurrentMaxRateAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentMaxRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readTimeZoneListMaxSizeAttribute( + IntegerAttributeCallback callback + ) { + readTimeZoneListMaxSizeAttribute(chipClusterPtr, callback); + } + public void subscribeTimeZoneListMaxSizeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTimeZoneListMaxSizeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOverrunCountAttribute(OverrunCountAttributeCallback callback) { - readOverrunCountAttribute(chipClusterPtr, callback); + public void readDSTOffsetListMaxSizeAttribute( + IntegerAttributeCallback callback + ) { + readDSTOffsetListMaxSizeAttribute(chipClusterPtr, callback); + } + public void subscribeDSTOffsetListMaxSizeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDSTOffsetListMaxSizeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOverrunCountAttribute( - OverrunCountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readSupportsDNSResolveAttribute( + BooleanAttributeCallback callback + ) { + readSupportsDNSResolveAttribute(chipClusterPtr, callback); + } + public void subscribeSupportsDNSResolveAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportsDNSResolveAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readBssidAttribute(long chipClusterPtr, BssidAttributeCallback callback); - - private native void subscribeBssidAttribute( - long chipClusterPtr, BssidAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSecurityTypeAttribute( - long chipClusterPtr, SecurityTypeAttributeCallback callback); - - private native void subscribeSecurityTypeAttribute( - long chipClusterPtr, - SecurityTypeAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readWiFiVersionAttribute( - long chipClusterPtr, WiFiVersionAttributeCallback callback); - - private native void subscribeWiFiVersionAttribute( - long chipClusterPtr, - WiFiVersionAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readChannelNumberAttribute( - long chipClusterPtr, ChannelNumberAttributeCallback callback); - - private native void subscribeChannelNumberAttribute( - long chipClusterPtr, - ChannelNumberAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readRssiAttribute(long chipClusterPtr, RssiAttributeCallback callback); - - private native void subscribeRssiAttribute( - long chipClusterPtr, RssiAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBeaconLostCountAttribute( - long chipClusterPtr, BeaconLostCountAttributeCallback callback); - - private native void subscribeBeaconLostCountAttribute( - long chipClusterPtr, - BeaconLostCountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBeaconRxCountAttribute( - long chipClusterPtr, BeaconRxCountAttributeCallback callback); - - private native void subscribeBeaconRxCountAttribute( - long chipClusterPtr, - BeaconRxCountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPacketMulticastRxCountAttribute( - long chipClusterPtr, PacketMulticastRxCountAttributeCallback callback); - - private native void subscribePacketMulticastRxCountAttribute( - long chipClusterPtr, - PacketMulticastRxCountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPacketMulticastTxCountAttribute( - long chipClusterPtr, PacketMulticastTxCountAttributeCallback callback); - - private native void subscribePacketMulticastTxCountAttribute( - long chipClusterPtr, - PacketMulticastTxCountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPacketUnicastRxCountAttribute( - long chipClusterPtr, PacketUnicastRxCountAttributeCallback callback); - - private native void subscribePacketUnicastRxCountAttribute( - long chipClusterPtr, - PacketUnicastRxCountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPacketUnicastTxCountAttribute( - long chipClusterPtr, PacketUnicastTxCountAttributeCallback callback); - - private native void subscribePacketUnicastTxCountAttribute( - long chipClusterPtr, - PacketUnicastTxCountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCurrentMaxRateAttribute( - long chipClusterPtr, CurrentMaxRateAttributeCallback callback); - - private native void subscribeCurrentMaxRateAttribute( - long chipClusterPtr, - CurrentMaxRateAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOverrunCountAttribute( - long chipClusterPtr, OverrunCountAttributeCallback callback); - - private native void subscribeOverrunCountAttribute( - long chipClusterPtr, - OverrunCountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readUTCTimeAttribute(long chipClusterPtr, + UTCTimeAttributeCallback callback + ); + private native void subscribeUTCTimeAttribute(long chipClusterPtr, + UTCTimeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGranularityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeGranularityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTimeSourceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeTimeSourceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDefaultNTPAttribute(long chipClusterPtr, + DefaultNTPAttributeCallback callback + ); + private native void subscribeDefaultNTPAttribute(long chipClusterPtr, + DefaultNTPAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readTimeZoneAttribute(long chipClusterPtr, + TimeZoneAttributeCallback callback + ); + private native void subscribeTimeZoneAttribute(long chipClusterPtr, + TimeZoneAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readDSTOffsetAttribute(long chipClusterPtr, + DSTOffsetAttributeCallback callback + ); + private native void subscribeDSTOffsetAttribute(long chipClusterPtr, + DSTOffsetAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLocalTimeAttribute(long chipClusterPtr, + LocalTimeAttributeCallback callback + ); + private native void subscribeLocalTimeAttribute(long chipClusterPtr, + LocalTimeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readTimeZoneDatabaseAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeTimeZoneDatabaseAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNTPServerAvailableAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeNTPServerAvailableAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTimeZoneListMaxSizeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeTimeZoneListMaxSizeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDSTOffsetListMaxSizeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDSTOffsetListMaxSizeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSupportsDNSResolveAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeSupportsDNSResolveAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class EthernetNetworkDiagnosticsCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 55L; + public static class BridgedDeviceBasicInformationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 57L; - public EthernetNetworkDiagnosticsCluster(long devicePtr, int endpointId) { + public BridgedDeviceBasicInformationCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void resetCounts(DefaultClusterCallback callback) { - resetCounts(chipClusterPtr, callback, null); - } - - public void resetCounts(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - resetCounts(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readVendorNameAttribute( + CharStringAttributeCallback callback + ) { + readVendorNameAttribute(chipClusterPtr, callback); } - - private native void resetCounts( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface PHYRateAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeVendorNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface FullDuplexAttributeCallback { - void onSuccess(@Nullable Boolean value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readVendorIDAttribute( + IntegerAttributeCallback callback + ) { + readVendorIDAttribute(chipClusterPtr, callback); } - - public interface CarrierDetectAttributeCallback { - void onSuccess(@Nullable Boolean value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeVendorIDAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readProductNameAttribute( + CharStringAttributeCallback callback + ) { + readProductNameAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeProductNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readNodeLabelAttribute( + CharStringAttributeCallback callback + ) { + readNodeLabelAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) { + writeNodeLabelAttribute(chipClusterPtr, callback, value, null); } - public void readPHYRateAttribute(PHYRateAttributeCallback callback) { - readPHYRateAttribute(chipClusterPtr, callback); + public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribePHYRateAttribute( - PHYRateAttributeCallback callback, int minInterval, int maxInterval) { - subscribePHYRateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNodeLabelAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFullDuplexAttribute(FullDuplexAttributeCallback callback) { - readFullDuplexAttribute(chipClusterPtr, callback); + public void readHardwareVersionAttribute( + IntegerAttributeCallback callback + ) { + readHardwareVersionAttribute(chipClusterPtr, callback); } - - public void subscribeFullDuplexAttribute( - FullDuplexAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFullDuplexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeHardwareVersionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPacketRxCountAttribute(LongAttributeCallback callback) { - readPacketRxCountAttribute(chipClusterPtr, callback); + public void readHardwareVersionStringAttribute( + CharStringAttributeCallback callback + ) { + readHardwareVersionStringAttribute(chipClusterPtr, callback); } - - public void subscribePacketRxCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketRxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeHardwareVersionStringAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPacketTxCountAttribute(LongAttributeCallback callback) { - readPacketTxCountAttribute(chipClusterPtr, callback); + public void readSoftwareVersionAttribute( + LongAttributeCallback callback + ) { + readSoftwareVersionAttribute(chipClusterPtr, callback); } - - public void subscribePacketTxCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePacketTxCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSoftwareVersionAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTxErrCountAttribute(LongAttributeCallback callback) { - readTxErrCountAttribute(chipClusterPtr, callback); + public void readSoftwareVersionStringAttribute( + CharStringAttributeCallback callback + ) { + readSoftwareVersionStringAttribute(chipClusterPtr, callback); } - - public void subscribeTxErrCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTxErrCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSoftwareVersionStringAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCollisionCountAttribute(LongAttributeCallback callback) { - readCollisionCountAttribute(chipClusterPtr, callback); + public void readManufacturingDateAttribute( + CharStringAttributeCallback callback + ) { + readManufacturingDateAttribute(chipClusterPtr, callback); } - - public void subscribeCollisionCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCollisionCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeManufacturingDateAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOverrunCountAttribute(LongAttributeCallback callback) { - readOverrunCountAttribute(chipClusterPtr, callback); + public void readPartNumberAttribute( + CharStringAttributeCallback callback + ) { + readPartNumberAttribute(chipClusterPtr, callback); + } + public void subscribePartNumberAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOverrunCountAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOverrunCountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readProductURLAttribute( + CharStringAttributeCallback callback + ) { + readProductURLAttribute(chipClusterPtr, callback); + } + public void subscribeProductURLAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCarrierDetectAttribute(CarrierDetectAttributeCallback callback) { - readCarrierDetectAttribute(chipClusterPtr, callback); + public void readProductLabelAttribute( + CharStringAttributeCallback callback + ) { + readProductLabelAttribute(chipClusterPtr, callback); + } + public void subscribeProductLabelAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCarrierDetectAttribute( - CarrierDetectAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCarrierDetectAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readSerialNumberAttribute( + CharStringAttributeCallback callback + ) { + readSerialNumberAttribute(chipClusterPtr, callback); + } + public void subscribeSerialNumberAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTimeSinceResetAttribute(LongAttributeCallback callback) { - readTimeSinceResetAttribute(chipClusterPtr, callback); + public void readReachableAttribute( + BooleanAttributeCallback callback + ) { + readReachableAttribute(chipClusterPtr, callback); + } + public void subscribeReachableAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReachableAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTimeSinceResetAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTimeSinceResetAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUniqueIDAttribute( + CharStringAttributeCallback callback + ) { + readUniqueIDAttribute(chipClusterPtr, callback); + } + public void subscribeUniqueIDAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUniqueIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readPHYRateAttribute( - long chipClusterPtr, PHYRateAttributeCallback callback); - - private native void subscribePHYRateAttribute( - long chipClusterPtr, PHYRateAttributeCallback callback, int minInterval, int maxInterval); - - private native void readFullDuplexAttribute( - long chipClusterPtr, FullDuplexAttributeCallback callback); + private native void readVendorNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeVendorNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readVendorIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeVendorIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeProductNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNodeLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeNodeLabelAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNodeLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readHardwareVersionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeHardwareVersionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readHardwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeHardwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSoftwareVersionAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeSoftwareVersionAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSoftwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeSoftwareVersionStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readManufacturingDateAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeManufacturingDateAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPartNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribePartNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductURLAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeProductURLAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeProductLabelAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSerialNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeSerialNumberAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReachableAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeReachableAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUniqueIDAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeUniqueIDAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeFullDuplexAttribute( - long chipClusterPtr, - FullDuplexAttributeCallback callback, - int minInterval, - int maxInterval); + public static class SwitchCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 59L; - private native void readPacketRxCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public SwitchCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribePacketRxCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readPacketTxCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribePacketTxCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readNumberOfPositionsAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfPositionsAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfPositionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfPositionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readTxErrCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTxErrCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCollisionCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeCollisionCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOverrunCountAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeOverrunCountAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCarrierDetectAttribute( - long chipClusterPtr, CarrierDetectAttributeCallback callback); - - private native void subscribeCarrierDetectAttribute( - long chipClusterPtr, - CarrierDetectAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readTimeSinceResetAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTimeSinceResetAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readCurrentPositionAttribute( + IntegerAttributeCallback callback + ) { + readCurrentPositionAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void readMultiPressMaxAttribute( + IntegerAttributeCallback callback + ) { + readMultiPressMaxAttribute(chipClusterPtr, callback); + } + public void subscribeMultiPressMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMultiPressMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readNumberOfPositionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfPositionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentPositionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentPositionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMultiPressMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMultiPressMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class TimeSynchronizationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 56L; + public static class AdministratorCommissioningCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 60L; - public TimeSynchronizationCluster(long devicePtr, int endpointId) { + public AdministratorCommissioningCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void setUTCTime( - DefaultClusterCallback callback, - Long UTCTime, - Integer granularity, - Optional timeSource) { - setUTCTime(chipClusterPtr, callback, UTCTime, granularity, timeSource, null); - } - public void setUTCTime( - DefaultClusterCallback callback, - Long UTCTime, - Integer granularity, - Optional timeSource, - int timedInvokeTimeoutMs) { - setUTCTime(chipClusterPtr, callback, UTCTime, granularity, timeSource, timedInvokeTimeoutMs); + public void openCommissioningWindow(DefaultClusterCallback callback + , Integer commissioningTimeout, byte[] PAKEPasscodeVerifier, Integer discriminator, Long iterations, byte[] salt + , int timedInvokeTimeoutMs) { + openCommissioningWindow(chipClusterPtr, callback, commissioningTimeout, PAKEPasscodeVerifier, discriminator, iterations, salt, timedInvokeTimeoutMs); } - public void setTrustedTimeSource( - DefaultClusterCallback callback, - @Nullable - ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct - trustedTimeSource) { - setTrustedTimeSource(chipClusterPtr, callback, trustedTimeSource, null); - } - public void setTrustedTimeSource( - DefaultClusterCallback callback, - @Nullable - ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct - trustedTimeSource, - int timedInvokeTimeoutMs) { - setTrustedTimeSource(chipClusterPtr, callback, trustedTimeSource, timedInvokeTimeoutMs); + public void openBasicCommissioningWindow(DefaultClusterCallback callback + , Integer commissioningTimeout + , int timedInvokeTimeoutMs) { + openBasicCommissioningWindow(chipClusterPtr, callback, commissioningTimeout, timedInvokeTimeoutMs); } - public void setTimeZone( - SetTimeZoneResponseCallback callback, - ArrayList timeZone) { - setTimeZone(chipClusterPtr, callback, timeZone, null); - } - public void setTimeZone( - SetTimeZoneResponseCallback callback, - ArrayList timeZone, - int timedInvokeTimeoutMs) { - setTimeZone(chipClusterPtr, callback, timeZone, timedInvokeTimeoutMs); + public void revokeCommissioning(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + revokeCommissioning(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void openCommissioningWindow(long chipClusterPtr, DefaultClusterCallback Callback + , Integer commissioningTimeout, byte[] PAKEPasscodeVerifier, Integer discriminator, Long iterations, byte[] salt + , @Nullable Integer timedInvokeTimeoutMs); + private native void openBasicCommissioningWindow(long chipClusterPtr, DefaultClusterCallback Callback + , Integer commissioningTimeout + , @Nullable Integer timedInvokeTimeoutMs); + private native void revokeCommissioning(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + + public interface AdminFabricIndexAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AdminVendorIdAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void setDSTOffset( - DefaultClusterCallback callback, - ArrayList DSTOffset) { - setDSTOffset(chipClusterPtr, callback, DSTOffset, null); + public void readWindowStatusAttribute( + IntegerAttributeCallback callback + ) { + readWindowStatusAttribute(chipClusterPtr, callback); } - - public void setDSTOffset( - DefaultClusterCallback callback, - ArrayList DSTOffset, - int timedInvokeTimeoutMs) { - setDSTOffset(chipClusterPtr, callback, DSTOffset, timedInvokeTimeoutMs); + public void subscribeWindowStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWindowStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void setDefaultNTP(DefaultClusterCallback callback, @Nullable String defaultNTP) { - setDefaultNTP(chipClusterPtr, callback, defaultNTP, null); + public void readAdminFabricIndexAttribute( + AdminFabricIndexAttributeCallback callback + ) { + readAdminFabricIndexAttribute(chipClusterPtr, callback); } - - public void setDefaultNTP( - DefaultClusterCallback callback, @Nullable String defaultNTP, int timedInvokeTimeoutMs) { - setDefaultNTP(chipClusterPtr, callback, defaultNTP, timedInvokeTimeoutMs); + public void subscribeAdminFabricIndexAttribute( + AdminFabricIndexAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAdminFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void setUTCTime( - long chipClusterPtr, - DefaultClusterCallback Callback, - Long UTCTime, - Integer granularity, - Optional timeSource, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setTrustedTimeSource( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable - ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct - trustedTimeSource, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setTimeZone( - long chipClusterPtr, - SetTimeZoneResponseCallback Callback, - ArrayList timeZone, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setDSTOffset( - long chipClusterPtr, - DefaultClusterCallback Callback, - ArrayList DSTOffset, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setDefaultNTP( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable String defaultNTP, - @Nullable Integer timedInvokeTimeoutMs); - - public interface SetTimeZoneResponseCallback { - void onSuccess(Boolean DSTOffsetRequired); - - void onError(Exception error); + public void readAdminVendorIdAttribute( + AdminVendorIdAttributeCallback callback + ) { + readAdminVendorIdAttribute(chipClusterPtr, callback); } - - public interface UTCTimeAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAdminVendorIdAttribute( + AdminVendorIdAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAdminVendorIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface DefaultNTPAttributeCallback { - void onSuccess(@Nullable String value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public interface TimeZoneAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface DSTOffsetAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public interface LocalTimeAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + private native void readWindowStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeWindowStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAdminFabricIndexAttribute(long chipClusterPtr, + AdminFabricIndexAttributeCallback callback + ); + private native void subscribeAdminFabricIndexAttribute(long chipClusterPtr, + AdminFabricIndexAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAdminVendorIdAttribute(long chipClusterPtr, + AdminVendorIdAttributeCallback callback + ); + private native void subscribeAdminVendorIdAttribute(long chipClusterPtr, + AdminVendorIdAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - void onError(Exception ex); + public static class OperationalCredentialsCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 62L; - default void onSubscriptionEstablished(long subscriptionId) {} + public OperationalCredentialsCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - default void onSubscriptionEstablished(long subscriptionId) {} + public void attestationRequest(AttestationResponseCallback callback + , byte[] attestationNonce) { + attestationRequest(chipClusterPtr, callback, attestationNonce, null); } - public void readUTCTimeAttribute(UTCTimeAttributeCallback callback) { - readUTCTimeAttribute(chipClusterPtr, callback); + public void attestationRequest(AttestationResponseCallback callback + , byte[] attestationNonce + , int timedInvokeTimeoutMs) { + attestationRequest(chipClusterPtr, callback, attestationNonce, timedInvokeTimeoutMs); } - public void subscribeUTCTimeAttribute( - UTCTimeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUTCTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void certificateChainRequest(CertificateChainResponseCallback callback + , Integer certificateType) { + certificateChainRequest(chipClusterPtr, callback, certificateType, null); } - public void readGranularityAttribute(IntegerAttributeCallback callback) { - readGranularityAttribute(chipClusterPtr, callback); + public void certificateChainRequest(CertificateChainResponseCallback callback + , Integer certificateType + , int timedInvokeTimeoutMs) { + certificateChainRequest(chipClusterPtr, callback, certificateType, timedInvokeTimeoutMs); } - public void subscribeGranularityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGranularityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void CSRRequest(CSRResponseCallback callback + , byte[] CSRNonce, Optional isForUpdateNOC) { + CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, null); } - public void readTimeSourceAttribute(IntegerAttributeCallback callback) { - readTimeSourceAttribute(chipClusterPtr, callback); + public void CSRRequest(CSRResponseCallback callback + , byte[] CSRNonce, Optional isForUpdateNOC + , int timedInvokeTimeoutMs) { + CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, timedInvokeTimeoutMs); } - public void subscribeTimeSourceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTimeSourceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void addNOC(NOCResponseCallback callback + , byte[] NOCValue, Optional ICACValue, byte[] IPKValue, Long caseAdminSubject, Integer adminVendorId) { + addNOC(chipClusterPtr, callback, NOCValue, ICACValue, IPKValue, caseAdminSubject, adminVendorId, null); } - public void readDefaultNTPAttribute(DefaultNTPAttributeCallback callback) { - readDefaultNTPAttribute(chipClusterPtr, callback); + public void addNOC(NOCResponseCallback callback + , byte[] NOCValue, Optional ICACValue, byte[] IPKValue, Long caseAdminSubject, Integer adminVendorId + , int timedInvokeTimeoutMs) { + addNOC(chipClusterPtr, callback, NOCValue, ICACValue, IPKValue, caseAdminSubject, adminVendorId, timedInvokeTimeoutMs); } - public void subscribeDefaultNTPAttribute( - DefaultNTPAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDefaultNTPAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void updateNOC(NOCResponseCallback callback + , byte[] NOCValue, Optional ICACValue) { + updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, null); } - public void readTimeZoneAttribute(TimeZoneAttributeCallback callback) { - readTimeZoneAttribute(chipClusterPtr, callback); + public void updateNOC(NOCResponseCallback callback + , byte[] NOCValue, Optional ICACValue + , int timedInvokeTimeoutMs) { + updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, timedInvokeTimeoutMs); } - public void subscribeTimeZoneAttribute( - TimeZoneAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTimeZoneAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void updateFabricLabel(NOCResponseCallback callback + , String label) { + updateFabricLabel(chipClusterPtr, callback, label, null); } - public void readDSTOffsetAttribute(DSTOffsetAttributeCallback callback) { - readDSTOffsetAttribute(chipClusterPtr, callback); + public void updateFabricLabel(NOCResponseCallback callback + , String label + , int timedInvokeTimeoutMs) { + updateFabricLabel(chipClusterPtr, callback, label, timedInvokeTimeoutMs); } - public void subscribeDSTOffsetAttribute( - DSTOffsetAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDSTOffsetAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void removeFabric(NOCResponseCallback callback + , Integer fabricIndex) { + removeFabric(chipClusterPtr, callback, fabricIndex, null); } - public void readLocalTimeAttribute(LocalTimeAttributeCallback callback) { - readLocalTimeAttribute(chipClusterPtr, callback); + public void removeFabric(NOCResponseCallback callback + , Integer fabricIndex + , int timedInvokeTimeoutMs) { + removeFabric(chipClusterPtr, callback, fabricIndex, timedInvokeTimeoutMs); } - public void subscribeLocalTimeAttribute( - LocalTimeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLocalTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void addTrustedRootCertificate(DefaultClusterCallback callback + , byte[] rootCACertificate) { + addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, null); } - public void readTimeZoneDatabaseAttribute(IntegerAttributeCallback callback) { - readTimeZoneDatabaseAttribute(chipClusterPtr, callback); + public void addTrustedRootCertificate(DefaultClusterCallback callback + , byte[] rootCACertificate + , int timedInvokeTimeoutMs) { + addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, timedInvokeTimeoutMs); + } + private native void attestationRequest(long chipClusterPtr, AttestationResponseCallback Callback + , byte[] attestationNonce + , @Nullable Integer timedInvokeTimeoutMs); + private native void certificateChainRequest(long chipClusterPtr, CertificateChainResponseCallback Callback + , Integer certificateType + , @Nullable Integer timedInvokeTimeoutMs); + private native void CSRRequest(long chipClusterPtr, CSRResponseCallback Callback + , byte[] CSRNonce, Optional isForUpdateNOC + , @Nullable Integer timedInvokeTimeoutMs); + private native void addNOC(long chipClusterPtr, NOCResponseCallback Callback + , byte[] NOCValue, Optional ICACValue, byte[] IPKValue, Long caseAdminSubject, Integer adminVendorId + , @Nullable Integer timedInvokeTimeoutMs); + private native void updateNOC(long chipClusterPtr, NOCResponseCallback Callback + , byte[] NOCValue, Optional ICACValue + , @Nullable Integer timedInvokeTimeoutMs); + private native void updateFabricLabel(long chipClusterPtr, NOCResponseCallback Callback + , String label + , @Nullable Integer timedInvokeTimeoutMs); + private native void removeFabric(long chipClusterPtr, NOCResponseCallback Callback + , Integer fabricIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void addTrustedRootCertificate(long chipClusterPtr, DefaultClusterCallback Callback + , byte[] rootCACertificate + , @Nullable Integer timedInvokeTimeoutMs); + public interface AttestationResponseCallback { + void onSuccess(byte[] attestationElements, byte[] attestationSignature); + + void onError(Exception error); } - public void subscribeTimeZoneDatabaseAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTimeZoneDatabaseAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface CertificateChainResponseCallback { + void onSuccess(byte[] certificate); + + void onError(Exception error); } - public void readNTPServerAvailableAttribute(BooleanAttributeCallback callback) { - readNTPServerAvailableAttribute(chipClusterPtr, callback); + public interface CSRResponseCallback { + void onSuccess(byte[] NOCSRElements, byte[] attestationSignature); + + void onError(Exception error); } - public void subscribeNTPServerAvailableAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNTPServerAvailableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface NOCResponseCallback { + void onSuccess(Integer statusCode, Optional fabricIndex, Optional debugText); + + void onError(Exception error); } - public void readTimeZoneListMaxSizeAttribute(IntegerAttributeCallback callback) { - readTimeZoneListMaxSizeAttribute(chipClusterPtr, callback); + + public interface NOCsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface FabricsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface TrustedRootCertificatesAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readNOCsAttribute( + NOCsAttributeCallback callback + ) { + readNOCsAttribute(chipClusterPtr, callback); + } + public void subscribeNOCsAttribute( + NOCsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNOCsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTimeZoneListMaxSizeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTimeZoneListMaxSizeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFabricsAttribute( + FabricsAttributeCallback callback + ) { + readFabricsAttribute(chipClusterPtr, callback); + } + public void subscribeFabricsAttribute( + FabricsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDSTOffsetListMaxSizeAttribute(IntegerAttributeCallback callback) { - readDSTOffsetListMaxSizeAttribute(chipClusterPtr, callback); + public void readSupportedFabricsAttribute( + IntegerAttributeCallback callback + ) { + readSupportedFabricsAttribute(chipClusterPtr, callback); + } + public void subscribeSupportedFabricsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDSTOffsetListMaxSizeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDSTOffsetListMaxSizeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCommissionedFabricsAttribute( + IntegerAttributeCallback callback + ) { + readCommissionedFabricsAttribute(chipClusterPtr, callback); + } + public void subscribeCommissionedFabricsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCommissionedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportsDNSResolveAttribute(BooleanAttributeCallback callback) { - readSupportsDNSResolveAttribute(chipClusterPtr, callback); + public void readTrustedRootCertificatesAttribute( + TrustedRootCertificatesAttributeCallback callback + ) { + readTrustedRootCertificatesAttribute(chipClusterPtr, callback); + } + public void subscribeTrustedRootCertificatesAttribute( + TrustedRootCertificatesAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTrustedRootCertificatesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSupportsDNSResolveAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportsDNSResolveAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentFabricIndexAttribute( + IntegerAttributeCallback callback + ) { + readCurrentFabricIndexAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentFabricIndexAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readUTCTimeAttribute( - long chipClusterPtr, UTCTimeAttributeCallback callback); - - private native void subscribeUTCTimeAttribute( - long chipClusterPtr, UTCTimeAttributeCallback callback, int minInterval, int maxInterval); + private native void readNOCsAttribute(long chipClusterPtr, + NOCsAttributeCallback callback + ); + private native void subscribeNOCsAttribute(long chipClusterPtr, + NOCsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFabricsAttribute(long chipClusterPtr, + FabricsAttributeCallback callback + ); + private native void subscribeFabricsAttribute(long chipClusterPtr, + FabricsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSupportedFabricsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSupportedFabricsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCommissionedFabricsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCommissionedFabricsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTrustedRootCertificatesAttribute(long chipClusterPtr, + TrustedRootCertificatesAttributeCallback callback + ); + private native void subscribeTrustedRootCertificatesAttribute(long chipClusterPtr, + TrustedRootCertificatesAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentFabricIndexAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentFabricIndexAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readGranularityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public static class GroupKeyManagementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 63L; - private native void subscribeGranularityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public GroupKeyManagementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readTimeSourceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeTimeSourceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void keySetWrite(DefaultClusterCallback callback + , ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet) { + keySetWrite(chipClusterPtr, callback, groupKeySet, null); + } - private native void readDefaultNTPAttribute( - long chipClusterPtr, DefaultNTPAttributeCallback callback); - - private native void subscribeDefaultNTPAttribute( - long chipClusterPtr, - DefaultNTPAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readTimeZoneAttribute( - long chipClusterPtr, TimeZoneAttributeCallback callback); - - private native void subscribeTimeZoneAttribute( - long chipClusterPtr, TimeZoneAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDSTOffsetAttribute( - long chipClusterPtr, DSTOffsetAttributeCallback callback); - - private native void subscribeDSTOffsetAttribute( - long chipClusterPtr, DSTOffsetAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLocalTimeAttribute( - long chipClusterPtr, LocalTimeAttributeCallback callback); - - private native void subscribeLocalTimeAttribute( - long chipClusterPtr, LocalTimeAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTimeZoneDatabaseAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void keySetWrite(DefaultClusterCallback callback + , ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet + , int timedInvokeTimeoutMs) { + keySetWrite(chipClusterPtr, callback, groupKeySet, timedInvokeTimeoutMs); + } - private native void subscribeTimeZoneDatabaseAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void keySetRead(KeySetReadResponseCallback callback + , Integer groupKeySetID) { + keySetRead(chipClusterPtr, callback, groupKeySetID, null); + } - private native void readNTPServerAvailableAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + public void keySetRead(KeySetReadResponseCallback callback + , Integer groupKeySetID + , int timedInvokeTimeoutMs) { + keySetRead(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + } - private native void subscribeNTPServerAvailableAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public void keySetRemove(DefaultClusterCallback callback + , Integer groupKeySetID) { + keySetRemove(chipClusterPtr, callback, groupKeySetID, null); + } - private native void readTimeZoneListMaxSizeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void keySetRemove(DefaultClusterCallback callback + , Integer groupKeySetID + , int timedInvokeTimeoutMs) { + keySetRemove(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + } - private native void subscribeTimeZoneListMaxSizeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void keySetReadAllIndices(KeySetReadAllIndicesResponseCallback callback + , ArrayList groupKeySetIDs) { + keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, null); + } - private native void readDSTOffsetListMaxSizeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void keySetReadAllIndices(KeySetReadAllIndicesResponseCallback callback + , ArrayList groupKeySetIDs + , int timedInvokeTimeoutMs) { + keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, timedInvokeTimeoutMs); + } + private native void keySetWrite(long chipClusterPtr, DefaultClusterCallback Callback + , ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet + , @Nullable Integer timedInvokeTimeoutMs); + private native void keySetRead(long chipClusterPtr, KeySetReadResponseCallback Callback + , Integer groupKeySetID + , @Nullable Integer timedInvokeTimeoutMs); + private native void keySetRemove(long chipClusterPtr, DefaultClusterCallback Callback + , Integer groupKeySetID + , @Nullable Integer timedInvokeTimeoutMs); + private native void keySetReadAllIndices(long chipClusterPtr, KeySetReadAllIndicesResponseCallback Callback + , ArrayList groupKeySetIDs + , @Nullable Integer timedInvokeTimeoutMs); + public interface KeySetReadResponseCallback { + void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet); + + void onError(Exception error); + } - private native void subscribeDSTOffsetListMaxSizeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public interface KeySetReadAllIndicesResponseCallback { + void onSuccess(ArrayList groupKeySetIDs); + + void onError(Exception error); + } - private native void readSupportsDNSResolveAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - private native void subscribeSupportsDNSResolveAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public interface GroupKeyMapAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GroupTableAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public void readGroupKeyMapAttribute( + GroupKeyMapAttributeCallback callback + ) { + readGroupKeyMapAttribute(chipClusterPtr, callback); + } + public void writeGroupKeyMapAttribute(DefaultClusterCallback callback, ArrayList value) { + writeGroupKeyMapAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void writeGroupKeyMapAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + writeGroupKeyMapAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeGroupKeyMapAttribute( + GroupKeyMapAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGroupKeyMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void readGroupTableAttribute( + GroupTableAttributeCallback callback + ) { + readGroupTableAttribute(chipClusterPtr, callback); + } + public void subscribeGroupTableAttribute( + GroupTableAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGroupTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readMaxGroupsPerFabricAttribute( + IntegerAttributeCallback callback + ) { + readMaxGroupsPerFabricAttribute(chipClusterPtr, callback); + } + public void subscribeMaxGroupsPerFabricAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxGroupsPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void readMaxGroupKeysPerFabricAttribute( + IntegerAttributeCallback callback + ) { + readMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback); + } + public void subscribeMaxGroupKeysPerFabricAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readGroupKeyMapAttribute(long chipClusterPtr, + GroupKeyMapAttributeCallback callback + ); + + private native void writeGroupKeyMapAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeGroupKeyMapAttribute(long chipClusterPtr, + GroupKeyMapAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGroupTableAttribute(long chipClusterPtr, + GroupTableAttributeCallback callback + ); + private native void subscribeGroupTableAttribute(long chipClusterPtr, + GroupTableAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxGroupsPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxGroupsPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxGroupKeysPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxGroupKeysPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class BridgedDeviceBasicInformationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 57L; + public static class FixedLabelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 64L; - public BridgedDeviceBasicInformationCluster(long devicePtr, int endpointId) { + public FixedLabelCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface LabelListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLabelListAttribute( + LabelListAttributeCallback callback + ) { + readLabelListAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeLabelListAttribute( + LabelListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorNameAttribute(CharStringAttributeCallback callback) { - readVendorNameAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeVendorNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIDAttribute(IntegerAttributeCallback callback) { - readVendorIDAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeVendorIDAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readProductNameAttribute(CharStringAttributeCallback callback) { - readProductNameAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribeProductNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNodeLabelAttribute(CharStringAttributeCallback callback) { - readNodeLabelAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) { - writeNodeLabelAttribute(chipClusterPtr, callback, value, null); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeNodeLabelAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribeNodeLabelAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readHardwareVersionAttribute(IntegerAttributeCallback callback) { - readHardwareVersionAttribute(chipClusterPtr, callback); - } + private native void readLabelListAttribute(long chipClusterPtr, + LabelListAttributeCallback callback + ); + private native void subscribeLabelListAttribute(long chipClusterPtr, + LabelListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void subscribeHardwareVersionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class UserLabelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 65L; - public void readHardwareVersionStringAttribute(CharStringAttributeCallback callback) { - readHardwareVersionStringAttribute(chipClusterPtr, callback); + public UserLabelCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeHardwareVersionStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readSoftwareVersionAttribute(LongAttributeCallback callback) { - readSoftwareVersionAttribute(chipClusterPtr, callback); - } + public interface LabelListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void subscribeSoftwareVersionAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLabelListAttribute( + LabelListAttributeCallback callback + ) { + readLabelListAttribute(chipClusterPtr, callback); } - - public void readSoftwareVersionStringAttribute(CharStringAttributeCallback callback) { - readSoftwareVersionStringAttribute(chipClusterPtr, callback); + public void writeLabelListAttribute(DefaultClusterCallback callback, ArrayList value) { + writeLabelListAttribute(chipClusterPtr, callback, value, null); } - public void subscribeSoftwareVersionStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLabelListAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + writeLabelListAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readManufacturingDateAttribute(CharStringAttributeCallback callback) { - readManufacturingDateAttribute(chipClusterPtr, callback); + public void subscribeLabelListAttribute( + LabelListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeManufacturingDateAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readPartNumberAttribute(CharStringAttributeCallback callback) { - readPartNumberAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePartNumberAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readProductURLAttribute(CharStringAttributeCallback callback) { - readProductURLAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeProductURLAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readProductLabelAttribute(CharStringAttributeCallback callback) { - readProductLabelAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeProductLabelAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readSerialNumberAttribute(CharStringAttributeCallback callback) { - readSerialNumberAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSerialNumberAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readReachableAttribute(BooleanAttributeCallback callback) { - readReachableAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeReachableAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeReachableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readUniqueIDAttribute(CharStringAttributeCallback callback) { - readUniqueIDAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUniqueIDAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUniqueIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + private native void readLabelListAttribute(long chipClusterPtr, + LabelListAttributeCallback callback + ); + + private native void writeLabelListAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLabelListAttribute(long chipClusterPtr, + LabelListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } + + public static class ProxyConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 66L; + + public ProxyConfigurationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readVendorNameAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeVendorNameAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readVendorIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public static class ProxyDiscoveryCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 67L; - private native void subscribeVendorIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readProductNameAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeProductNameAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNodeLabelAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeNodeLabelAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNodeLabelAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readHardwareVersionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeHardwareVersionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readHardwareVersionStringAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeHardwareVersionStringAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSoftwareVersionAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeSoftwareVersionAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSoftwareVersionStringAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeSoftwareVersionStringAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readManufacturingDateAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeManufacturingDateAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPartNumberAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribePartNumberAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readProductURLAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeProductURLAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readProductLabelAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeProductLabelAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSerialNumberAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeSerialNumberAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readReachableAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeReachableAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUniqueIDAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); + public ProxyDiscoveryCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeUniqueIDAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class SwitchCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 59L; + public static class ProxyValidCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 68L; - public SwitchCluster(long devicePtr, int endpointId) { + public ProxyValidCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfPositionsAttribute(IntegerAttributeCallback callback) { - readNumberOfPositionsAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfPositionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfPositionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentPositionAttribute(IntegerAttributeCallback callback) { - readCurrentPositionAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMultiPressMaxAttribute(IntegerAttributeCallback callback) { - readMultiPressMaxAttribute(chipClusterPtr, callback); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } + + public static class BooleanStateCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 69L; + + public BooleanStateCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeMultiPressMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMultiPressMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readStateValueAttribute( + BooleanAttributeCallback callback + ) { + readStateValueAttribute(chipClusterPtr, callback); + } + public void subscribeStateValueAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStateValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readNumberOfPositionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeNumberOfPositionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentPositionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentPositionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMultiPressMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMultiPressMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readStateValueAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeStateValueAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class AdministratorCommissioningCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 60L; + public static class IcdManagementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 70L; - public AdministratorCommissioningCluster(long devicePtr, int endpointId) { + public IcdManagementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void openCommissioningWindow( - DefaultClusterCallback callback, - Integer commissioningTimeout, - byte[] PAKEPasscodeVerifier, - Integer discriminator, - Long iterations, - byte[] salt, - int timedInvokeTimeoutMs) { - openCommissioningWindow( - chipClusterPtr, - callback, - commissioningTimeout, - PAKEPasscodeVerifier, - discriminator, - iterations, - salt, - timedInvokeTimeoutMs); - } - - public void openBasicCommissioningWindow( - DefaultClusterCallback callback, Integer commissioningTimeout, int timedInvokeTimeoutMs) { - openBasicCommissioningWindow( - chipClusterPtr, callback, commissioningTimeout, timedInvokeTimeoutMs); - } - - public void revokeCommissioning(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - revokeCommissioning(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void registerClient(RegisterClientResponseCallback callback + , Long checkInNodeID, Long monitoredSubject, byte[] key, Optional verificationKey) { + registerClient(chipClusterPtr, callback, checkInNodeID, monitoredSubject, key, verificationKey, null); } - private native void openCommissioningWindow( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer commissioningTimeout, - byte[] PAKEPasscodeVerifier, - Integer discriminator, - Long iterations, - byte[] salt, - @Nullable Integer timedInvokeTimeoutMs); - - private native void openBasicCommissioningWindow( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer commissioningTimeout, - @Nullable Integer timedInvokeTimeoutMs); - - private native void revokeCommissioning( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface AdminFabricIndexAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void registerClient(RegisterClientResponseCallback callback + , Long checkInNodeID, Long monitoredSubject, byte[] key, Optional verificationKey + , int timedInvokeTimeoutMs) { + registerClient(chipClusterPtr, callback, checkInNodeID, monitoredSubject, key, verificationKey, timedInvokeTimeoutMs); } - public interface AdminVendorIdAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void unregisterClient(DefaultClusterCallback callback + , Long checkInNodeID, Optional key) { + unregisterClient(chipClusterPtr, callback, checkInNodeID, key, null); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void unregisterClient(DefaultClusterCallback callback + , Long checkInNodeID, Optional key + , int timedInvokeTimeoutMs) { + unregisterClient(chipClusterPtr, callback, checkInNodeID, key, timedInvokeTimeoutMs); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stayActiveRequest(DefaultClusterCallback callback + ) { + stayActiveRequest(chipClusterPtr, callback, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stayActiveRequest(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + stayActiveRequest(chipClusterPtr, callback, timedInvokeTimeoutMs); + } + private native void registerClient(long chipClusterPtr, RegisterClientResponseCallback Callback + , Long checkInNodeID, Long monitoredSubject, byte[] key, Optional verificationKey + , @Nullable Integer timedInvokeTimeoutMs); + private native void unregisterClient(long chipClusterPtr, DefaultClusterCallback Callback + , Long checkInNodeID, Optional key + , @Nullable Integer timedInvokeTimeoutMs); + private native void stayActiveRequest(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + public interface RegisterClientResponseCallback { + void onSuccess(Long ICDCounter); + + void onError(Exception error); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); + public interface RegisteredClientsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readIdleModeIntervalAttribute( + LongAttributeCallback callback + ) { + readIdleModeIntervalAttribute(chipClusterPtr, callback); } - - public void readWindowStatusAttribute(IntegerAttributeCallback callback) { - readWindowStatusAttribute(chipClusterPtr, callback); + public void subscribeIdleModeIntervalAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeIdleModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeWindowStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWindowStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readActiveModeIntervalAttribute( + LongAttributeCallback callback + ) { + readActiveModeIntervalAttribute(chipClusterPtr, callback); + } + public void subscribeActiveModeIntervalAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActiveModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAdminFabricIndexAttribute(AdminFabricIndexAttributeCallback callback) { - readAdminFabricIndexAttribute(chipClusterPtr, callback); + public void readActiveModeThresholdAttribute( + IntegerAttributeCallback callback + ) { + readActiveModeThresholdAttribute(chipClusterPtr, callback); + } + public void subscribeActiveModeThresholdAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActiveModeThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAdminFabricIndexAttribute( - AdminFabricIndexAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAdminFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRegisteredClientsAttribute( + RegisteredClientsAttributeCallback callback + ) { + readRegisteredClientsAttribute(chipClusterPtr, callback); + } + public void subscribeRegisteredClientsAttribute( + RegisteredClientsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeRegisteredClientsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAdminVendorIdAttribute(AdminVendorIdAttributeCallback callback) { - readAdminVendorIdAttribute(chipClusterPtr, callback); + public void readICDCounterAttribute( + LongAttributeCallback callback + ) { + readICDCounterAttribute(chipClusterPtr, callback); + } + public void subscribeICDCounterAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeICDCounterAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAdminVendorIdAttribute( - AdminVendorIdAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAdminVendorIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClientsSupportedPerFabricAttribute( + IntegerAttributeCallback callback + ) { + readClientsSupportedPerFabricAttribute(chipClusterPtr, callback); + } + public void subscribeClientsSupportedPerFabricAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClientsSupportedPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readWindowStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeWindowStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAdminFabricIndexAttribute( - long chipClusterPtr, AdminFabricIndexAttributeCallback callback); - - private native void subscribeAdminFabricIndexAttribute( - long chipClusterPtr, - AdminFabricIndexAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAdminVendorIdAttribute( - long chipClusterPtr, AdminVendorIdAttributeCallback callback); - - private native void subscribeAdminVendorIdAttribute( - long chipClusterPtr, - AdminVendorIdAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readIdleModeIntervalAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeIdleModeIntervalAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveModeIntervalAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeActiveModeIntervalAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveModeThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActiveModeThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRegisteredClientsAttribute(long chipClusterPtr, + RegisteredClientsAttributeCallback callback + ); + private native void subscribeRegisteredClientsAttribute(long chipClusterPtr, + RegisteredClientsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readICDCounterAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeICDCounterAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClientsSupportedPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClientsSupportedPerFabricAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class OperationalCredentialsCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 62L; + public static class ModeSelectCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 80L; - public OperationalCredentialsCluster(long devicePtr, int endpointId) { + public ModeSelectCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void attestationRequest(AttestationResponseCallback callback, byte[] attestationNonce) { - attestationRequest(chipClusterPtr, callback, attestationNonce, null); - } - - public void attestationRequest( - AttestationResponseCallback callback, byte[] attestationNonce, int timedInvokeTimeoutMs) { - attestationRequest(chipClusterPtr, callback, attestationNonce, timedInvokeTimeoutMs); + public void changeToMode(DefaultClusterCallback callback + , Integer newMode) { + changeToMode(chipClusterPtr, callback, newMode, null); } - public void certificateChainRequest( - CertificateChainResponseCallback callback, Integer certificateType) { - certificateChainRequest(chipClusterPtr, callback, certificateType, null); + public void changeToMode(DefaultClusterCallback callback + , Integer newMode + , int timedInvokeTimeoutMs) { + changeToMode(chipClusterPtr, callback, newMode, timedInvokeTimeoutMs); } + private native void changeToMode(long chipClusterPtr, DefaultClusterCallback Callback + , Integer newMode + , @Nullable Integer timedInvokeTimeoutMs); - public void certificateChainRequest( - CertificateChainResponseCallback callback, - Integer certificateType, - int timedInvokeTimeoutMs) { - certificateChainRequest(chipClusterPtr, callback, certificateType, timedInvokeTimeoutMs); - } + public interface StandardNamespaceAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface SupportedModesAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + 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); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void CSRRequest( - CSRResponseCallback callback, byte[] CSRNonce, Optional isForUpdateNOC) { - CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, null); + public void readDescriptionAttribute( + CharStringAttributeCallback callback + ) { + readDescriptionAttribute(chipClusterPtr, callback); } - - public void CSRRequest( - CSRResponseCallback callback, - byte[] CSRNonce, - Optional isForUpdateNOC, - int timedInvokeTimeoutMs) { - CSRRequest(chipClusterPtr, callback, CSRNonce, isForUpdateNOC, timedInvokeTimeoutMs); + public void subscribeDescriptionAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void addNOC( - NOCResponseCallback callback, - byte[] NOCValue, - Optional ICACValue, - byte[] IPKValue, - Long caseAdminSubject, - Integer adminVendorId) { - addNOC( - chipClusterPtr, - callback, - NOCValue, - ICACValue, - IPKValue, - caseAdminSubject, - adminVendorId, - null); - } - - public void addNOC( - NOCResponseCallback callback, - byte[] NOCValue, - Optional ICACValue, - byte[] IPKValue, - Long caseAdminSubject, - Integer adminVendorId, - int timedInvokeTimeoutMs) { - addNOC( - chipClusterPtr, - callback, - NOCValue, - ICACValue, - IPKValue, - caseAdminSubject, - adminVendorId, - timedInvokeTimeoutMs); - } - - public void updateNOC( - NOCResponseCallback callback, byte[] NOCValue, Optional ICACValue) { - updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, null); + public void readStandardNamespaceAttribute( + StandardNamespaceAttributeCallback callback + ) { + readStandardNamespaceAttribute(chipClusterPtr, callback); } - - public void updateNOC( - NOCResponseCallback callback, - byte[] NOCValue, - Optional ICACValue, - int timedInvokeTimeoutMs) { - updateNOC(chipClusterPtr, callback, NOCValue, ICACValue, timedInvokeTimeoutMs); + public void subscribeStandardNamespaceAttribute( + StandardNamespaceAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeStandardNamespaceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void updateFabricLabel(NOCResponseCallback callback, String label) { - updateFabricLabel(chipClusterPtr, callback, label, null); + public void readSupportedModesAttribute( + SupportedModesAttributeCallback callback + ) { + readSupportedModesAttribute(chipClusterPtr, callback); } - - public void updateFabricLabel( - NOCResponseCallback callback, String label, int timedInvokeTimeoutMs) { - updateFabricLabel(chipClusterPtr, callback, label, timedInvokeTimeoutMs); + public void subscribeSupportedModesAttribute( + SupportedModesAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSupportedModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void removeFabric(NOCResponseCallback callback, Integer fabricIndex) { - removeFabric(chipClusterPtr, callback, fabricIndex, null); + public void readCurrentModeAttribute( + IntegerAttributeCallback callback + ) { + readCurrentModeAttribute(chipClusterPtr, callback); } - - public void removeFabric( - NOCResponseCallback callback, Integer fabricIndex, int timedInvokeTimeoutMs) { - removeFabric(chipClusterPtr, callback, fabricIndex, timedInvokeTimeoutMs); + public void subscribeCurrentModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void addTrustedRootCertificate( - DefaultClusterCallback callback, byte[] rootCACertificate) { - addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, null); + public void readStartUpModeAttribute( + StartUpModeAttributeCallback callback + ) { + readStartUpModeAttribute(chipClusterPtr, callback); } - - public void addTrustedRootCertificate( - DefaultClusterCallback callback, byte[] rootCACertificate, int timedInvokeTimeoutMs) { - addTrustedRootCertificate(chipClusterPtr, callback, rootCACertificate, timedInvokeTimeoutMs); + public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) { + writeStartUpModeAttribute(chipClusterPtr, callback, value, null); } - private native void attestationRequest( - long chipClusterPtr, - AttestationResponseCallback Callback, - byte[] attestationNonce, - @Nullable Integer timedInvokeTimeoutMs); - - private native void certificateChainRequest( - long chipClusterPtr, - CertificateChainResponseCallback Callback, - Integer certificateType, - @Nullable Integer timedInvokeTimeoutMs); - - private native void CSRRequest( - long chipClusterPtr, - CSRResponseCallback Callback, - byte[] CSRNonce, - Optional isForUpdateNOC, - @Nullable Integer timedInvokeTimeoutMs); - - private native void addNOC( - long chipClusterPtr, - NOCResponseCallback Callback, - byte[] NOCValue, - Optional ICACValue, - byte[] IPKValue, - Long caseAdminSubject, - Integer adminVendorId, - @Nullable Integer timedInvokeTimeoutMs); - - private native void updateNOC( - long chipClusterPtr, - NOCResponseCallback Callback, - byte[] NOCValue, - Optional ICACValue, - @Nullable Integer timedInvokeTimeoutMs); - - private native void updateFabricLabel( - long chipClusterPtr, - NOCResponseCallback Callback, - String label, - @Nullable Integer timedInvokeTimeoutMs); - - private native void removeFabric( - long chipClusterPtr, - NOCResponseCallback Callback, - Integer fabricIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void addTrustedRootCertificate( - long chipClusterPtr, - DefaultClusterCallback Callback, - byte[] rootCACertificate, - @Nullable Integer timedInvokeTimeoutMs); - - public interface AttestationResponseCallback { - void onSuccess(byte[] attestationElements, byte[] attestationSignature); - - void onError(Exception error); + public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface CertificateChainResponseCallback { - void onSuccess(byte[] certificate); - - void onError(Exception error); + public void subscribeStartUpModeAttribute( + StartUpModeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface CSRResponseCallback { - void onSuccess(byte[] NOCSRElements, byte[] attestationSignature); - - void onError(Exception error); + public void readOnModeAttribute( + OnModeAttributeCallback callback + ) { + readOnModeAttribute(chipClusterPtr, callback); } - - public interface NOCResponseCallback { - void onSuccess(Integer statusCode, Optional fabricIndex, Optional debugText); - - void onError(Exception error); + public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOnModeAttribute(chipClusterPtr, callback, value, null); } - public interface NOCsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOnModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface FabricsAttributeCallback { - void onSuccess( - List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeOnModeAttribute( + OnModeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOnModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface TrustedRootCertificatesAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + private native void readDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeDescriptionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStandardNamespaceAttribute(long chipClusterPtr, + StandardNamespaceAttributeCallback callback + ); + private native void subscribeStandardNamespaceAttribute(long chipClusterPtr, + StandardNamespaceAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSupportedModesAttribute(long chipClusterPtr, + SupportedModesAttributeCallback callback + ); + private native void subscribeSupportedModesAttribute(long chipClusterPtr, + SupportedModesAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + 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); + private native void subscribeOnModeAttribute(long chipClusterPtr, + OnModeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - void onError(Exception ex); + public static class TemperatureControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 86L; - default void onSubscriptionEstablished(long subscriptionId) {} + public TemperatureControlCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface SupportedTemperatureLevelsAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readNOCsAttribute(NOCsAttributeCallback callback) { - readNOCsAttribute(chipClusterPtr, callback); + public void readTemperatureSetpointAttribute( + IntegerAttributeCallback callback + ) { + readTemperatureSetpointAttribute(chipClusterPtr, callback); } - - public void subscribeNOCsAttribute( - NOCsAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNOCsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeTemperatureSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTemperatureSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFabricsAttribute(FabricsAttributeCallback callback) { - readFabricsAttribute(chipClusterPtr, callback); + public void readMinTemperatureAttribute( + IntegerAttributeCallback callback + ) { + readMinTemperatureAttribute(chipClusterPtr, callback); } - - public void subscribeFabricsAttribute( - FabricsAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinTemperatureAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportedFabricsAttribute(IntegerAttributeCallback callback) { - readSupportedFabricsAttribute(chipClusterPtr, callback); + public void readMaxTemperatureAttribute( + IntegerAttributeCallback callback + ) { + readMaxTemperatureAttribute(chipClusterPtr, callback); } - - public void subscribeSupportedFabricsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxTemperatureAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCommissionedFabricsAttribute(IntegerAttributeCallback callback) { - readCommissionedFabricsAttribute(chipClusterPtr, callback); + public void readStepAttribute( + IntegerAttributeCallback callback + ) { + readStepAttribute(chipClusterPtr, callback); } - - public void subscribeCommissionedFabricsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCommissionedFabricsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeStepAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStepAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTrustedRootCertificatesAttribute( - TrustedRootCertificatesAttributeCallback callback) { - readTrustedRootCertificatesAttribute(chipClusterPtr, callback); + public void readCurrentTemperatureLevelIndexAttribute( + IntegerAttributeCallback callback + ) { + readCurrentTemperatureLevelIndexAttribute(chipClusterPtr, callback); } - - public void subscribeTrustedRootCertificatesAttribute( - TrustedRootCertificatesAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTrustedRootCertificatesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCurrentTemperatureLevelIndexAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentTemperatureLevelIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentFabricIndexAttribute(IntegerAttributeCallback callback) { - readCurrentFabricIndexAttribute(chipClusterPtr, callback); + public void readSupportedTemperatureLevelsAttribute( + SupportedTemperatureLevelsAttributeCallback callback + ) { + readSupportedTemperatureLevelsAttribute(chipClusterPtr, callback); } - - public void subscribeCurrentFabricIndexAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSupportedTemperatureLevelsAttribute( + SupportedTemperatureLevelsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSupportedTemperatureLevelsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readNOCsAttribute(long chipClusterPtr, NOCsAttributeCallback callback); - - private native void subscribeNOCsAttribute( - long chipClusterPtr, NOCsAttributeCallback callback, int minInterval, int maxInterval); - - private native void readFabricsAttribute( - long chipClusterPtr, FabricsAttributeCallback callback); - - private native void subscribeFabricsAttribute( - long chipClusterPtr, FabricsAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSupportedFabricsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSupportedFabricsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCommissionedFabricsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCommissionedFabricsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTrustedRootCertificatesAttribute( - long chipClusterPtr, TrustedRootCertificatesAttributeCallback callback); - - private native void subscribeTrustedRootCertificatesAttribute( - long chipClusterPtr, - TrustedRootCertificatesAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCurrentFabricIndexAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentFabricIndexAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readTemperatureSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeTemperatureSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinTemperatureAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMinTemperatureAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxTemperatureAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxTemperatureAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStepAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeStepAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentTemperatureLevelIndexAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentTemperatureLevelIndexAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSupportedTemperatureLevelsAttribute(long chipClusterPtr, + SupportedTemperatureLevelsAttributeCallback callback + ); + private native void subscribeSupportedTemperatureLevelsAttribute(long chipClusterPtr, + SupportedTemperatureLevelsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class GroupKeyManagementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 63L; + public static class RefrigeratorAlarmCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 87L; - public GroupKeyManagementCluster(long devicePtr, int endpointId) { + public RefrigeratorAlarmCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void keySetWrite( - DefaultClusterCallback callback, - ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet) { - keySetWrite(chipClusterPtr, callback, groupKeySet, null); + public void reset(DefaultClusterCallback callback + , Long alarms, Optional mask) { + reset(chipClusterPtr, callback, alarms, mask, null); } - public void keySetWrite( - DefaultClusterCallback callback, - ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet, - int timedInvokeTimeoutMs) { - keySetWrite(chipClusterPtr, callback, groupKeySet, timedInvokeTimeoutMs); + public void reset(DefaultClusterCallback callback + , Long alarms, Optional mask + , int timedInvokeTimeoutMs) { + reset(chipClusterPtr, callback, alarms, mask, timedInvokeTimeoutMs); } + private native void reset(long chipClusterPtr, DefaultClusterCallback Callback + , Long alarms, Optional mask + , @Nullable Integer timedInvokeTimeoutMs); - public void keySetRead(KeySetReadResponseCallback callback, Integer groupKeySetID) { - keySetRead(chipClusterPtr, callback, groupKeySetID, null); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void keySetRead( - KeySetReadResponseCallback callback, Integer groupKeySetID, int timedInvokeTimeoutMs) { - keySetRead(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + public void readMaskAttribute( + LongAttributeCallback callback + ) { + readMaskAttribute(chipClusterPtr, callback); } - - public void keySetRemove(DefaultClusterCallback callback, Integer groupKeySetID) { - keySetRemove(chipClusterPtr, callback, groupKeySetID, null); + public void writeMaskAttribute(DefaultClusterCallback callback, Long value) { + writeMaskAttribute(chipClusterPtr, callback, value, null); } - public void keySetRemove( - DefaultClusterCallback callback, Integer groupKeySetID, int timedInvokeTimeoutMs) { - keySetRemove(chipClusterPtr, callback, groupKeySetID, timedInvokeTimeoutMs); + public void writeMaskAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void keySetReadAllIndices( - KeySetReadAllIndicesResponseCallback callback, ArrayList groupKeySetIDs) { - keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, null); + public void subscribeMaskAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void keySetReadAllIndices( - KeySetReadAllIndicesResponseCallback callback, - ArrayList groupKeySetIDs, - int timedInvokeTimeoutMs) { - keySetReadAllIndices(chipClusterPtr, callback, groupKeySetIDs, timedInvokeTimeoutMs); + public void readLatchAttribute( + LongAttributeCallback callback + ) { + readLatchAttribute(chipClusterPtr, callback); } - - private native void keySetWrite( - long chipClusterPtr, - DefaultClusterCallback Callback, - ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet, - @Nullable Integer timedInvokeTimeoutMs); - - private native void keySetRead( - long chipClusterPtr, - KeySetReadResponseCallback Callback, - Integer groupKeySetID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void keySetRemove( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer groupKeySetID, - @Nullable Integer timedInvokeTimeoutMs); - - private native void keySetReadAllIndices( - long chipClusterPtr, - KeySetReadAllIndicesResponseCallback Callback, - ArrayList groupKeySetIDs, - @Nullable Integer timedInvokeTimeoutMs); - - public interface KeySetReadResponseCallback { - void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct groupKeySet); - - void onError(Exception error); + public void subscribeLatchAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLatchAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface KeySetReadAllIndicesResponseCallback { - void onSuccess(ArrayList groupKeySetIDs); - - void onError(Exception error); + public void readStateAttribute( + LongAttributeCallback callback + ) { + readStateAttribute(chipClusterPtr, callback); } - - public interface GroupKeyMapAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeStateAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GroupTableAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readGroupKeyMapAttribute(GroupKeyMapAttributeCallback callback) { - readGroupKeyMapAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeGroupKeyMapAttribute( - DefaultClusterCallback callback, - ArrayList value) { - writeGroupKeyMapAttribute(chipClusterPtr, callback, value, null); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeGroupKeyMapAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { - writeGroupKeyMapAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGroupKeyMapAttribute( - GroupKeyMapAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGroupKeyMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readGroupTableAttribute(GroupTableAttributeCallback callback) { - readGroupTableAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGroupTableAttribute( - GroupTableAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGroupTableAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readMaxGroupsPerFabricAttribute(IntegerAttributeCallback callback) { - readMaxGroupsPerFabricAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxGroupsPerFabricAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxGroupsPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMaskAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeMaskAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMaskAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLatchAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeLatchAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStateAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeStateAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readMaxGroupKeysPerFabricAttribute(IntegerAttributeCallback callback) { - readMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback); + public static class AirQualityCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 91L; + + public AirQualityCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeMaxGroupKeysPerFabricAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxGroupKeysPerFabricAttribute(chipClusterPtr, callback, minInterval, maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readAirQualityAttribute( + IntegerAttributeCallback callback + ) { + readAirQualityAttribute(chipClusterPtr, callback); + } + public void subscribeAirQualityAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAirQualityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGroupKeyMapAttribute( - long chipClusterPtr, GroupKeyMapAttributeCallback callback); - - private native void writeGroupKeyMapAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeGroupKeyMapAttribute( - long chipClusterPtr, - GroupKeyMapAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGroupTableAttribute( - long chipClusterPtr, GroupTableAttributeCallback callback); - - private native void subscribeGroupTableAttribute( - long chipClusterPtr, - GroupTableAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxGroupsPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMaxGroupsPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMaxGroupKeysPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMaxGroupKeysPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readAirQualityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAirQualityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class FixedLabelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 64L; + public static class SmokeCoAlarmCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 92L; - public FixedLabelCluster(long devicePtr, int endpointId) { + public SmokeCoAlarmCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface LabelListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void selfTestRequest(DefaultClusterCallback callback + ) { + selfTestRequest(chipClusterPtr, callback, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void selfTestRequest(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + selfTestRequest(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void selfTestRequest(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - void onError(Exception ex); + public void readExpressedStateAttribute( + IntegerAttributeCallback callback + ) { + readExpressedStateAttribute(chipClusterPtr, callback); + } + public void subscribeExpressedStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeExpressedStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readSmokeStateAttribute( + IntegerAttributeCallback callback + ) { + readSmokeStateAttribute(chipClusterPtr, callback); + } + public void subscribeSmokeStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSmokeStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readCOStateAttribute( + IntegerAttributeCallback callback + ) { + readCOStateAttribute(chipClusterPtr, callback); + } + public void subscribeCOStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCOStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readBatteryAlertAttribute( + IntegerAttributeCallback callback + ) { + readBatteryAlertAttribute(chipClusterPtr, callback); + } + public void subscribeBatteryAlertAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBatteryAlertAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDeviceMutedAttribute( + IntegerAttributeCallback callback + ) { + readDeviceMutedAttribute(chipClusterPtr, callback); + } + public void subscribeDeviceMutedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDeviceMutedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void readTestInProgressAttribute( + BooleanAttributeCallback callback + ) { + readTestInProgressAttribute(chipClusterPtr, callback); + } + public void subscribeTestInProgressAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTestInProgressAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readHardwareFaultAlertAttribute( + BooleanAttributeCallback callback + ) { + readHardwareFaultAlertAttribute(chipClusterPtr, callback); + } + public void subscribeHardwareFaultAlertAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHardwareFaultAlertAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEndOfServiceAlertAttribute( + IntegerAttributeCallback callback + ) { + readEndOfServiceAlertAttribute(chipClusterPtr, callback); + } + public void subscribeEndOfServiceAlertAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEndOfServiceAlertAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + public void readInterconnectSmokeAlarmAttribute( + IntegerAttributeCallback callback + ) { + readInterconnectSmokeAlarmAttribute(chipClusterPtr, callback); + } + public void subscribeInterconnectSmokeAlarmAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInterconnectSmokeAlarmAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readInterconnectCOAlarmAttribute( + IntegerAttributeCallback callback + ) { + readInterconnectCOAlarmAttribute(chipClusterPtr, callback); + } + public void subscribeInterconnectCOAlarmAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInterconnectCOAlarmAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readContaminationStateAttribute( + IntegerAttributeCallback callback + ) { + readContaminationStateAttribute(chipClusterPtr, callback); + } + public void subscribeContaminationStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeContaminationStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLabelListAttribute(LabelListAttributeCallback callback) { - readLabelListAttribute(chipClusterPtr, callback); + public void readSensitivityLevelAttribute( + IntegerAttributeCallback callback + ) { + readSensitivityLevelAttribute(chipClusterPtr, callback); + } + public void writeSensitivityLevelAttribute(DefaultClusterCallback callback, Integer value) { + writeSensitivityLevelAttribute(chipClusterPtr, callback, value, null); } - public void subscribeLabelListAttribute( - LabelListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeSensitivityLevelAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSensitivityLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeSensitivityLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSensitivityLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readLabelListAttribute( - long chipClusterPtr, LabelListAttributeCallback callback); - - private native void subscribeLabelListAttribute( - long chipClusterPtr, LabelListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readExpressedStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeExpressedStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSmokeStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSmokeStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCOStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCOStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBatteryAlertAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBatteryAlertAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDeviceMutedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDeviceMutedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTestInProgressAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeTestInProgressAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readHardwareFaultAlertAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeHardwareFaultAlertAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEndOfServiceAlertAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeEndOfServiceAlertAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInterconnectSmokeAlarmAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInterconnectSmokeAlarmAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInterconnectCOAlarmAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInterconnectCOAlarmAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readContaminationStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeContaminationStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSensitivityLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeSensitivityLevelAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeSensitivityLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class UserLabelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 65L; + public static class OperationalStateCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 96L; - public UserLabelCluster(long devicePtr, int endpointId) { + public OperationalStateCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface LabelListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface PhaseListAttributeCallback { + void onSuccess(@Nullable List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CurrentPhaseAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CountdownTimeAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OperationalStateListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPhaseListAttribute( + PhaseListAttributeCallback callback + ) { + readPhaseListAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePhaseListAttribute( + PhaseListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePhaseListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCurrentPhaseAttribute( + CurrentPhaseAttributeCallback callback + ) { + readCurrentPhaseAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeCurrentPhaseAttribute( + CurrentPhaseAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPhaseAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLabelListAttribute(LabelListAttributeCallback callback) { - readLabelListAttribute(chipClusterPtr, callback); + public void readCountdownTimeAttribute( + CountdownTimeAttributeCallback callback + ) { + readCountdownTimeAttribute(chipClusterPtr, callback); } - - public void writeLabelListAttribute( - DefaultClusterCallback callback, ArrayList value) { - writeLabelListAttribute(chipClusterPtr, callback, value, null); + public void subscribeCountdownTimeAttribute( + CountdownTimeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCountdownTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLabelListAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { - writeLabelListAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readOperationalStateListAttribute( + OperationalStateListAttributeCallback callback + ) { + readOperationalStateListAttribute(chipClusterPtr, callback); } - - public void subscribeLabelListAttribute( - LabelListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLabelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeOperationalStateListAttribute( + OperationalStateListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOperationalStateListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readLabelListAttribute( - long chipClusterPtr, LabelListAttributeCallback callback); - - private native void writeLabelListAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLabelListAttribute( - long chipClusterPtr, LabelListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readPhaseListAttribute(long chipClusterPtr, + PhaseListAttributeCallback callback + ); + private native void subscribePhaseListAttribute(long chipClusterPtr, + PhaseListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentPhaseAttribute(long chipClusterPtr, + CurrentPhaseAttributeCallback callback + ); + private native void subscribeCurrentPhaseAttribute(long chipClusterPtr, + CurrentPhaseAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCountdownTimeAttribute(long chipClusterPtr, + CountdownTimeAttributeCallback callback + ); + private native void subscribeCountdownTimeAttribute(long chipClusterPtr, + CountdownTimeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOperationalStateListAttribute(long chipClusterPtr, + OperationalStateListAttributeCallback callback + ); + private native void subscribeOperationalStateListAttribute(long chipClusterPtr, + OperationalStateListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ProxyConfigurationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 66L; + public static class HepaFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 113L; - public ProxyConfigurationCluster(long devicePtr, int endpointId) { + public HepaFilterMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ProxyDiscoveryCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 67L; + public static class ActivatedCarbonFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 114L; - public ProxyDiscoveryCluster(long devicePtr, int endpointId) { + public ActivatedCarbonFilterMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ProxyValidCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 68L; + public static class CeramicFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 115L; - public ProxyValidCluster(long devicePtr, int endpointId) { + public CeramicFilterMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class BooleanStateCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 69L; + public static class ElectrostaticFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 116L; - public BooleanStateCluster(long devicePtr, int endpointId) { + public ElectrostaticFilterMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStateValueAttribute(BooleanAttributeCallback callback) { - readStateValueAttribute(chipClusterPtr, callback); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeStateValueAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStateValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readStateValueAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeStateValueAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class IcdManagementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 70L; + public static class UvFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 117L; - public IcdManagementCluster(long devicePtr, int endpointId) { + public UvFilterMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void registerClient( - RegisterClientResponseCallback callback, - Long checkInNodeID, - Long monitoredSubject, - byte[] key, - Optional verificationKey) { - registerClient( - chipClusterPtr, callback, checkInNodeID, monitoredSubject, key, verificationKey, null); - } - - public void registerClient( - RegisterClientResponseCallback callback, - Long checkInNodeID, - Long monitoredSubject, - byte[] key, - Optional verificationKey, - int timedInvokeTimeoutMs) { - registerClient( - chipClusterPtr, - callback, - checkInNodeID, - monitoredSubject, - key, - verificationKey, - timedInvokeTimeoutMs); - } - - public void unregisterClient( - DefaultClusterCallback callback, Long checkInNodeID, Optional key) { - unregisterClient(chipClusterPtr, callback, checkInNodeID, key, null); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void unregisterClient( - DefaultClusterCallback callback, - Long checkInNodeID, - Optional key, - int timedInvokeTimeoutMs) { - unregisterClient(chipClusterPtr, callback, checkInNodeID, key, timedInvokeTimeoutMs); + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public void stayActiveRequest(DefaultClusterCallback callback) { - stayActiveRequest(chipClusterPtr, callback, null); + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void stayActiveRequest(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - stayActiveRequest(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); } - - private native void registerClient( - long chipClusterPtr, - RegisterClientResponseCallback Callback, - Long checkInNodeID, - Long monitoredSubject, - byte[] key, - Optional verificationKey, - @Nullable Integer timedInvokeTimeoutMs); - - private native void unregisterClient( - long chipClusterPtr, - DefaultClusterCallback Callback, - Long checkInNodeID, - Optional key, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stayActiveRequest( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface RegisterClientResponseCallback { - void onSuccess(Long ICDCounter); - - void onError(Exception error); + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface RegisteredClientsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readIdleModeIntervalAttribute(LongAttributeCallback callback) { - readIdleModeIntervalAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeIdleModeIntervalAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeIdleModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readActiveModeIntervalAttribute(LongAttributeCallback callback) { - readActiveModeIntervalAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeActiveModeIntervalAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActiveModeIntervalAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readActiveModeThresholdAttribute(IntegerAttributeCallback callback) { - readActiveModeThresholdAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeActiveModeThresholdAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActiveModeThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRegisteredClientsAttribute(RegisteredClientsAttributeCallback callback) { - readRegisteredClientsAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRegisteredClientsAttribute( - RegisteredClientsAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRegisteredClientsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readICDCounterAttribute(LongAttributeCallback callback) { - readICDCounterAttribute(chipClusterPtr, callback); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } + + public static class IonizingFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 118L; + + public IonizingFilterMonitoringCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeICDCounterAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeICDCounterAttribute(chipClusterPtr, callback, minInterval, maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); + } + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClientsSupportedPerFabricAttribute(IntegerAttributeCallback callback) { - readClientsSupportedPerFabricAttribute(chipClusterPtr, callback); + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClientsSupportedPerFabricAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClientsSupportedPerFabricAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readIdleModeIntervalAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeIdleModeIntervalAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveModeIntervalAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeActiveModeIntervalAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveModeThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActiveModeThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRegisteredClientsAttribute( - long chipClusterPtr, RegisteredClientsAttributeCallback callback); - - private native void subscribeRegisteredClientsAttribute( - long chipClusterPtr, - RegisteredClientsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readICDCounterAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeICDCounterAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClientsSupportedPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClientsSupportedPerFabricAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ModeSelectCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 80L; + public static class ZeoliteFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 119L; - public ModeSelectCluster(long devicePtr, int endpointId) { + public ZeoliteFilterMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void changeToMode(DefaultClusterCallback callback, Integer newMode) { - changeToMode(chipClusterPtr, callback, newMode, null); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void changeToMode( - DefaultClusterCallback callback, Integer newMode, int timedInvokeTimeoutMs) { - changeToMode(chipClusterPtr, callback, newMode, timedInvokeTimeoutMs); + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - private native void changeToMode( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer newMode, - @Nullable Integer timedInvokeTimeoutMs); - - public interface StandardNamespaceAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface SupportedModesAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); } - - public interface StartUpModeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface OnModeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readDescriptionAttribute(CharStringAttributeCallback callback) { - readDescriptionAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDescriptionAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDescriptionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readStandardNamespaceAttribute(StandardNamespaceAttributeCallback callback) { - readStandardNamespaceAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeStandardNamespaceAttribute( - StandardNamespaceAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStandardNamespaceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readSupportedModesAttribute(SupportedModesAttributeCallback callback) { - readSupportedModesAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSupportedModesAttribute( - SupportedModesAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readCurrentModeAttribute(IntegerAttributeCallback callback) { - readCurrentModeAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readStartUpModeAttribute(StartUpModeAttributeCallback callback) { - readStartUpModeAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeStartUpModeAttribute(DefaultClusterCallback callback, Integer value) { - writeStartUpModeAttribute(chipClusterPtr, callback, value, null); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeStartUpModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeStartUpModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeStartUpModeAttribute( - StartUpModeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStartUpModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } + + public static class OzoneFilterMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 120L; + + public OzoneFilterMonitoringCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readOnModeAttribute(OnModeAttributeCallback callback) { - readOnModeAttribute(chipClusterPtr, callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); + } + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOnModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOnModeAttribute(chipClusterPtr, callback, value, null); + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOnModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOnModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOnModeAttribute( - OnModeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOnModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readDescriptionAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeDescriptionAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readStandardNamespaceAttribute( - long chipClusterPtr, StandardNamespaceAttributeCallback callback); - - private native void subscribeStandardNamespaceAttribute( - long chipClusterPtr, - StandardNamespaceAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSupportedModesAttribute( - long chipClusterPtr, SupportedModesAttributeCallback callback); - - private native void subscribeSupportedModesAttribute( - long chipClusterPtr, - SupportedModesAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCurrentModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - 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); - - private native void subscribeOnModeAttribute( - long chipClusterPtr, OnModeAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class TemperatureControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 86L; + public static class WaterTankMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 121L; - public TemperatureControlCluster(long devicePtr, int endpointId) { + public WaterTankMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface SupportedTemperatureLevelsAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTemperatureSetpointAttribute(IntegerAttributeCallback callback) { - readTemperatureSetpointAttribute(chipClusterPtr, callback); + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTemperatureSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTemperatureSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinTemperatureAttribute(IntegerAttributeCallback callback) { - readMinTemperatureAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinTemperatureAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxTemperatureAttribute(IntegerAttributeCallback callback) { - readMaxTemperatureAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxTemperatureAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStepAttribute(IntegerAttributeCallback callback) { - readStepAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeStepAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStepAttribute(chipClusterPtr, callback, minInterval, maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } + + public static class FuelTankMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 122L; + + public FuelTankMonitoringCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readCurrentTemperatureLevelIndexAttribute(IntegerAttributeCallback callback) { - readCurrentTemperatureLevelIndexAttribute(chipClusterPtr, callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); + } + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentTemperatureLevelIndexAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentTemperatureLevelIndexAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSupportedTemperatureLevelsAttribute( - SupportedTemperatureLevelsAttributeCallback callback) { - readSupportedTemperatureLevelsAttribute(chipClusterPtr, callback); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSupportedTemperatureLevelsAttribute( - SupportedTemperatureLevelsAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedTemperatureLevelsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readTemperatureSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeTemperatureSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMinTemperatureAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMinTemperatureAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMaxTemperatureAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMaxTemperatureAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readStepAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeStepAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentTemperatureLevelIndexAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentTemperatureLevelIndexAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSupportedTemperatureLevelsAttribute( - long chipClusterPtr, SupportedTemperatureLevelsAttributeCallback callback); - - private native void subscribeSupportedTemperatureLevelsAttribute( - long chipClusterPtr, - SupportedTemperatureLevelsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class RefrigeratorAlarmCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 87L; + public static class InkCartridgeMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 123L; - public RefrigeratorAlarmCluster(long devicePtr, int endpointId) { + public InkCartridgeMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void reset(DefaultClusterCallback callback, Long alarms, Optional mask) { - reset(chipClusterPtr, callback, alarms, mask, null); - } - - public void reset( - DefaultClusterCallback callback, - Long alarms, - Optional mask, - int timedInvokeTimeoutMs) { - reset(chipClusterPtr, callback, alarms, mask, timedInvokeTimeoutMs); - } - - private native void reset( - long chipClusterPtr, - DefaultClusterCallback Callback, - Long alarms, - Optional mask, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMaskAttribute(LongAttributeCallback callback) { - readMaskAttribute(chipClusterPtr, callback); + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public void writeMaskAttribute(DefaultClusterCallback callback, Long value) { - writeMaskAttribute(chipClusterPtr, callback, value, null); + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMaskAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); } - - public void subscribeMaskAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLatchAttribute(LongAttributeCallback callback) { - readLatchAttribute(chipClusterPtr, callback); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); } - - public void subscribeLatchAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLatchAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStateAttribute(LongAttributeCallback callback) { - readStateAttribute(chipClusterPtr, callback); + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); } - - public void subscribeStateAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMaskAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeMaskAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeMaskAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLatchAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeLatchAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readStateAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeStateAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class AirQualityCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 91L; + public static class TonerCartridgeMonitoringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 124L; - public AirQualityCluster(long devicePtr, int endpointId) { + public TonerCartridgeMonitoringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readConditionAttribute( + IntegerAttributeCallback callback + ) { + readConditionAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConditionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDegradationDirectionAttribute( + IntegerAttributeCallback callback + ) { + readDegradationDirectionAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDegradationDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAirQualityAttribute(IntegerAttributeCallback callback) { - readAirQualityAttribute(chipClusterPtr, callback); + public void readChangeIndicationAttribute( + IntegerAttributeCallback callback + ) { + readChangeIndicationAttribute(chipClusterPtr, callback); + } + public void subscribeChangeIndicationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAirQualityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAirQualityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readInPlaceIndicatorAttribute( + BooleanAttributeCallback callback + ) { + readInPlaceIndicatorAttribute(chipClusterPtr, callback); + } + public void subscribeInPlaceIndicatorAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readAirQualityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAirQualityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConditionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDegradationDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeChangeIndicationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeInPlaceIndicatorAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public static class DoorLockCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 257L; - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public DoorLockCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void lockDoor(DefaultClusterCallback callback + , Optional PINCode + , int timedInvokeTimeoutMs) { + lockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void unlockDoor(DefaultClusterCallback callback + , Optional PINCode + , int timedInvokeTimeoutMs) { + unlockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class SmokeCoAlarmCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 92L; - - public SmokeCoAlarmCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void unlockWithTimeout(DefaultClusterCallback callback + , Integer timeout, Optional PINCode + , int timedInvokeTimeoutMs) { + unlockWithTimeout(chipClusterPtr, callback, timeout, PINCode, timedInvokeTimeoutMs); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void selfTestRequest(DefaultClusterCallback callback) { - selfTestRequest(chipClusterPtr, callback, null); + public void setWeekDaySchedule(DefaultClusterCallback callback + , Integer weekDayIndex, Integer userIndex, Integer daysMask, Integer startHour, Integer startMinute, Integer endHour, Integer endMinute) { + setWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, daysMask, startHour, startMinute, endHour, endMinute, null); } - public void selfTestRequest(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - selfTestRequest(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void setWeekDaySchedule(DefaultClusterCallback callback + , Integer weekDayIndex, Integer userIndex, Integer daysMask, Integer startHour, Integer startMinute, Integer endHour, Integer endMinute + , int timedInvokeTimeoutMs) { + setWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, daysMask, startHour, startMinute, endHour, endMinute, timedInvokeTimeoutMs); } - private native void selfTestRequest( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void getWeekDaySchedule(GetWeekDayScheduleResponseCallback callback + , Integer weekDayIndex, Integer userIndex) { + getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void getWeekDaySchedule(GetWeekDayScheduleResponseCallback callback + , Integer weekDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void clearWeekDaySchedule(DefaultClusterCallback callback + , Integer weekDayIndex, Integer userIndex) { + clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void clearWeekDaySchedule(DefaultClusterCallback callback + , Integer weekDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); } - public void readExpressedStateAttribute(IntegerAttributeCallback callback) { - readExpressedStateAttribute(chipClusterPtr, callback); + public void setYearDaySchedule(DefaultClusterCallback callback + , Integer yearDayIndex, Integer userIndex, Long localStartTime, Long localEndTime) { + setYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, localStartTime, localEndTime, null); } - public void subscribeExpressedStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeExpressedStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setYearDaySchedule(DefaultClusterCallback callback + , Integer yearDayIndex, Integer userIndex, Long localStartTime, Long localEndTime + , int timedInvokeTimeoutMs) { + setYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, localStartTime, localEndTime, timedInvokeTimeoutMs); } - public void readSmokeStateAttribute(IntegerAttributeCallback callback) { - readSmokeStateAttribute(chipClusterPtr, callback); + public void getYearDaySchedule(GetYearDayScheduleResponseCallback callback + , Integer yearDayIndex, Integer userIndex) { + getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); } - public void subscribeSmokeStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSmokeStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void getYearDaySchedule(GetYearDayScheduleResponseCallback callback + , Integer yearDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); } - public void readCOStateAttribute(IntegerAttributeCallback callback) { - readCOStateAttribute(chipClusterPtr, callback); + public void clearYearDaySchedule(DefaultClusterCallback callback + , Integer yearDayIndex, Integer userIndex) { + clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); } - public void subscribeCOStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCOStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void clearYearDaySchedule(DefaultClusterCallback callback + , Integer yearDayIndex, Integer userIndex + , int timedInvokeTimeoutMs) { + clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); } - public void readBatteryAlertAttribute(IntegerAttributeCallback callback) { - readBatteryAlertAttribute(chipClusterPtr, callback); + public void setHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex, Long localStartTime, Long localEndTime, Integer operatingMode) { + setHolidaySchedule(chipClusterPtr, callback, holidayIndex, localStartTime, localEndTime, operatingMode, null); } - public void subscribeBatteryAlertAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBatteryAlertAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex, Long localStartTime, Long localEndTime, Integer operatingMode + , int timedInvokeTimeoutMs) { + setHolidaySchedule(chipClusterPtr, callback, holidayIndex, localStartTime, localEndTime, operatingMode, timedInvokeTimeoutMs); } - public void readDeviceMutedAttribute(IntegerAttributeCallback callback) { - readDeviceMutedAttribute(chipClusterPtr, callback); + public void getHolidaySchedule(GetHolidayScheduleResponseCallback callback + , Integer holidayIndex) { + getHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); } - public void subscribeDeviceMutedAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDeviceMutedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void getHolidaySchedule(GetHolidayScheduleResponseCallback callback + , Integer holidayIndex + , int timedInvokeTimeoutMs) { + getHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); } - public void readTestInProgressAttribute(BooleanAttributeCallback callback) { - readTestInProgressAttribute(chipClusterPtr, callback); + public void clearHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex) { + clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); } - public void subscribeTestInProgressAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTestInProgressAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void clearHolidaySchedule(DefaultClusterCallback callback + , Integer holidayIndex + , int timedInvokeTimeoutMs) { + clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); } - public void readHardwareFaultAlertAttribute(BooleanAttributeCallback callback) { - readHardwareFaultAlertAttribute(chipClusterPtr, callback); - } - public void subscribeHardwareFaultAlertAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHardwareFaultAlertAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setUser(DefaultClusterCallback callback + , Integer operationType, Integer userIndex, @Nullable String userName, @Nullable Long userUniqueID, @Nullable Integer userStatus, @Nullable Integer userType, @Nullable Integer credentialRule + , int timedInvokeTimeoutMs) { + setUser(chipClusterPtr, callback, operationType, userIndex, userName, userUniqueID, userStatus, userType, credentialRule, timedInvokeTimeoutMs); } - public void readEndOfServiceAlertAttribute(IntegerAttributeCallback callback) { - readEndOfServiceAlertAttribute(chipClusterPtr, callback); + public void getUser(GetUserResponseCallback callback + , Integer userIndex) { + getUser(chipClusterPtr, callback, userIndex, null); } - public void subscribeEndOfServiceAlertAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEndOfServiceAlertAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void getUser(GetUserResponseCallback callback + , Integer userIndex + , int timedInvokeTimeoutMs) { + getUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); } - public void readInterconnectSmokeAlarmAttribute(IntegerAttributeCallback callback) { - readInterconnectSmokeAlarmAttribute(chipClusterPtr, callback); - } - public void subscribeInterconnectSmokeAlarmAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInterconnectSmokeAlarmAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void clearUser(DefaultClusterCallback callback + , Integer userIndex + , int timedInvokeTimeoutMs) { + clearUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); } - public void readInterconnectCOAlarmAttribute(IntegerAttributeCallback callback) { - readInterconnectCOAlarmAttribute(chipClusterPtr, callback); - } - public void subscribeInterconnectCOAlarmAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInterconnectCOAlarmAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void setCredential(SetCredentialResponseCallback callback + , Integer operationType, ChipStructs.DoorLockClusterCredentialStruct credential, byte[] credentialData, @Nullable Integer userIndex, @Nullable Integer userStatus, @Nullable Integer userType + , int timedInvokeTimeoutMs) { + setCredential(chipClusterPtr, callback, operationType, credential, credentialData, userIndex, userStatus, userType, timedInvokeTimeoutMs); } - public void readContaminationStateAttribute(IntegerAttributeCallback callback) { - readContaminationStateAttribute(chipClusterPtr, callback); + public void getCredentialStatus(GetCredentialStatusResponseCallback callback + , ChipStructs.DoorLockClusterCredentialStruct credential) { + getCredentialStatus(chipClusterPtr, callback, credential, null); } - public void subscribeContaminationStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeContaminationStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void getCredentialStatus(GetCredentialStatusResponseCallback callback + , ChipStructs.DoorLockClusterCredentialStruct credential + , int timedInvokeTimeoutMs) { + getCredentialStatus(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); } - public void readSensitivityLevelAttribute(IntegerAttributeCallback callback) { - readSensitivityLevelAttribute(chipClusterPtr, callback); - } - public void writeSensitivityLevelAttribute(DefaultClusterCallback callback, Integer value) { - writeSensitivityLevelAttribute(chipClusterPtr, callback, value, null); + public void clearCredential(DefaultClusterCallback callback + , @Nullable ChipStructs.DoorLockClusterCredentialStruct credential + , int timedInvokeTimeoutMs) { + clearCredential(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); } - - public void writeSensitivityLevelAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSensitivityLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + private native void lockDoor(long chipClusterPtr, DefaultClusterCallback Callback + , Optional PINCode + , @Nullable Integer timedInvokeTimeoutMs); + private native void unlockDoor(long chipClusterPtr, DefaultClusterCallback Callback + , Optional PINCode + , @Nullable Integer timedInvokeTimeoutMs); + private native void unlockWithTimeout(long chipClusterPtr, DefaultClusterCallback Callback + , Integer timeout, Optional PINCode + , @Nullable Integer timedInvokeTimeoutMs); + private native void setWeekDaySchedule(long chipClusterPtr, DefaultClusterCallback Callback + , Integer weekDayIndex, Integer userIndex, Integer daysMask, Integer startHour, Integer startMinute, Integer endHour, Integer endMinute + , @Nullable Integer timedInvokeTimeoutMs); + private native void getWeekDaySchedule(long chipClusterPtr, GetWeekDayScheduleResponseCallback Callback + , Integer weekDayIndex, Integer userIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void clearWeekDaySchedule(long chipClusterPtr, DefaultClusterCallback Callback + , Integer weekDayIndex, Integer userIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void setYearDaySchedule(long chipClusterPtr, DefaultClusterCallback Callback + , Integer yearDayIndex, Integer userIndex, Long localStartTime, Long localEndTime + , @Nullable Integer timedInvokeTimeoutMs); + private native void getYearDaySchedule(long chipClusterPtr, GetYearDayScheduleResponseCallback Callback + , Integer yearDayIndex, Integer userIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void clearYearDaySchedule(long chipClusterPtr, DefaultClusterCallback Callback + , Integer yearDayIndex, Integer userIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void setHolidaySchedule(long chipClusterPtr, DefaultClusterCallback Callback + , Integer holidayIndex, Long localStartTime, Long localEndTime, Integer operatingMode + , @Nullable Integer timedInvokeTimeoutMs); + private native void getHolidaySchedule(long chipClusterPtr, GetHolidayScheduleResponseCallback Callback + , Integer holidayIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void clearHolidaySchedule(long chipClusterPtr, DefaultClusterCallback Callback + , Integer holidayIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void setUser(long chipClusterPtr, DefaultClusterCallback Callback + , Integer operationType, Integer userIndex, @Nullable String userName, @Nullable Long userUniqueID, @Nullable Integer userStatus, @Nullable Integer userType, @Nullable Integer credentialRule + , @Nullable Integer timedInvokeTimeoutMs); + private native void getUser(long chipClusterPtr, GetUserResponseCallback Callback + , Integer userIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void clearUser(long chipClusterPtr, DefaultClusterCallback Callback + , Integer userIndex + , @Nullable Integer timedInvokeTimeoutMs); + private native void setCredential(long chipClusterPtr, SetCredentialResponseCallback Callback + , Integer operationType, ChipStructs.DoorLockClusterCredentialStruct credential, byte[] credentialData, @Nullable Integer userIndex, @Nullable Integer userStatus, @Nullable Integer userType + , @Nullable Integer timedInvokeTimeoutMs); + private native void getCredentialStatus(long chipClusterPtr, GetCredentialStatusResponseCallback Callback + , ChipStructs.DoorLockClusterCredentialStruct credential + , @Nullable Integer timedInvokeTimeoutMs); + private native void clearCredential(long chipClusterPtr, DefaultClusterCallback Callback + , @Nullable ChipStructs.DoorLockClusterCredentialStruct credential + , @Nullable Integer timedInvokeTimeoutMs); + public interface GetWeekDayScheduleResponseCallback { + void onSuccess(Integer weekDayIndex, Integer userIndex, Integer status, Optional daysMask, Optional startHour, Optional startMinute, Optional endHour, Optional endMinute); + + void onError(Exception error); } - public void subscribeSensitivityLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSensitivityLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface GetYearDayScheduleResponseCallback { + void onSuccess(Integer yearDayIndex, Integer userIndex, Integer status, Optional localStartTime, Optional localEndTime); + + void onError(Exception error); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public interface GetHolidayScheduleResponseCallback { + void onSuccess(Integer holidayIndex, Integer status, Optional localStartTime, Optional localEndTime, Optional operatingMode); + + void onError(Exception error); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface GetUserResponseCallback { + void onSuccess(Integer userIndex, @Nullable String userName, @Nullable Long userUniqueID, @Nullable Integer userStatus, @Nullable Integer userType, @Nullable Integer credentialRule, @Nullable ArrayList credentials, @Nullable Integer creatorFabricIndex, @Nullable Integer lastModifiedFabricIndex, @Nullable Integer nextUserIndex); + + void onError(Exception error); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public interface SetCredentialResponseCallback { + void onSuccess(Integer status, @Nullable Integer userIndex, @Nullable Integer nextCredentialIndex); + + void onError(Exception error); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public interface GetCredentialStatusResponseCallback { + void onSuccess(Boolean credentialExists, @Nullable Integer userIndex, @Nullable Integer creatorFabricIndex, @Nullable Integer lastModifiedFabricIndex, @Nullable Integer nextCredentialIndex); + + void onError(Exception error); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface LockStateAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface DoorStateAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readLockStateAttribute( + LockStateAttributeCallback callback + ) { + readLockStateAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLockStateAttribute( + LockStateAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLockStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readLockTypeAttribute( + IntegerAttributeCallback callback + ) { + readLockTypeAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLockTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLockTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readActuatorEnabledAttribute( + BooleanAttributeCallback callback + ) { + readActuatorEnabledAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActuatorEnabledAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActuatorEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readExpressedStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeExpressedStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSmokeStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSmokeStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCOStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCOStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBatteryAlertAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBatteryAlertAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDeviceMutedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDeviceMutedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTestInProgressAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeTestInProgressAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readHardwareFaultAlertAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeHardwareFaultAlertAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEndOfServiceAlertAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeEndOfServiceAlertAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInterconnectSmokeAlarmAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInterconnectSmokeAlarmAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInterconnectCOAlarmAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInterconnectCOAlarmAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readContaminationStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeContaminationStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSensitivityLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeSensitivityLevelAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeSensitivityLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class OperationalStateCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 96L; - - public OperationalStateCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readDoorStateAttribute( + DoorStateAttributeCallback callback + ) { + readDoorStateAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface PhaseListAttributeCallback { - void onSuccess(@Nullable List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDoorStateAttribute( + DoorStateAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeDoorStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface CurrentPhaseAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDoorOpenEventsAttribute( + LongAttributeCallback callback + ) { + readDoorOpenEventsAttribute(chipClusterPtr, callback); } - - public interface CountdownTimeAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public interface OperationalStateListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDoorOpenEventsAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDoorOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDoorClosedEventsAttribute( + LongAttributeCallback callback + ) { + readDoorClosedEventsAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readPhaseListAttribute(PhaseListAttributeCallback callback) { - readPhaseListAttribute(chipClusterPtr, callback); + public void subscribeDoorClosedEventsAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDoorClosedEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhaseListAttribute( - PhaseListAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhaseListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOpenPeriodAttribute( + IntegerAttributeCallback callback + ) { + readOpenPeriodAttribute(chipClusterPtr, callback); } - - public void readCurrentPhaseAttribute(CurrentPhaseAttributeCallback callback) { - readCurrentPhaseAttribute(chipClusterPtr, callback); + public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, null); } - public void subscribeCurrentPhaseAttribute( - CurrentPhaseAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPhaseAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readCountdownTimeAttribute(CountdownTimeAttributeCallback callback) { - readCountdownTimeAttribute(chipClusterPtr, callback); + public void subscribeOpenPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCountdownTimeAttribute( - CountdownTimeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCountdownTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfTotalUsersSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback); } - - public void readOperationalStateListAttribute(OperationalStateListAttributeCallback callback) { - readOperationalStateListAttribute(chipClusterPtr, callback); + public void subscribeNumberOfTotalUsersSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOperationalStateListAttribute( - OperationalStateListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOperationalStateListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfPINUsersSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeNumberOfPINUsersSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfRFIDUsersSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback); } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeNumberOfRFIDUsersSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readNumberOfYearDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readNumberOfHolidaySchedulesSupportedAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNumberOfHolidaySchedulesSupportedAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readMaxPINCodeLengthAttribute( + IntegerAttributeCallback callback + ) { + readMaxPINCodeLengthAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxPINCodeLengthAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readPhaseListAttribute( - long chipClusterPtr, PhaseListAttributeCallback callback); - - private native void subscribePhaseListAttribute( - long chipClusterPtr, PhaseListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentPhaseAttribute( - long chipClusterPtr, CurrentPhaseAttributeCallback callback); - - private native void subscribeCurrentPhaseAttribute( - long chipClusterPtr, - CurrentPhaseAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCountdownTimeAttribute( - long chipClusterPtr, CountdownTimeAttributeCallback callback); - - private native void subscribeCountdownTimeAttribute( - long chipClusterPtr, - CountdownTimeAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOperationalStateListAttribute( - long chipClusterPtr, OperationalStateListAttributeCallback callback); + public void readMinPINCodeLengthAttribute( + IntegerAttributeCallback callback + ) { + readMinPINCodeLengthAttribute(chipClusterPtr, callback); + } + public void subscribeMinPINCodeLengthAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeOperationalStateListAttribute( - long chipClusterPtr, - OperationalStateListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readMaxRFIDCodeLengthAttribute( + IntegerAttributeCallback callback + ) { + readMaxRFIDCodeLengthAttribute(chipClusterPtr, callback); + } + public void subscribeMaxRFIDCodeLengthAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public void readMinRFIDCodeLengthAttribute( + IntegerAttributeCallback callback + ) { + readMinRFIDCodeLengthAttribute(chipClusterPtr, callback); + } + public void subscribeMinRFIDCodeLengthAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readCredentialRulesSupportAttribute( + IntegerAttributeCallback callback + ) { + readCredentialRulesSupportAttribute(chipClusterPtr, callback); + } + public void subscribeCredentialRulesSupportAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCredentialRulesSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void readNumberOfCredentialsSupportedPerUserAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfCredentialsSupportedPerUserAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfCredentialsSupportedPerUserAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfCredentialsSupportedPerUserAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readLanguageAttribute( + CharStringAttributeCallback callback + ) { + readLanguageAttribute(chipClusterPtr, callback); + } + public void writeLanguageAttribute(DefaultClusterCallback callback, String value) { + writeLanguageAttribute(chipClusterPtr, callback, value, null); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void writeLanguageAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLanguageAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeLanguageAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLanguageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readLEDSettingsAttribute( + IntegerAttributeCallback callback + ) { + readLEDSettingsAttribute(chipClusterPtr, callback); + } + public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value) { + writeLEDSettingsAttribute(chipClusterPtr, callback, value, null); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLEDSettingsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeLEDSettingsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLEDSettingsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readAutoRelockTimeAttribute( + LongAttributeCallback callback + ) { + readAutoRelockTimeAttribute(chipClusterPtr, callback); + } + public void writeAutoRelockTimeAttribute(DefaultClusterCallback callback, Long value) { + writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, null); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void writeAutoRelockTimeAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeAutoRelockTimeAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAutoRelockTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readSoundVolumeAttribute( + IntegerAttributeCallback callback + ) { + readSoundVolumeAttribute(chipClusterPtr, callback); + } + public void writeSoundVolumeAttribute(DefaultClusterCallback callback, Integer value) { + writeSoundVolumeAttribute(chipClusterPtr, callback, value, null); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void writeSoundVolumeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSoundVolumeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeSoundVolumeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSoundVolumeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } + public void readOperatingModeAttribute( + IntegerAttributeCallback callback + ) { + readOperatingModeAttribute(chipClusterPtr, callback); + } + public void writeOperatingModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOperatingModeAttribute(chipClusterPtr, callback, value, null); + } - public static class HepaFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 113L; + public void writeOperatingModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOperatingModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeOperatingModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOperatingModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public HepaFilterMonitoringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readSupportedOperatingModesAttribute( + IntegerAttributeCallback callback + ) { + readSupportedOperatingModesAttribute(chipClusterPtr, callback); + } + public void subscribeSupportedOperatingModesAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportedOperatingModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readDefaultConfigurationRegisterAttribute( + IntegerAttributeCallback callback + ) { + readDefaultConfigurationRegisterAttribute(chipClusterPtr, callback); + } + public void subscribeDefaultConfigurationRegisterAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDefaultConfigurationRegisterAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readEnableLocalProgrammingAttribute( + BooleanAttributeCallback callback + ) { + readEnableLocalProgrammingAttribute(chipClusterPtr, callback); + } + public void writeEnableLocalProgrammingAttribute(DefaultClusterCallback callback, Boolean value) { + writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, null); + } - void onError(Exception ex); + public void writeEnableLocalProgrammingAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeEnableLocalProgrammingAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnableLocalProgrammingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEnableOneTouchLockingAttribute( + BooleanAttributeCallback callback + ) { + readEnableOneTouchLockingAttribute(chipClusterPtr, callback); + } + public void writeEnableOneTouchLockingAttribute(DefaultClusterCallback callback, Boolean value) { + writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void writeEnableOneTouchLockingAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeEnableOneTouchLockingAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnableOneTouchLockingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readEnableInsideStatusLEDAttribute( + BooleanAttributeCallback callback + ) { + readEnableInsideStatusLEDAttribute(chipClusterPtr, callback); + } + public void writeEnableInsideStatusLEDAttribute(DefaultClusterCallback callback, Boolean value) { + writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeEnableInsideStatusLEDAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeEnableInsideStatusLEDAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void readEnablePrivacyModeButtonAttribute( + BooleanAttributeCallback callback + ) { + readEnablePrivacyModeButtonAttribute(chipClusterPtr, callback); + } + public void writeEnablePrivacyModeButtonAttribute(DefaultClusterCallback callback, Boolean value) { + writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, null); + } - void onError(Exception ex); + public void writeEnablePrivacyModeButtonAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeEnablePrivacyModeButtonAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLocalProgrammingFeaturesAttribute( + IntegerAttributeCallback callback + ) { + readLocalProgrammingFeaturesAttribute(chipClusterPtr, callback); + } + public void writeLocalProgrammingFeaturesAttribute(DefaultClusterCallback callback, Integer value) { + writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + public void writeLocalProgrammingFeaturesAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeLocalProgrammingFeaturesAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readWrongCodeEntryLimitAttribute( + IntegerAttributeCallback callback + ) { + readWrongCodeEntryLimitAttribute(chipClusterPtr, callback); + } + public void writeWrongCodeEntryLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeWrongCodeEntryLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeWrongCodeEntryLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void readUserCodeTemporaryDisableTimeAttribute( + IntegerAttributeCallback callback + ) { + readUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback); + } + public void writeUserCodeTemporaryDisableTimeAttribute(DefaultClusterCallback callback, Integer value) { + writeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeUserCodeTemporaryDisableTimeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeUserCodeTemporaryDisableTimeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void readSendPINOverTheAirAttribute( + BooleanAttributeCallback callback + ) { + readSendPINOverTheAirAttribute(chipClusterPtr, callback); + } + public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value) { + writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, null); } - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeSendPINOverTheAirAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSendPINOverTheAirAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void readRequirePINforRemoteOperationAttribute( + BooleanAttributeCallback callback + ) { + readRequirePINforRemoteOperationAttribute(chipClusterPtr, callback); + } + public void writeRequirePINforRemoteOperationAttribute(DefaultClusterCallback callback, Boolean value) { + writeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, value, null); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeRequirePINforRemoteOperationAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + writeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeRequirePINforRemoteOperationAttribute( + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void readExpiringUserTimeoutAttribute( + IntegerAttributeCallback callback + ) { + readExpiringUserTimeoutAttribute(chipClusterPtr, callback); + } + public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value) { + writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, null); } - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeExpiringUserTimeoutAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeExpiringUserTimeoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readLockStateAttribute(long chipClusterPtr, + LockStateAttributeCallback callback + ); + private native void subscribeLockStateAttribute(long chipClusterPtr, + LockStateAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLockTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLockTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActuatorEnabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + private native void subscribeActuatorEnabledAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDoorStateAttribute(long chipClusterPtr, + DoorStateAttributeCallback callback + ); + private native void subscribeDoorStateAttribute(long chipClusterPtr, + DoorStateAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readDoorOpenEventsAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeDoorOpenEventsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeDoorOpenEventsAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDoorClosedEventsAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeDoorClosedEventsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeDoorClosedEventsAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOpenPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOpenPeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOpenPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfTotalUsersSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfTotalUsersSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfPINUsersSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfPINUsersSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfRFIDUsersSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfRFIDUsersSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfWeekDaySchedulesSupportedPerUserAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfYearDaySchedulesSupportedPerUserAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfHolidaySchedulesSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfHolidaySchedulesSupportedAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxPINCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxPINCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinPINCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMinPINCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxRFIDCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMaxRFIDCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinRFIDCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMinRFIDCodeLengthAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCredentialRulesSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCredentialRulesSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfCredentialsSupportedPerUserAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfCredentialsSupportedPerUserAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLanguageAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeLanguageAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLanguageAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLEDSettingsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeLEDSettingsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLEDSettingsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAutoRelockTimeAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeAutoRelockTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeAutoRelockTimeAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSoundVolumeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeSoundVolumeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeSoundVolumeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOperatingModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOperatingModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOperatingModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSupportedOperatingModesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSupportedOperatingModesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDefaultConfigurationRegisterAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDefaultConfigurationRegisterAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEnableLocalProgrammingAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeEnableLocalProgrammingAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEnableLocalProgrammingAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEnableOneTouchLockingAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeEnableOneTouchLockingAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEnableOneTouchLockingAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEnableInsideStatusLEDAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeEnableInsideStatusLEDAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEnableInsideStatusLEDAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEnablePrivacyModeButtonAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeEnablePrivacyModeButtonAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEnablePrivacyModeButtonAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLocalProgrammingFeaturesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeLocalProgrammingFeaturesAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLocalProgrammingFeaturesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWrongCodeEntryLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeWrongCodeEntryLimitAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeWrongCodeEntryLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUserCodeTemporaryDisableTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeUserCodeTemporaryDisableTimeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUserCodeTemporaryDisableTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSendPINOverTheAirAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeSendPINOverTheAirAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeSendPINOverTheAirAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRequirePINforRemoteOperationAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeRequirePINforRemoteOperationAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRequirePINforRemoteOperationAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readExpiringUserTimeoutAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeExpiringUserTimeoutAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeExpiringUserTimeoutAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ActivatedCarbonFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 114L; + public static class WindowCoveringCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 258L; - public ActivatedCarbonFilterMonitoringCluster(long devicePtr, int endpointId) { + public WindowCoveringCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void upOrOpen(DefaultClusterCallback callback + ) { + upOrOpen(chipClusterPtr, callback, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void upOrOpen(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + upOrOpen(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - void onError(Exception ex); + public void downOrClose(DefaultClusterCallback callback + ) { + downOrClose(chipClusterPtr, callback, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void downOrClose(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + downOrClose(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void stopMotion(DefaultClusterCallback callback + ) { + stopMotion(chipClusterPtr, callback, null); + } - void onError(Exception ex); + public void stopMotion(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + stopMotion(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void goToLiftValue(DefaultClusterCallback callback + , Integer liftValue) { + goToLiftValue(chipClusterPtr, callback, liftValue, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void goToLiftValue(DefaultClusterCallback callback + , Integer liftValue + , int timedInvokeTimeoutMs) { + goToLiftValue(chipClusterPtr, callback, liftValue, timedInvokeTimeoutMs); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void goToLiftPercentage(DefaultClusterCallback callback + , Integer liftPercent100thsValue) { + goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, null); } - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void goToLiftPercentage(DefaultClusterCallback callback + , Integer liftPercent100thsValue + , int timedInvokeTimeoutMs) { + goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, timedInvokeTimeoutMs); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void goToTiltValue(DefaultClusterCallback callback + , Integer tiltValue) { + goToTiltValue(chipClusterPtr, callback, tiltValue, null); } - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void goToTiltValue(DefaultClusterCallback callback + , Integer tiltValue + , int timedInvokeTimeoutMs) { + goToTiltValue(chipClusterPtr, callback, tiltValue, timedInvokeTimeoutMs); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void goToTiltPercentage(DefaultClusterCallback callback + , Integer tiltPercent100thsValue) { + goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, null); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void goToTiltPercentage(DefaultClusterCallback callback + , Integer tiltPercent100thsValue + , int timedInvokeTimeoutMs) { + goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, timedInvokeTimeoutMs); } + private native void upOrOpen(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void downOrClose(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void stopMotion(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void goToLiftValue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer liftValue + , @Nullable Integer timedInvokeTimeoutMs); + private native void goToLiftPercentage(long chipClusterPtr, DefaultClusterCallback Callback + , Integer liftPercent100thsValue + , @Nullable Integer timedInvokeTimeoutMs); + private native void goToTiltValue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer tiltValue + , @Nullable Integer timedInvokeTimeoutMs); + private native void goToTiltPercentage(long chipClusterPtr, DefaultClusterCallback Callback + , Integer tiltPercent100thsValue + , @Nullable Integer timedInvokeTimeoutMs); + + public interface CurrentPositionLiftAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CurrentPositionTiltAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CurrentPositionLiftPercentageAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CurrentPositionTiltPercentageAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface TargetPositionLiftPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface TargetPositionTiltPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CurrentPositionLiftPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CurrentPositionTiltPercent100thsAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void readTypeAttribute( + IntegerAttributeCallback callback + ) { + readTypeAttribute(chipClusterPtr, callback); } - - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readPhysicalClosedLimitLiftAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalClosedLimitLiftAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePhysicalClosedLimitLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readPhysicalClosedLimitTiltAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalClosedLimitTiltAttribute(chipClusterPtr, callback); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePhysicalClosedLimitTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readCurrentPositionLiftAttribute( + CurrentPositionLiftAttributeCallback callback + ) { + readCurrentPositionLiftAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCurrentPositionLiftAttribute( + CurrentPositionLiftAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readCurrentPositionTiltAttribute( + CurrentPositionTiltAttributeCallback callback + ) { + readCurrentPositionTiltAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCurrentPositionTiltAttribute( + CurrentPositionTiltAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readNumberOfActuationsLiftAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfActuationsLiftAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNumberOfActuationsLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfActuationsLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readNumberOfActuationsTiltAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfActuationsTiltAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNumberOfActuationsTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfActuationsTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class CeramicFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 115L; - - public CeramicFilterMonitoringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readConfigStatusAttribute( + IntegerAttributeCallback callback + ) { + readConfigStatusAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeConfigStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeConfigStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCurrentPositionLiftPercentageAttribute( + CurrentPositionLiftPercentageAttributeCallback callback + ) { + readCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionLiftPercentageAttribute( + CurrentPositionLiftPercentageAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void readCurrentPositionTiltPercentageAttribute( + CurrentPositionTiltPercentageAttributeCallback callback + ) { + readCurrentPositionTiltPercentageAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionTiltPercentageAttribute( + CurrentPositionTiltPercentageAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionTiltPercentageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readOperationalStatusAttribute( + IntegerAttributeCallback callback + ) { + readOperationalStatusAttribute(chipClusterPtr, callback); + } + public void subscribeOperationalStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOperationalStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readTargetPositionLiftPercent100thsAttribute( + TargetPositionLiftPercent100thsAttributeCallback callback + ) { + readTargetPositionLiftPercent100thsAttribute(chipClusterPtr, callback); + } + public void subscribeTargetPositionLiftPercent100thsAttribute( + TargetPositionLiftPercent100thsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTargetPositionLiftPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + public void readTargetPositionTiltPercent100thsAttribute( + TargetPositionTiltPercent100thsAttributeCallback callback + ) { + readTargetPositionTiltPercent100thsAttribute(chipClusterPtr, callback); + } + public void subscribeTargetPositionTiltPercent100thsAttribute( + TargetPositionTiltPercent100thsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTargetPositionTiltPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readEndProductTypeAttribute( + IntegerAttributeCallback callback + ) { + readEndProductTypeAttribute(chipClusterPtr, callback); + } + public void subscribeEndProductTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEndProductTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readCurrentPositionLiftPercent100thsAttribute( + CurrentPositionLiftPercent100thsAttributeCallback callback + ) { + readCurrentPositionLiftPercent100thsAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionLiftPercent100thsAttribute( + CurrentPositionLiftPercent100thsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionLiftPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void readCurrentPositionTiltPercent100thsAttribute( + CurrentPositionTiltPercent100thsAttributeCallback callback + ) { + readCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentPositionTiltPercent100thsAttribute( + CurrentPositionTiltPercent100thsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readInstalledOpenLimitLiftAttribute( + IntegerAttributeCallback callback + ) { + readInstalledOpenLimitLiftAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledOpenLimitLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledOpenLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void readInstalledClosedLimitLiftAttribute( + IntegerAttributeCallback callback + ) { + readInstalledClosedLimitLiftAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledClosedLimitLiftAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readInstalledOpenLimitTiltAttribute( + IntegerAttributeCallback callback + ) { + readInstalledOpenLimitTiltAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledOpenLimitTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledOpenLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void readInstalledClosedLimitTiltAttribute( + IntegerAttributeCallback callback + ) { + readInstalledClosedLimitTiltAttribute(chipClusterPtr, callback); + } + public void subscribeInstalledClosedLimitTiltAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstalledClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readModeAttribute( + IntegerAttributeCallback callback + ) { + readModeAttribute(chipClusterPtr, callback); + } + public void writeModeAttribute(DefaultClusterCallback callback, Integer value) { + writeModeAttribute(chipClusterPtr, callback, value, null); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void writeModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readSafetyStatusAttribute( + IntegerAttributeCallback callback + ) { + readSafetyStatusAttribute(chipClusterPtr, callback); + } + public void subscribeSafetyStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPhysicalClosedLimitLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePhysicalClosedLimitLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPhysicalClosedLimitTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePhysicalClosedLimitTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentPositionLiftAttribute(long chipClusterPtr, + CurrentPositionLiftAttributeCallback callback + ); + private native void subscribeCurrentPositionLiftAttribute(long chipClusterPtr, + CurrentPositionLiftAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentPositionTiltAttribute(long chipClusterPtr, + CurrentPositionTiltAttributeCallback callback + ); + private native void subscribeCurrentPositionTiltAttribute(long chipClusterPtr, + CurrentPositionTiltAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNumberOfActuationsLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfActuationsLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfActuationsTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfActuationsTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readConfigStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeConfigStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentPositionLiftPercentageAttribute(long chipClusterPtr, + CurrentPositionLiftPercentageAttributeCallback callback + ); + private native void subscribeCurrentPositionLiftPercentageAttribute(long chipClusterPtr, + CurrentPositionLiftPercentageAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentPositionTiltPercentageAttribute(long chipClusterPtr, + CurrentPositionTiltPercentageAttributeCallback callback + ); + private native void subscribeCurrentPositionTiltPercentageAttribute(long chipClusterPtr, + CurrentPositionTiltPercentageAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOperationalStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeOperationalStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTargetPositionLiftPercent100thsAttribute(long chipClusterPtr, + TargetPositionLiftPercent100thsAttributeCallback callback + ); + private native void subscribeTargetPositionLiftPercent100thsAttribute(long chipClusterPtr, + TargetPositionLiftPercent100thsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readTargetPositionTiltPercent100thsAttribute(long chipClusterPtr, + TargetPositionTiltPercent100thsAttributeCallback callback + ); + private native void subscribeTargetPositionTiltPercent100thsAttribute(long chipClusterPtr, + TargetPositionTiltPercent100thsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEndProductTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeEndProductTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentPositionLiftPercent100thsAttribute(long chipClusterPtr, + CurrentPositionLiftPercent100thsAttributeCallback callback + ); + private native void subscribeCurrentPositionLiftPercent100thsAttribute(long chipClusterPtr, + CurrentPositionLiftPercent100thsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentPositionTiltPercent100thsAttribute(long chipClusterPtr, + CurrentPositionTiltPercent100thsAttributeCallback callback + ); + private native void subscribeCurrentPositionTiltPercent100thsAttribute(long chipClusterPtr, + CurrentPositionTiltPercent100thsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readInstalledOpenLimitLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstalledOpenLimitLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstalledClosedLimitLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstalledClosedLimitLiftAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstalledOpenLimitTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstalledOpenLimitTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstalledClosedLimitTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstalledClosedLimitTiltAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSafetyStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSafetyStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ElectrostaticFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 116L; + public static class BarrierControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 259L; - public ElectrostaticFilterMonitoringCluster(long devicePtr, int endpointId) { + public BarrierControlCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void barrierControlGoToPercent(DefaultClusterCallback callback + , Integer percentOpen) { + barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void barrierControlGoToPercent(DefaultClusterCallback callback + , Integer percentOpen + , int timedInvokeTimeoutMs) { + barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, timedInvokeTimeoutMs); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void barrierControlStop(DefaultClusterCallback callback + ) { + barrierControlStop(chipClusterPtr, callback, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void barrierControlStop(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + barrierControlStop(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void barrierControlGoToPercent(long chipClusterPtr, DefaultClusterCallback Callback + , Integer percentOpen + , @Nullable Integer timedInvokeTimeoutMs); + private native void barrierControlStop(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void readBarrierMovingStateAttribute( + IntegerAttributeCallback callback + ) { + readBarrierMovingStateAttribute(chipClusterPtr, callback); } - - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeBarrierMovingStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierMovingStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void readBarrierSafetyStatusAttribute( + IntegerAttributeCallback callback + ) { + readBarrierSafetyStatusAttribute(chipClusterPtr, callback); } - - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeBarrierSafetyStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void readBarrierCapabilitiesAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCapabilitiesAttribute(chipClusterPtr, callback); + } + public void subscribeBarrierCapabilitiesAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); - } - - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readBarrierOpenEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierOpenEventsAttribute(chipClusterPtr, callback); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeBarrierOpenEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readBarrierCloseEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCloseEventsAttribute(chipClusterPtr, callback); } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, null); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void subscribeBarrierCloseEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readBarrierCommandOpenEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCommandOpenEventsAttribute(chipClusterPtr, callback); } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void writeBarrierCommandOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, null); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeBarrierCommandOpenEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void subscribeBarrierCommandOpenEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readBarrierCommandCloseEventsAttribute( + IntegerAttributeCallback callback + ) { + readBarrierCommandCloseEventsAttribute(chipClusterPtr, callback); } - - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class UvFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 117L; - - public UvFilterMonitoringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void writeBarrierCommandCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, null); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeBarrierCommandCloseEventsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeBarrierCommandCloseEventsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readBarrierOpenPeriodAttribute( + IntegerAttributeCallback callback + ) { + readBarrierOpenPeriodAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, null); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeBarrierOpenPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void readBarrierClosePeriodAttribute( + IntegerAttributeCallback callback + ) { + readBarrierClosePeriodAttribute(chipClusterPtr, callback); } - - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, null); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeBarrierClosePeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierClosePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void readBarrierPositionAttribute( + IntegerAttributeCallback callback + ) { + readBarrierPositionAttribute(chipClusterPtr, callback); } - - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeBarrierPositionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBarrierPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readBarrierMovingStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBarrierMovingStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierSafetyStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBarrierSafetyStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierCapabilitiesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBarrierCapabilitiesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierOpenEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBarrierOpenEventsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBarrierOpenEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierCloseEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBarrierCloseEventsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBarrierCloseEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierCommandOpenEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBarrierCommandOpenEventsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBarrierCommandOpenEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierCommandCloseEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBarrierCommandCloseEventsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBarrierCommandCloseEventsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierOpenPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBarrierOpenPeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBarrierOpenPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierClosePeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBarrierClosePeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBarrierClosePeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBarrierPositionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBarrierPositionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class IonizingFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 118L; + public static class PumpConfigurationAndControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 512L; - public IonizingFilterMonitoringCluster(long devicePtr, int endpointId) { + public PumpConfigurationAndControlCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface MaxPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxSpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxFlowAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinConstPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxConstPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinCompPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxCompPressureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinConstSpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxConstSpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinConstFlowAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxConstFlowAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinConstTempAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxConstTempAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface CapacityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface SpeedAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LifetimeRunningHoursAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PowerAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LifetimeEnergyConsumedAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxPressureAttribute( + MaxPressureAttributeCallback callback + ) { + readMaxPressureAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxPressureAttribute( + MaxPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxSpeedAttribute( + MaxSpeedAttributeCallback callback + ) { + readMaxSpeedAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxSpeedAttribute( + MaxSpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void readMaxFlowAttribute( + MaxFlowAttributeCallback callback + ) { + readMaxFlowAttribute(chipClusterPtr, callback); } - - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxFlowAttribute( + MaxFlowAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void readMinConstPressureAttribute( + MinConstPressureAttributeCallback callback + ) { + readMinConstPressureAttribute(chipClusterPtr, callback); } - - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinConstPressureAttribute( + MinConstPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void readMaxConstPressureAttribute( + MaxConstPressureAttributeCallback callback + ) { + readMaxConstPressureAttribute(chipClusterPtr, callback); } - - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxConstPressureAttribute( + MaxConstPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void readMinCompPressureAttribute( + MinCompPressureAttributeCallback callback + ) { + readMinCompPressureAttribute(chipClusterPtr, callback); } - - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinCompPressureAttribute( + MinCompPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readMaxCompPressureAttribute( + MaxCompPressureAttributeCallback callback + ) { + readMaxCompPressureAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxCompPressureAttribute( + MaxCompPressureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readMinConstSpeedAttribute( + MinConstSpeedAttributeCallback callback + ) { + readMinConstSpeedAttribute(chipClusterPtr, callback); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinConstSpeedAttribute( + MinConstSpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readMaxConstSpeedAttribute( + MaxConstSpeedAttributeCallback callback + ) { + readMaxConstSpeedAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxConstSpeedAttribute( + MaxConstSpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readMinConstFlowAttribute( + MinConstFlowAttributeCallback callback + ) { + readMinConstFlowAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinConstFlowAttribute( + MinConstFlowAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readMaxConstFlowAttribute( + MaxConstFlowAttributeCallback callback + ) { + readMaxConstFlowAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxConstFlowAttribute( + MaxConstFlowAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readMinConstTempAttribute( + MinConstTempAttributeCallback callback + ) { + readMinConstTempAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinConstTempAttribute( + MinConstTempAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ZeoliteFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 119L; - - public ZeoliteFilterMonitoringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readMaxConstTempAttribute( + MaxConstTempAttributeCallback callback + ) { + readMaxConstTempAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxConstTempAttribute( + MaxConstTempAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPumpStatusAttribute( + IntegerAttributeCallback callback + ) { + readPumpStatusAttribute(chipClusterPtr, callback); + } + public void subscribePumpStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePumpStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void readEffectiveOperationModeAttribute( + IntegerAttributeCallback callback + ) { + readEffectiveOperationModeAttribute(chipClusterPtr, callback); + } + public void subscribeEffectiveOperationModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEffectiveOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEffectiveControlModeAttribute( + IntegerAttributeCallback callback + ) { + readEffectiveControlModeAttribute(chipClusterPtr, callback); + } + public void subscribeEffectiveControlModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEffectiveControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + public void readCapacityAttribute( + CapacityAttributeCallback callback + ) { + readCapacityAttribute(chipClusterPtr, callback); + } + public void subscribeCapacityAttribute( + CapacityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readSpeedAttribute( + SpeedAttributeCallback callback + ) { + readSpeedAttribute(chipClusterPtr, callback); + } + public void subscribeSpeedAttribute( + SpeedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLifetimeRunningHoursAttribute( + LifetimeRunningHoursAttributeCallback callback + ) { + readLifetimeRunningHoursAttribute(chipClusterPtr, callback); + } + public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, null); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeLifetimeRunningHoursAttribute( + LifetimeRunningHoursAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLifetimeRunningHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPowerAttribute( + PowerAttributeCallback callback + ) { + readPowerAttribute(chipClusterPtr, callback); + } + public void subscribePowerAttribute( + PowerAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void readLifetimeEnergyConsumedAttribute( + LifetimeEnergyConsumedAttributeCallback callback + ) { + readLifetimeEnergyConsumedAttribute(chipClusterPtr, callback); + } + public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value) { + writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, null); } - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeLifetimeEnergyConsumedAttribute( + LifetimeEnergyConsumedAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void readOperationModeAttribute( + IntegerAttributeCallback callback + ) { + readOperationModeAttribute(chipClusterPtr, callback); + } + public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value) { + writeOperationModeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOperationModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeOperationModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void readControlModeAttribute( + IntegerAttributeCallback callback + ) { + readControlModeAttribute(chipClusterPtr, callback); + } + public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value) { + writeControlModeAttribute(chipClusterPtr, callback, value, null); } - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeControlModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeControlModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMaxPressureAttribute(long chipClusterPtr, + MaxPressureAttributeCallback callback + ); + private native void subscribeMaxPressureAttribute(long chipClusterPtr, + MaxPressureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxSpeedAttribute(long chipClusterPtr, + MaxSpeedAttributeCallback callback + ); + private native void subscribeMaxSpeedAttribute(long chipClusterPtr, + MaxSpeedAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxFlowAttribute(long chipClusterPtr, + MaxFlowAttributeCallback callback + ); + private native void subscribeMaxFlowAttribute(long chipClusterPtr, + MaxFlowAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinConstPressureAttribute(long chipClusterPtr, + MinConstPressureAttributeCallback callback + ); + private native void subscribeMinConstPressureAttribute(long chipClusterPtr, + MinConstPressureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxConstPressureAttribute(long chipClusterPtr, + MaxConstPressureAttributeCallback callback + ); + private native void subscribeMaxConstPressureAttribute(long chipClusterPtr, + MaxConstPressureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinCompPressureAttribute(long chipClusterPtr, + MinCompPressureAttributeCallback callback + ); + private native void subscribeMinCompPressureAttribute(long chipClusterPtr, + MinCompPressureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxCompPressureAttribute(long chipClusterPtr, + MaxCompPressureAttributeCallback callback + ); + private native void subscribeMaxCompPressureAttribute(long chipClusterPtr, + MaxCompPressureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinConstSpeedAttribute(long chipClusterPtr, + MinConstSpeedAttributeCallback callback + ); + private native void subscribeMinConstSpeedAttribute(long chipClusterPtr, + MinConstSpeedAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxConstSpeedAttribute(long chipClusterPtr, + MaxConstSpeedAttributeCallback callback + ); + private native void subscribeMaxConstSpeedAttribute(long chipClusterPtr, + MaxConstSpeedAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinConstFlowAttribute(long chipClusterPtr, + MinConstFlowAttributeCallback callback + ); + private native void subscribeMinConstFlowAttribute(long chipClusterPtr, + MinConstFlowAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxConstFlowAttribute(long chipClusterPtr, + MaxConstFlowAttributeCallback callback + ); + private native void subscribeMaxConstFlowAttribute(long chipClusterPtr, + MaxConstFlowAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinConstTempAttribute(long chipClusterPtr, + MinConstTempAttributeCallback callback + ); + private native void subscribeMinConstTempAttribute(long chipClusterPtr, + MinConstTempAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxConstTempAttribute(long chipClusterPtr, + MaxConstTempAttributeCallback callback + ); + private native void subscribeMaxConstTempAttribute(long chipClusterPtr, + MaxConstTempAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPumpStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePumpStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEffectiveOperationModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeEffectiveOperationModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEffectiveControlModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeEffectiveControlModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCapacityAttribute(long chipClusterPtr, + CapacityAttributeCallback callback + ); + private native void subscribeCapacityAttribute(long chipClusterPtr, + CapacityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSpeedAttribute(long chipClusterPtr, + SpeedAttributeCallback callback + ); + private native void subscribeSpeedAttribute(long chipClusterPtr, + SpeedAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLifetimeRunningHoursAttribute(long chipClusterPtr, + LifetimeRunningHoursAttributeCallback callback + ); + + private native void writeLifetimeRunningHoursAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLifetimeRunningHoursAttribute(long chipClusterPtr, + LifetimeRunningHoursAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPowerAttribute(long chipClusterPtr, + PowerAttributeCallback callback + ); + private native void subscribePowerAttribute(long chipClusterPtr, + PowerAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLifetimeEnergyConsumedAttribute(long chipClusterPtr, + LifetimeEnergyConsumedAttributeCallback callback + ); + + private native void writeLifetimeEnergyConsumedAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLifetimeEnergyConsumedAttribute(long chipClusterPtr, + LifetimeEnergyConsumedAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOperationModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOperationModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOperationModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readControlModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeControlModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeControlModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class OzoneFilterMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 120L; + public static class ThermostatCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 513L; - public OzoneFilterMonitoringCluster(long devicePtr, int endpointId) { + public ThermostatCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void setpointRaiseLower(DefaultClusterCallback callback + , Integer mode, Integer amount) { + setpointRaiseLower(chipClusterPtr, callback, mode, amount, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void setpointRaiseLower(DefaultClusterCallback callback + , Integer mode, Integer amount + , int timedInvokeTimeoutMs) { + setpointRaiseLower(chipClusterPtr, callback, mode, amount, timedInvokeTimeoutMs); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void setWeeklySchedule(DefaultClusterCallback callback + , Integer numberOfTransitionsForSequence, Integer dayOfWeekForSequence, Integer modeForSequence, ArrayList transitions) { + setWeeklySchedule(chipClusterPtr, callback, numberOfTransitionsForSequence, dayOfWeekForSequence, modeForSequence, transitions, null); + } - void onError(Exception ex); + public void setWeeklySchedule(DefaultClusterCallback callback + , Integer numberOfTransitionsForSequence, Integer dayOfWeekForSequence, Integer modeForSequence, ArrayList transitions + , int timedInvokeTimeoutMs) { + setWeeklySchedule(chipClusterPtr, callback, numberOfTransitionsForSequence, dayOfWeekForSequence, modeForSequence, transitions, timedInvokeTimeoutMs); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void getWeeklySchedule(GetWeeklyScheduleResponseCallback callback + , Integer daysToReturn, Integer modeToReturn) { + getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void getWeeklySchedule(GetWeeklyScheduleResponseCallback callback + , Integer daysToReturn, Integer modeToReturn + , int timedInvokeTimeoutMs) { + getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, timedInvokeTimeoutMs); + } - void onError(Exception ex); + public void clearWeeklySchedule(DefaultClusterCallback callback + ) { + clearWeeklySchedule(chipClusterPtr, callback, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void clearWeeklySchedule(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + clearWeeklySchedule(chipClusterPtr, callback, timedInvokeTimeoutMs); + } + private native void setpointRaiseLower(long chipClusterPtr, DefaultClusterCallback Callback + , Integer mode, Integer amount + , @Nullable Integer timedInvokeTimeoutMs); + private native void setWeeklySchedule(long chipClusterPtr, DefaultClusterCallback Callback + , Integer numberOfTransitionsForSequence, Integer dayOfWeekForSequence, Integer modeForSequence, ArrayList transitions + , @Nullable Integer timedInvokeTimeoutMs); + private native void getWeeklySchedule(long chipClusterPtr, GetWeeklyScheduleResponseCallback Callback + , Integer daysToReturn, Integer modeToReturn + , @Nullable Integer timedInvokeTimeoutMs); + private native void clearWeeklySchedule(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + public interface GetWeeklyScheduleResponseCallback { + void onSuccess(Integer numberOfTransitionsForSequence, Integer dayOfWeekForSequence, Integer modeForSequence, ArrayList transitions); + + void onError(Exception error); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); + public interface LocalTemperatureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OutdoorTemperatureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface TemperatureSetpointHoldDurationAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface SetpointChangeAmountAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OccupiedSetbackAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OccupiedSetbackMinAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface OccupiedSetbackMaxAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface UnoccupiedSetbackAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface UnoccupiedSetbackMinAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface UnoccupiedSetbackMaxAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ACCoilTemperatureAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLocalTemperatureAttribute( + LocalTemperatureAttributeCallback callback + ) { + readLocalTemperatureAttribute(chipClusterPtr, callback); } - - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void subscribeLocalTemperatureAttribute( + LocalTemperatureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLocalTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOutdoorTemperatureAttribute( + OutdoorTemperatureAttributeCallback callback + ) { + readOutdoorTemperatureAttribute(chipClusterPtr, callback); } - - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void subscribeOutdoorTemperatureAttribute( + OutdoorTemperatureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOutdoorTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOccupancyAttribute( + IntegerAttributeCallback callback + ) { + readOccupancyAttribute(chipClusterPtr, callback); } - - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void subscribeOccupancyAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAbsMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void subscribeAbsMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAbsMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeAbsMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAbsMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void subscribeAbsMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAbsMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeAbsMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPICoolingDemandAttribute( + IntegerAttributeCallback callback + ) { + readPICoolingDemandAttribute(chipClusterPtr, callback); + } + public void subscribePICoolingDemandAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePICoolingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readPIHeatingDemandAttribute( + IntegerAttributeCallback callback + ) { + readPIHeatingDemandAttribute(chipClusterPtr, callback); + } + public void subscribePIHeatingDemandAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIHeatingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readHVACSystemTypeConfigurationAttribute( + IntegerAttributeCallback callback + ) { + readHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback); + } + public void writeHVACSystemTypeConfigurationAttribute(DefaultClusterCallback callback, Integer value) { + writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, null); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void writeHVACSystemTypeConfigurationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeHVACSystemTypeConfigurationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLocalTemperatureCalibrationAttribute( + IntegerAttributeCallback callback + ) { + readLocalTemperatureCalibrationAttribute(chipClusterPtr, callback); + } + public void writeLocalTemperatureCalibrationAttribute(DefaultClusterCallback callback, Integer value) { + writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, null); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void writeLocalTemperatureCalibrationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeLocalTemperatureCalibrationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readOccupiedCoolingSetpointAttribute(chipClusterPtr, callback); + } + public void writeOccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class WaterTankMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 121L; - - public WaterTankMonitoringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void writeOccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeOccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readOccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readOccupiedHeatingSetpointAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeOccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeOccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void subscribeOccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUnoccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback); } - - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void writeUnoccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeUnoccupiedCoolingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void subscribeUnoccupiedCoolingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUnoccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback + ) { + readUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback); } - - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void writeUnoccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value) { + writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); } - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeUnoccupiedHeatingSetpointAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void subscribeUnoccupiedHeatingSetpointAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMinHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void subscribeMinHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void subscribeMaxHeatSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMinCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class FuelTankMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 122L; - - public FuelTankMonitoringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void subscribeMinCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback + ) { + readMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxCoolSetpointLimitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void readMinSetpointDeadBandAttribute( + IntegerAttributeCallback callback + ) { + readMinSetpointDeadBandAttribute(chipClusterPtr, callback); } - - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value) { + writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, null); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinSetpointDeadBandAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinSetpointDeadBandAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void readRemoteSensingAttribute( + IntegerAttributeCallback callback + ) { + readRemoteSensingAttribute(chipClusterPtr, callback); } - - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeRemoteSensingAttribute(DefaultClusterCallback callback, Integer value) { + writeRemoteSensingAttribute(chipClusterPtr, callback, value, null); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void writeRemoteSensingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRemoteSensingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeRemoteSensingAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRemoteSensingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readControlSequenceOfOperationAttribute( + IntegerAttributeCallback callback + ) { + readControlSequenceOfOperationAttribute(chipClusterPtr, callback); + } + public void writeControlSequenceOfOperationAttribute(DefaultClusterCallback callback, Integer value) { + writeControlSequenceOfOperationAttribute(chipClusterPtr, callback, value, null); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void writeControlSequenceOfOperationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeControlSequenceOfOperationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeControlSequenceOfOperationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeControlSequenceOfOperationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readSystemModeAttribute( + IntegerAttributeCallback callback + ) { + readSystemModeAttribute(chipClusterPtr, callback); + } + public void writeSystemModeAttribute(DefaultClusterCallback callback, Integer value) { + writeSystemModeAttribute(chipClusterPtr, callback, value, null); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeSystemModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSystemModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeSystemModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSystemModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readThermostatRunningModeAttribute( + IntegerAttributeCallback callback + ) { + readThermostatRunningModeAttribute(chipClusterPtr, callback); + } + public void subscribeThermostatRunningModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeThermostatRunningModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readStartOfWeekAttribute( + IntegerAttributeCallback callback + ) { + readStartOfWeekAttribute(chipClusterPtr, callback); + } + public void subscribeStartOfWeekAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStartOfWeekAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfWeeklyTransitionsAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfWeeklyTransitionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readNumberOfDailyTransitionsAttribute( + IntegerAttributeCallback callback + ) { + readNumberOfDailyTransitionsAttribute(chipClusterPtr, callback); + } + public void subscribeNumberOfDailyTransitionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNumberOfDailyTransitionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readTemperatureSetpointHoldAttribute( + IntegerAttributeCallback callback + ) { + readTemperatureSetpointHoldAttribute(chipClusterPtr, callback); + } + public void writeTemperatureSetpointHoldAttribute(DefaultClusterCallback callback, Integer value) { + writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, null); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void writeTemperatureSetpointHoldAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeTemperatureSetpointHoldAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readTemperatureSetpointHoldDurationAttribute( + TemperatureSetpointHoldDurationAttributeCallback callback + ) { + readTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback); + } + public void writeTemperatureSetpointHoldDurationAttribute(DefaultClusterCallback callback, Integer value) { + writeTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback, value, null); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void writeTemperatureSetpointHoldDurationAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeTemperatureSetpointHoldDurationAttribute( + TemperatureSetpointHoldDurationAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readThermostatProgrammingOperationModeAttribute( + IntegerAttributeCallback callback + ) { + readThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback); + } + public void writeThermostatProgrammingOperationModeAttribute(DefaultClusterCallback callback, Integer value) { + writeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, value, null); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void writeThermostatProgrammingOperationModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeThermostatProgrammingOperationModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readThermostatRunningStateAttribute( + IntegerAttributeCallback callback + ) { + readThermostatRunningStateAttribute(chipClusterPtr, callback); + } + public void subscribeThermostatRunningStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeThermostatRunningStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readSetpointChangeSourceAttribute( + IntegerAttributeCallback callback + ) { + readSetpointChangeSourceAttribute(chipClusterPtr, callback); + } + public void subscribeSetpointChangeSourceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSetpointChangeSourceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readSetpointChangeAmountAttribute( + SetpointChangeAmountAttributeCallback callback + ) { + readSetpointChangeAmountAttribute(chipClusterPtr, callback); + } + public void subscribeSetpointChangeAmountAttribute( + SetpointChangeAmountAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSetpointChangeAmountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readSetpointChangeSourceTimestampAttribute( + LongAttributeCallback callback + ) { + readSetpointChangeSourceTimestampAttribute(chipClusterPtr, callback); + } + public void subscribeSetpointChangeSourceTimestampAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSetpointChangeSourceTimestampAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readOccupiedSetbackAttribute( + OccupiedSetbackAttributeCallback callback + ) { + readOccupiedSetbackAttribute(chipClusterPtr, callback); + } + public void writeOccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { + writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } + public void writeOccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeOccupiedSetbackAttribute( + OccupiedSetbackAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public static class InkCartridgeMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 123L; + public void readOccupiedSetbackMinAttribute( + OccupiedSetbackMinAttributeCallback callback + ) { + readOccupiedSetbackMinAttribute(chipClusterPtr, callback); + } + public void subscribeOccupiedSetbackMinAttribute( + OccupiedSetbackMinAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - public InkCartridgeMonitoringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readOccupiedSetbackMaxAttribute( + OccupiedSetbackMaxAttributeCallback callback + ) { + readOccupiedSetbackMaxAttribute(chipClusterPtr, callback); + } + public void subscribeOccupiedSetbackMaxAttribute( + OccupiedSetbackMaxAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - @Override - public native long initWithDevice(long devicePtr, int endpointId); + public void readUnoccupiedSetbackAttribute( + UnoccupiedSetbackAttributeCallback callback + ) { + readUnoccupiedSetbackAttribute(chipClusterPtr, callback); + } + public void writeUnoccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { + writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); + public void writeUnoccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeUnoccupiedSetbackAttribute( + UnoccupiedSetbackAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readUnoccupiedSetbackMinAttribute( + UnoccupiedSetbackMinAttributeCallback callback + ) { + readUnoccupiedSetbackMinAttribute(chipClusterPtr, callback); + } + public void subscribeUnoccupiedSetbackMinAttribute( + UnoccupiedSetbackMinAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readUnoccupiedSetbackMaxAttribute( + UnoccupiedSetbackMaxAttributeCallback callback + ) { + readUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback); + } + public void subscribeUnoccupiedSetbackMaxAttribute( + UnoccupiedSetbackMaxAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readEmergencyHeatDeltaAttribute( + IntegerAttributeCallback callback + ) { + readEmergencyHeatDeltaAttribute(chipClusterPtr, callback); + } + public void writeEmergencyHeatDeltaAttribute(DefaultClusterCallback callback, Integer value) { + writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, null); + } - void onError(Exception ex); + public void writeEmergencyHeatDeltaAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeEmergencyHeatDeltaAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readACTypeAttribute( + IntegerAttributeCallback callback + ) { + readACTypeAttribute(chipClusterPtr, callback); + } + public void writeACTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACTypeAttribute(chipClusterPtr, callback, value, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + public void writeACTypeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeACTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeACTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readACCapacityAttribute( + IntegerAttributeCallback callback + ) { + readACCapacityAttribute(chipClusterPtr, callback); + } + public void writeACCapacityAttribute(DefaultClusterCallback callback, Integer value) { + writeACCapacityAttribute(chipClusterPtr, callback, value, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeACCapacityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACCapacityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeACCapacityAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeACCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + public void readACRefrigerantTypeAttribute( + IntegerAttributeCallback callback + ) { + readACRefrigerantTypeAttribute(chipClusterPtr, callback); + } + public void writeACRefrigerantTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, null); + } - void onError(Exception ex); + public void writeACRefrigerantTypeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeACRefrigerantTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeACRefrigerantTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readACCompressorTypeAttribute( + IntegerAttributeCallback callback + ) { + readACCompressorTypeAttribute(chipClusterPtr, callback); + } + public void writeACCompressorTypeAttribute(DefaultClusterCallback callback, Integer value) { + writeACCompressorTypeAttribute(chipClusterPtr, callback, value, null); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void writeACCompressorTypeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACCompressorTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeACCompressorTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeACCompressorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readACErrorCodeAttribute( + LongAttributeCallback callback + ) { + readACErrorCodeAttribute(chipClusterPtr, callback); + } + public void writeACErrorCodeAttribute(DefaultClusterCallback callback, Long value) { + writeACErrorCodeAttribute(chipClusterPtr, callback, value, null); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void writeACErrorCodeAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeACErrorCodeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeACErrorCodeAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeACErrorCodeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readACLouverPositionAttribute( + IntegerAttributeCallback callback + ) { + readACLouverPositionAttribute(chipClusterPtr, callback); + } + public void writeACLouverPositionAttribute(DefaultClusterCallback callback, Integer value) { + writeACLouverPositionAttribute(chipClusterPtr, callback, value, null); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void writeACLouverPositionAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACLouverPositionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeACLouverPositionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeACLouverPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readACCoilTemperatureAttribute( + ACCoilTemperatureAttributeCallback callback + ) { + readACCoilTemperatureAttribute(chipClusterPtr, callback); + } + public void subscribeACCoilTemperatureAttribute( + ACCoilTemperatureAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeACCoilTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void readACCapacityformatAttribute( + IntegerAttributeCallback callback + ) { + readACCapacityformatAttribute(chipClusterPtr, callback); + } + public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value) { + writeACCapacityformatAttribute(chipClusterPtr, callback, value, null); } - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeACCapacityformatAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeACCapacityformatAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeACCapacityformatAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readLocalTemperatureAttribute(long chipClusterPtr, + LocalTemperatureAttributeCallback callback + ); + private native void subscribeLocalTemperatureAttribute(long chipClusterPtr, + LocalTemperatureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOutdoorTemperatureAttribute(long chipClusterPtr, + OutdoorTemperatureAttributeCallback callback + ); + private native void subscribeOutdoorTemperatureAttribute(long chipClusterPtr, + OutdoorTemperatureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOccupancyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeOccupancyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAbsMinHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAbsMinHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAbsMaxHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAbsMaxHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAbsMinCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAbsMinCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAbsMaxCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAbsMaxCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPICoolingDemandAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePICoolingDemandAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPIHeatingDemandAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePIHeatingDemandAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readHVACSystemTypeConfigurationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeHVACSystemTypeConfigurationAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeHVACSystemTypeConfigurationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLocalTemperatureCalibrationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeLocalTemperatureCalibrationAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLocalTemperatureCalibrationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOccupiedCoolingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOccupiedCoolingSetpointAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOccupiedCoolingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOccupiedHeatingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOccupiedHeatingSetpointAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOccupiedHeatingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUnoccupiedCoolingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeUnoccupiedCoolingSetpointAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUnoccupiedCoolingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUnoccupiedHeatingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeUnoccupiedHeatingSetpointAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUnoccupiedHeatingSetpointAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeMinHeatSetpointLimitAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMinHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeMaxHeatSetpointLimitAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMaxHeatSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeMinCoolSetpointLimitAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMinCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeMaxCoolSetpointLimitAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMaxCoolSetpointLimitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinSetpointDeadBandAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeMinSetpointDeadBandAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMinSetpointDeadBandAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRemoteSensingAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRemoteSensingAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRemoteSensingAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readControlSequenceOfOperationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeControlSequenceOfOperationAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeControlSequenceOfOperationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSystemModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeSystemModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeSystemModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readThermostatRunningModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeThermostatRunningModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStartOfWeekAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeStartOfWeekAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfWeeklyTransitionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfWeeklyTransitionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfDailyTransitionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNumberOfDailyTransitionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTemperatureSetpointHoldAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeTemperatureSetpointHoldAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeTemperatureSetpointHoldAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTemperatureSetpointHoldDurationAttribute(long chipClusterPtr, + TemperatureSetpointHoldDurationAttributeCallback callback + ); + + private native void writeTemperatureSetpointHoldDurationAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeTemperatureSetpointHoldDurationAttribute(long chipClusterPtr, + TemperatureSetpointHoldDurationAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readThermostatProgrammingOperationModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeThermostatProgrammingOperationModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeThermostatProgrammingOperationModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readThermostatRunningStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeThermostatRunningStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSetpointChangeSourceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSetpointChangeSourceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSetpointChangeAmountAttribute(long chipClusterPtr, + SetpointChangeAmountAttributeCallback callback + ); + private native void subscribeSetpointChangeAmountAttribute(long chipClusterPtr, + SetpointChangeAmountAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSetpointChangeSourceTimestampAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeSetpointChangeSourceTimestampAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOccupiedSetbackAttribute(long chipClusterPtr, + OccupiedSetbackAttributeCallback callback + ); + + private native void writeOccupiedSetbackAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOccupiedSetbackAttribute(long chipClusterPtr, + OccupiedSetbackAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOccupiedSetbackMinAttribute(long chipClusterPtr, + OccupiedSetbackMinAttributeCallback callback + ); + private native void subscribeOccupiedSetbackMinAttribute(long chipClusterPtr, + OccupiedSetbackMinAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readOccupiedSetbackMaxAttribute(long chipClusterPtr, + OccupiedSetbackMaxAttributeCallback callback + ); + private native void subscribeOccupiedSetbackMaxAttribute(long chipClusterPtr, + OccupiedSetbackMaxAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readUnoccupiedSetbackAttribute(long chipClusterPtr, + UnoccupiedSetbackAttributeCallback callback + ); + + private native void writeUnoccupiedSetbackAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUnoccupiedSetbackAttribute(long chipClusterPtr, + UnoccupiedSetbackAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readUnoccupiedSetbackMinAttribute(long chipClusterPtr, + UnoccupiedSetbackMinAttributeCallback callback + ); + private native void subscribeUnoccupiedSetbackMinAttribute(long chipClusterPtr, + UnoccupiedSetbackMinAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readUnoccupiedSetbackMaxAttribute(long chipClusterPtr, + UnoccupiedSetbackMaxAttributeCallback callback + ); + private native void subscribeUnoccupiedSetbackMaxAttribute(long chipClusterPtr, + UnoccupiedSetbackMaxAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEmergencyHeatDeltaAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeEmergencyHeatDeltaAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEmergencyHeatDeltaAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readACTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeACTypeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeACTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readACCapacityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeACCapacityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeACCapacityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readACRefrigerantTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeACRefrigerantTypeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeACRefrigerantTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readACCompressorTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeACCompressorTypeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeACCompressorTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readACErrorCodeAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeACErrorCodeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeACErrorCodeAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readACLouverPositionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeACLouverPositionAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeACLouverPositionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readACCoilTemperatureAttribute(long chipClusterPtr, + ACCoilTemperatureAttributeCallback callback + ); + private native void subscribeACCoilTemperatureAttribute(long chipClusterPtr, + ACCoilTemperatureAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readACCapacityformatAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeACCapacityformatAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeACCapacityformatAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class TonerCartridgeMonitoringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 124L; + public static class FanControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 514L; - public TonerCartridgeMonitoringCluster(long devicePtr, int endpointId) { + public FanControlCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface PercentSettingAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface SpeedSettingAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readFanModeAttribute( + IntegerAttributeCallback callback + ) { + readFanModeAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeFanModeAttribute(DefaultClusterCallback callback, Integer value) { + writeFanModeAttribute(chipClusterPtr, callback, value, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeFanModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeFanModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeFanModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFanModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readConditionAttribute(IntegerAttributeCallback callback) { - readConditionAttribute(chipClusterPtr, callback); + public void readFanModeSequenceAttribute( + IntegerAttributeCallback callback + ) { + readFanModeSequenceAttribute(chipClusterPtr, callback); } - - public void subscribeConditionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConditionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value) { + writeFanModeSequenceAttribute(chipClusterPtr, callback, value, null); } - public void readDegradationDirectionAttribute(IntegerAttributeCallback callback) { - readDegradationDirectionAttribute(chipClusterPtr, callback); + public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeFanModeSequenceAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeDegradationDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDegradationDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFanModeSequenceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFanModeSequenceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readChangeIndicationAttribute(IntegerAttributeCallback callback) { - readChangeIndicationAttribute(chipClusterPtr, callback); + public void readPercentSettingAttribute( + PercentSettingAttributeCallback callback + ) { + readPercentSettingAttribute(chipClusterPtr, callback); } - - public void subscribeChangeIndicationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChangeIndicationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value) { + writePercentSettingAttribute(chipClusterPtr, callback, value, null); } - public void readInPlaceIndicatorAttribute(BooleanAttributeCallback callback) { - readInPlaceIndicatorAttribute(chipClusterPtr, callback); + public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePercentSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeInPlaceIndicatorAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInPlaceIndicatorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePercentSettingAttribute( + PercentSettingAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePercentSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readPercentCurrentAttribute( + IntegerAttributeCallback callback + ) { + readPercentCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePercentCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePercentCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readSpeedMaxAttribute( + IntegerAttributeCallback callback + ) { + readSpeedMaxAttribute(chipClusterPtr, callback); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSpeedMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSpeedMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readSpeedSettingAttribute( + SpeedSettingAttributeCallback callback + ) { + readSpeedSettingAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeSpeedSettingAttribute(chipClusterPtr, callback, value, null); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeSpeedSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSpeedSettingAttribute( + SpeedSettingAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSpeedSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readSpeedCurrentAttribute( + IntegerAttributeCallback callback + ) { + readSpeedCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSpeedCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSpeedCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readRockSupportAttribute( + IntegerAttributeCallback callback + ) { + readRockSupportAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRockSupportAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRockSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeConditionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDegradationDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeChangeIndicationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + public void readRockSettingAttribute( + IntegerAttributeCallback callback + ) { + readRockSettingAttribute(chipClusterPtr, callback); + } + public void writeRockSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeRockSettingAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeInPlaceIndicatorAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public void writeRockSettingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRockSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeRockSettingAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRockSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public void readWindSupportAttribute( + IntegerAttributeCallback callback + ) { + readWindSupportAttribute(chipClusterPtr, callback); + } + public void subscribeWindSupportAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWindSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readWindSettingAttribute( + IntegerAttributeCallback callback + ) { + readWindSettingAttribute(chipClusterPtr, callback); + } + public void writeWindSettingAttribute(DefaultClusterCallback callback, Integer value) { + writeWindSettingAttribute(chipClusterPtr, callback, value, null); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void writeWindSettingAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWindSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeWindSettingAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWindSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readAirflowDirectionAttribute( + IntegerAttributeCallback callback + ) { + readAirflowDirectionAttribute(chipClusterPtr, callback); + } + public void writeAirflowDirectionAttribute(DefaultClusterCallback callback, Integer value) { + writeAirflowDirectionAttribute(chipClusterPtr, callback, value, null); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void writeAirflowDirectionAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeAirflowDirectionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeAirflowDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAirflowDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readFanModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeFanModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeFanModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readFanModeSequenceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeFanModeSequenceAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeFanModeSequenceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPercentSettingAttribute(long chipClusterPtr, + PercentSettingAttributeCallback callback + ); + + private native void writePercentSettingAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePercentSettingAttribute(long chipClusterPtr, + PercentSettingAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPercentCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePercentCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSpeedMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSpeedMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSpeedSettingAttribute(long chipClusterPtr, + SpeedSettingAttributeCallback callback + ); + + private native void writeSpeedSettingAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeSpeedSettingAttribute(long chipClusterPtr, + SpeedSettingAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSpeedCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeSpeedCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRockSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRockSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRockSettingAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRockSettingAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRockSettingAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWindSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeWindSupportAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWindSettingAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeWindSettingAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeWindSettingAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAirflowDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeAirflowDirectionAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeAirflowDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class DoorLockCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 257L; + public static class ThermostatUserInterfaceConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 516L; - public DoorLockCluster(long devicePtr, int endpointId) { + public ThermostatUserInterfaceConfigurationCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void lockDoor( - DefaultClusterCallback callback, Optional PINCode, int timedInvokeTimeoutMs) { - lockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void unlockDoor( - DefaultClusterCallback callback, Optional PINCode, int timedInvokeTimeoutMs) { - unlockDoor(chipClusterPtr, callback, PINCode, timedInvokeTimeoutMs); + public void readTemperatureDisplayModeAttribute( + IntegerAttributeCallback callback + ) { + readTemperatureDisplayModeAttribute(chipClusterPtr, callback); } - - public void unlockWithTimeout( - DefaultClusterCallback callback, - Integer timeout, - Optional PINCode, - int timedInvokeTimeoutMs) { - unlockWithTimeout(chipClusterPtr, callback, timeout, PINCode, timedInvokeTimeoutMs); + public void writeTemperatureDisplayModeAttribute(DefaultClusterCallback callback, Integer value) { + writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, null); } - public void setWeekDaySchedule( - DefaultClusterCallback callback, - Integer weekDayIndex, - Integer userIndex, - Integer daysMask, - Integer startHour, - Integer startMinute, - Integer endHour, - Integer endMinute) { - setWeekDaySchedule( - chipClusterPtr, - callback, - weekDayIndex, - userIndex, - daysMask, - startHour, - startMinute, - endHour, - endMinute, - null); - } - - public void setWeekDaySchedule( - DefaultClusterCallback callback, - Integer weekDayIndex, - Integer userIndex, - Integer daysMask, - Integer startHour, - Integer startMinute, - Integer endHour, - Integer endMinute, - int timedInvokeTimeoutMs) { - setWeekDaySchedule( - chipClusterPtr, - callback, - weekDayIndex, - userIndex, - daysMask, - startHour, - startMinute, - endHour, - endMinute, - timedInvokeTimeoutMs); - } - - public void getWeekDaySchedule( - GetWeekDayScheduleResponseCallback callback, Integer weekDayIndex, Integer userIndex) { - getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); + public void writeTemperatureDisplayModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void getWeekDaySchedule( - GetWeekDayScheduleResponseCallback callback, - Integer weekDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - getWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); + public void subscribeTemperatureDisplayModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTemperatureDisplayModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearWeekDaySchedule( - DefaultClusterCallback callback, Integer weekDayIndex, Integer userIndex) { - clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, null); + public void readKeypadLockoutAttribute( + IntegerAttributeCallback callback + ) { + readKeypadLockoutAttribute(chipClusterPtr, callback); } - - public void clearWeekDaySchedule( - DefaultClusterCallback callback, - Integer weekDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - clearWeekDaySchedule(chipClusterPtr, callback, weekDayIndex, userIndex, timedInvokeTimeoutMs); + public void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value) { + writeKeypadLockoutAttribute(chipClusterPtr, callback, value, null); } - public void setYearDaySchedule( - DefaultClusterCallback callback, - Integer yearDayIndex, - Integer userIndex, - Long localStartTime, - Long localEndTime) { - setYearDaySchedule( - chipClusterPtr, callback, yearDayIndex, userIndex, localStartTime, localEndTime, null); - } - - public void setYearDaySchedule( - DefaultClusterCallback callback, - Integer yearDayIndex, - Integer userIndex, - Long localStartTime, - Long localEndTime, - int timedInvokeTimeoutMs) { - setYearDaySchedule( - chipClusterPtr, - callback, - yearDayIndex, - userIndex, - localStartTime, - localEndTime, - timedInvokeTimeoutMs); - } - - public void getYearDaySchedule( - GetYearDayScheduleResponseCallback callback, Integer yearDayIndex, Integer userIndex) { - getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); + public void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeKeypadLockoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void getYearDaySchedule( - GetYearDayScheduleResponseCallback callback, - Integer yearDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - getYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); + public void subscribeKeypadLockoutAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeKeypadLockoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearYearDaySchedule( - DefaultClusterCallback callback, Integer yearDayIndex, Integer userIndex) { - clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, null); + public void readScheduleProgrammingVisibilityAttribute( + IntegerAttributeCallback callback + ) { + readScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback); } - - public void clearYearDaySchedule( - DefaultClusterCallback callback, - Integer yearDayIndex, - Integer userIndex, - int timedInvokeTimeoutMs) { - clearYearDaySchedule(chipClusterPtr, callback, yearDayIndex, userIndex, timedInvokeTimeoutMs); + public void writeScheduleProgrammingVisibilityAttribute(DefaultClusterCallback callback, Integer value) { + writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, null); } - public void setHolidaySchedule( - DefaultClusterCallback callback, - Integer holidayIndex, - Long localStartTime, - Long localEndTime, - Integer operatingMode) { - setHolidaySchedule( - chipClusterPtr, - callback, - holidayIndex, - localStartTime, - localEndTime, - operatingMode, - null); - } - - public void setHolidaySchedule( - DefaultClusterCallback callback, - Integer holidayIndex, - Long localStartTime, - Long localEndTime, - Integer operatingMode, - int timedInvokeTimeoutMs) { - setHolidaySchedule( - chipClusterPtr, - callback, - holidayIndex, - localStartTime, - localEndTime, - operatingMode, - timedInvokeTimeoutMs); - } - - public void getHolidaySchedule( - GetHolidayScheduleResponseCallback callback, Integer holidayIndex) { - getHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); + public void writeScheduleProgrammingVisibilityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void getHolidaySchedule( - GetHolidayScheduleResponseCallback callback, - Integer holidayIndex, - int timedInvokeTimeoutMs) { - getHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + public void subscribeScheduleProgrammingVisibilityAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearHolidaySchedule(DefaultClusterCallback callback, Integer holidayIndex) { - clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, null); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void clearHolidaySchedule( - DefaultClusterCallback callback, Integer holidayIndex, int timedInvokeTimeoutMs) { - clearHolidaySchedule(chipClusterPtr, callback, holidayIndex, timedInvokeTimeoutMs); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void setUser( - DefaultClusterCallback callback, - Integer operationType, - Integer userIndex, - @Nullable String userName, - @Nullable Long userUniqueID, - @Nullable Integer userStatus, - @Nullable Integer userType, - @Nullable Integer credentialRule, - int timedInvokeTimeoutMs) { - setUser( - chipClusterPtr, - callback, - operationType, - userIndex, - userName, - userUniqueID, - userStatus, - userType, - credentialRule, - timedInvokeTimeoutMs); - } - - public void getUser(GetUserResponseCallback callback, Integer userIndex) { - getUser(chipClusterPtr, callback, userIndex, null); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void getUser( - GetUserResponseCallback callback, Integer userIndex, int timedInvokeTimeoutMs) { - getUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearUser( - DefaultClusterCallback callback, Integer userIndex, int timedInvokeTimeoutMs) { - clearUser(chipClusterPtr, callback, userIndex, timedInvokeTimeoutMs); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void setCredential( - SetCredentialResponseCallback callback, - Integer operationType, - ChipStructs.DoorLockClusterCredentialStruct credential, - byte[] credentialData, - @Nullable Integer userIndex, - @Nullable Integer userStatus, - @Nullable Integer userType, - int timedInvokeTimeoutMs) { - setCredential( - chipClusterPtr, - callback, - operationType, - credential, - credentialData, - userIndex, - userStatus, - userType, - timedInvokeTimeoutMs); - } - - public void getCredentialStatus( - GetCredentialStatusResponseCallback callback, - ChipStructs.DoorLockClusterCredentialStruct credential) { - getCredentialStatus(chipClusterPtr, callback, credential, null); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void getCredentialStatus( - GetCredentialStatusResponseCallback callback, - ChipStructs.DoorLockClusterCredentialStruct credential, - int timedInvokeTimeoutMs) { - getCredentialStatus(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void clearCredential( - DefaultClusterCallback callback, - @Nullable ChipStructs.DoorLockClusterCredentialStruct credential, - int timedInvokeTimeoutMs) { - clearCredential(chipClusterPtr, callback, credential, timedInvokeTimeoutMs); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void lockDoor( - long chipClusterPtr, - DefaultClusterCallback Callback, - Optional PINCode, - @Nullable Integer timedInvokeTimeoutMs); - - private native void unlockDoor( - long chipClusterPtr, - DefaultClusterCallback Callback, - Optional PINCode, - @Nullable Integer timedInvokeTimeoutMs); - - private native void unlockWithTimeout( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer timeout, - Optional PINCode, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setWeekDaySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer weekDayIndex, - Integer userIndex, - Integer daysMask, - Integer startHour, - Integer startMinute, - Integer endHour, - Integer endMinute, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getWeekDaySchedule( - long chipClusterPtr, - GetWeekDayScheduleResponseCallback Callback, - Integer weekDayIndex, - Integer userIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void clearWeekDaySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer weekDayIndex, - Integer userIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setYearDaySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer yearDayIndex, - Integer userIndex, - Long localStartTime, - Long localEndTime, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getYearDaySchedule( - long chipClusterPtr, - GetYearDayScheduleResponseCallback Callback, - Integer yearDayIndex, - Integer userIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void clearYearDaySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer yearDayIndex, - Integer userIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setHolidaySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer holidayIndex, - Long localStartTime, - Long localEndTime, - Integer operatingMode, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getHolidaySchedule( - long chipClusterPtr, - GetHolidayScheduleResponseCallback Callback, - Integer holidayIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void clearHolidaySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer holidayIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setUser( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer operationType, - Integer userIndex, - @Nullable String userName, - @Nullable Long userUniqueID, - @Nullable Integer userStatus, - @Nullable Integer userType, - @Nullable Integer credentialRule, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getUser( - long chipClusterPtr, - GetUserResponseCallback Callback, - Integer userIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void clearUser( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer userIndex, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setCredential( - long chipClusterPtr, - SetCredentialResponseCallback Callback, - Integer operationType, - ChipStructs.DoorLockClusterCredentialStruct credential, - byte[] credentialData, - @Nullable Integer userIndex, - @Nullable Integer userStatus, - @Nullable Integer userType, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getCredentialStatus( - long chipClusterPtr, - GetCredentialStatusResponseCallback Callback, - ChipStructs.DoorLockClusterCredentialStruct credential, - @Nullable Integer timedInvokeTimeoutMs); - - private native void clearCredential( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable ChipStructs.DoorLockClusterCredentialStruct credential, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GetWeekDayScheduleResponseCallback { - void onSuccess( - Integer weekDayIndex, - Integer userIndex, - Integer status, - Optional daysMask, - Optional startHour, - Optional startMinute, - Optional endHour, - Optional endMinute); - - void onError(Exception error); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public interface GetYearDayScheduleResponseCallback { - void onSuccess( - Integer yearDayIndex, - Integer userIndex, - Integer status, - Optional localStartTime, - Optional localEndTime); - - void onError(Exception error); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GetHolidayScheduleResponseCallback { - void onSuccess( - Integer holidayIndex, - Integer status, - Optional localStartTime, - Optional localEndTime, - Optional operatingMode); - - void onError(Exception error); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public interface GetUserResponseCallback { - void onSuccess( - Integer userIndex, - @Nullable String userName, - @Nullable Long userUniqueID, - @Nullable Integer userStatus, - @Nullable Integer userType, - @Nullable Integer credentialRule, - @Nullable ArrayList credentials, - @Nullable Integer creatorFabricIndex, - @Nullable Integer lastModifiedFabricIndex, - @Nullable Integer nextUserIndex); - - void onError(Exception error); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface SetCredentialResponseCallback { - void onSuccess( - Integer status, @Nullable Integer userIndex, @Nullable Integer nextCredentialIndex); - - void onError(Exception error); - } + private native void readTemperatureDisplayModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeTemperatureDisplayModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeTemperatureDisplayModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readKeypadLockoutAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeKeypadLockoutAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeKeypadLockoutAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readScheduleProgrammingVisibilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeScheduleProgrammingVisibilityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeScheduleProgrammingVisibilityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public interface GetCredentialStatusResponseCallback { - void onSuccess( - Boolean credentialExists, - @Nullable Integer userIndex, - @Nullable Integer creatorFabricIndex, - @Nullable Integer lastModifiedFabricIndex, - @Nullable Integer nextCredentialIndex); + public static class ColorControlCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 768L; - void onError(Exception error); + public ColorControlCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public interface LockStateAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveToHue(DefaultClusterCallback callback + , Integer hue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToHue(chipClusterPtr, callback, hue, direction, transitionTime, optionsMask, optionsOverride, null); } - public interface DoorStateAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveToHue(DefaultClusterCallback callback + , Integer hue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToHue(chipClusterPtr, callback, hue, direction, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveHue(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { + moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void moveHue(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stepHue(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + stepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void stepHue(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readLockStateAttribute(LockStateAttributeCallback callback) { - readLockStateAttribute(chipClusterPtr, callback); + public void moveToSaturation(DefaultClusterCallback callback + , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, null); } - public void subscribeLockStateAttribute( - LockStateAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLockStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void moveToSaturation(DefaultClusterCallback callback + , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readLockTypeAttribute(IntegerAttributeCallback callback) { - readLockTypeAttribute(chipClusterPtr, callback); + public void moveSaturation(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { + moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public void subscribeLockTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLockTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void moveSaturation(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readActuatorEnabledAttribute(BooleanAttributeCallback callback) { - readActuatorEnabledAttribute(chipClusterPtr, callback); + public void stepSaturation(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + stepSaturation(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null); } - public void subscribeActuatorEnabledAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActuatorEnabledAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void stepSaturation(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stepSaturation(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readDoorStateAttribute(DoorStateAttributeCallback callback) { - readDoorStateAttribute(chipClusterPtr, callback); + public void moveToHueAndSaturation(DefaultClusterCallback callback + , Integer hue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToHueAndSaturation(chipClusterPtr, callback, hue, saturation, transitionTime, optionsMask, optionsOverride, null); } - public void subscribeDoorStateAttribute( - DoorStateAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDoorStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void moveToHueAndSaturation(DefaultClusterCallback callback + , Integer hue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToHueAndSaturation(chipClusterPtr, callback, hue, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readDoorOpenEventsAttribute(LongAttributeCallback callback) { - readDoorOpenEventsAttribute(chipClusterPtr, callback); + public void moveToColor(DefaultClusterCallback callback + , Integer colorX, Integer colorY, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToColor(chipClusterPtr, callback, colorX, colorY, transitionTime, optionsMask, optionsOverride, null); } - public void writeDoorOpenEventsAttribute(DefaultClusterCallback callback, Long value) { - writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, null); + public void moveToColor(DefaultClusterCallback callback + , Integer colorX, Integer colorY, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToColor(chipClusterPtr, callback, colorX, colorY, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void writeDoorOpenEventsAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeDoorOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void moveColor(DefaultClusterCallback callback + , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride) { + moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, null); } - public void subscribeDoorOpenEventsAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDoorOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void moveColor(DefaultClusterCallback callback + , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readDoorClosedEventsAttribute(LongAttributeCallback callback) { - readDoorClosedEventsAttribute(chipClusterPtr, callback); + public void stepColor(DefaultClusterCallback callback + , Integer stepX, Integer stepY, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + stepColor(chipClusterPtr, callback, stepX, stepY, transitionTime, optionsMask, optionsOverride, null); } - public void writeDoorClosedEventsAttribute(DefaultClusterCallback callback, Long value) { - writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, null); + public void stepColor(DefaultClusterCallback callback + , Integer stepX, Integer stepY, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stepColor(chipClusterPtr, callback, stepX, stepY, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void writeDoorClosedEventsAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeDoorClosedEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void moveToColorTemperature(DefaultClusterCallback callback + , Integer colorTemperatureMireds, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + moveToColorTemperature(chipClusterPtr, callback, colorTemperatureMireds, transitionTime, optionsMask, optionsOverride, null); } - public void subscribeDoorClosedEventsAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDoorClosedEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void moveToColorTemperature(DefaultClusterCallback callback + , Integer colorTemperatureMireds, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveToColorTemperature(chipClusterPtr, callback, colorTemperatureMireds, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readOpenPeriodAttribute(IntegerAttributeCallback callback) { - readOpenPeriodAttribute(chipClusterPtr, callback); + public void enhancedMoveToHue(DefaultClusterCallback callback + , Integer enhancedHue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + enhancedMoveToHue(chipClusterPtr, callback, enhancedHue, direction, transitionTime, optionsMask, optionsOverride, null); } - public void writeOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeOpenPeriodAttribute(chipClusterPtr, callback, value, null); + public void enhancedMoveToHue(DefaultClusterCallback callback + , Integer enhancedHue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + enhancedMoveToHue(chipClusterPtr, callback, enhancedHue, direction, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void writeOpenPeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void enhancedMoveHue(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) { + enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); } - public void subscribeOpenPeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void enhancedMoveHue(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readNumberOfTotalUsersSupportedAttribute(IntegerAttributeCallback callback) { - readNumberOfTotalUsersSupportedAttribute(chipClusterPtr, callback); + public void enhancedStepHue(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + enhancedStepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null); } - public void subscribeNumberOfTotalUsersSupportedAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfTotalUsersSupportedAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void enhancedStepHue(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + enhancedStepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readNumberOfPINUsersSupportedAttribute(IntegerAttributeCallback callback) { - readNumberOfPINUsersSupportedAttribute(chipClusterPtr, callback); + public void enhancedMoveToHueAndSaturation(DefaultClusterCallback callback + , Integer enhancedHue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) { + enhancedMoveToHueAndSaturation(chipClusterPtr, callback, enhancedHue, saturation, transitionTime, optionsMask, optionsOverride, null); } - public void subscribeNumberOfPINUsersSupportedAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfPINUsersSupportedAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void enhancedMoveToHueAndSaturation(DefaultClusterCallback callback + , Integer enhancedHue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + enhancedMoveToHueAndSaturation(chipClusterPtr, callback, enhancedHue, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readNumberOfRFIDUsersSupportedAttribute(IntegerAttributeCallback callback) { - readNumberOfRFIDUsersSupportedAttribute(chipClusterPtr, callback); + public void colorLoopSet(DefaultClusterCallback callback + , Integer updateFlags, Integer action, Integer direction, Integer time, Integer startHue, Integer optionsMask, Integer optionsOverride) { + colorLoopSet(chipClusterPtr, callback, updateFlags, action, direction, time, startHue, optionsMask, optionsOverride, null); } - public void subscribeNumberOfRFIDUsersSupportedAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfRFIDUsersSupportedAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void colorLoopSet(DefaultClusterCallback callback + , Integer updateFlags, Integer action, Integer direction, Integer time, Integer startHue, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + colorLoopSet(chipClusterPtr, callback, updateFlags, action, direction, time, startHue, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback) { - readNumberOfWeekDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); + public void stopMoveStep(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride) { + stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, null); } - public void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void stopMoveStep(DefaultClusterCallback callback + , Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); } - public void readNumberOfYearDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback) { - readNumberOfYearDaySchedulesSupportedPerUserAttribute(chipClusterPtr, callback); - } + public void moveColorTemperature(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer colorTemperatureMinimumMireds, Integer colorTemperatureMaximumMireds, Integer optionsMask, Integer optionsOverride) { + moveColorTemperature(chipClusterPtr, callback, moveMode, rate, colorTemperatureMinimumMireds, colorTemperatureMaximumMireds, optionsMask, optionsOverride, null); + } + + public void moveColorTemperature(DefaultClusterCallback callback + , Integer moveMode, Integer rate, Integer colorTemperatureMinimumMireds, Integer colorTemperatureMaximumMireds, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + moveColorTemperature(chipClusterPtr, callback, moveMode, rate, colorTemperatureMinimumMireds, colorTemperatureMaximumMireds, optionsMask, optionsOverride, timedInvokeTimeoutMs); + } + + public void stepColorTemperature(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer colorTemperatureMinimumMireds, Integer colorTemperatureMaximumMireds, Integer optionsMask, Integer optionsOverride) { + stepColorTemperature(chipClusterPtr, callback, stepMode, stepSize, transitionTime, colorTemperatureMinimumMireds, colorTemperatureMaximumMireds, optionsMask, optionsOverride, null); + } + + public void stepColorTemperature(DefaultClusterCallback callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer colorTemperatureMinimumMireds, Integer colorTemperatureMaximumMireds, Integer optionsMask, Integer optionsOverride + , int timedInvokeTimeoutMs) { + stepColorTemperature(chipClusterPtr, callback, stepMode, stepSize, transitionTime, colorTemperatureMinimumMireds, colorTemperatureMaximumMireds, optionsMask, optionsOverride, timedInvokeTimeoutMs); + } + private native void moveToHue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer hue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveHue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stepHue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveToSaturation(long chipClusterPtr, DefaultClusterCallback Callback + , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveSaturation(long chipClusterPtr, DefaultClusterCallback Callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stepSaturation(long chipClusterPtr, DefaultClusterCallback Callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveToHueAndSaturation(long chipClusterPtr, DefaultClusterCallback Callback + , Integer hue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveToColor(long chipClusterPtr, DefaultClusterCallback Callback + , Integer colorX, Integer colorY, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveColor(long chipClusterPtr, DefaultClusterCallback Callback + , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stepColor(long chipClusterPtr, DefaultClusterCallback Callback + , Integer stepX, Integer stepY, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveToColorTemperature(long chipClusterPtr, DefaultClusterCallback Callback + , Integer colorTemperatureMireds, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void enhancedMoveToHue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer enhancedHue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void enhancedMoveHue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void enhancedStepHue(long chipClusterPtr, DefaultClusterCallback Callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void enhancedMoveToHueAndSaturation(long chipClusterPtr, DefaultClusterCallback Callback + , Integer enhancedHue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void colorLoopSet(long chipClusterPtr, DefaultClusterCallback Callback + , Integer updateFlags, Integer action, Integer direction, Integer time, Integer startHue, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stopMoveStep(long chipClusterPtr, DefaultClusterCallback Callback + , Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void moveColorTemperature(long chipClusterPtr, DefaultClusterCallback Callback + , Integer moveMode, Integer rate, Integer colorTemperatureMinimumMireds, Integer colorTemperatureMaximumMireds, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + private native void stepColorTemperature(long chipClusterPtr, DefaultClusterCallback Callback + , Integer stepMode, Integer stepSize, Integer transitionTime, Integer colorTemperatureMinimumMireds, Integer colorTemperatureMaximumMireds, Integer optionsMask, Integer optionsOverride + , @Nullable Integer timedInvokeTimeoutMs); + + public interface NumberOfPrimariesAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface Primary1IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface Primary2IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface Primary3IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface Primary4IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface Primary5IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface Primary6IntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ColorPointRIntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ColorPointGIntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ColorPointBIntensityAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface StartUpColorTemperatureMiredsAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentHueAttribute( + IntegerAttributeCallback callback + ) { + readCurrentHueAttribute(chipClusterPtr, callback); } - - public void readNumberOfHolidaySchedulesSupportedAttribute(IntegerAttributeCallback callback) { - readNumberOfHolidaySchedulesSupportedAttribute(chipClusterPtr, callback); + public void subscribeCurrentHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfHolidaySchedulesSupportedAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfHolidaySchedulesSupportedAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentSaturationAttribute( + IntegerAttributeCallback callback + ) { + readCurrentSaturationAttribute(chipClusterPtr, callback); } - - public void readMaxPINCodeLengthAttribute(IntegerAttributeCallback callback) { - readMaxPINCodeLengthAttribute(chipClusterPtr, callback); + public void subscribeCurrentSaturationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentSaturationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxPINCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRemainingTimeAttribute( + IntegerAttributeCallback callback + ) { + readRemainingTimeAttribute(chipClusterPtr, callback); } - - public void readMinPINCodeLengthAttribute(IntegerAttributeCallback callback) { - readMinPINCodeLengthAttribute(chipClusterPtr, callback); + public void subscribeRemainingTimeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinPINCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinPINCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentXAttribute( + IntegerAttributeCallback callback + ) { + readCurrentXAttribute(chipClusterPtr, callback); } - - public void readMaxRFIDCodeLengthAttribute(IntegerAttributeCallback callback) { - readMaxRFIDCodeLengthAttribute(chipClusterPtr, callback); + public void subscribeCurrentXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxRFIDCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentYAttribute( + IntegerAttributeCallback callback + ) { + readCurrentYAttribute(chipClusterPtr, callback); } - - public void readMinRFIDCodeLengthAttribute(IntegerAttributeCallback callback) { - readMinRFIDCodeLengthAttribute(chipClusterPtr, callback); + public void subscribeCurrentYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinRFIDCodeLengthAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinRFIDCodeLengthAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readDriftCompensationAttribute( + IntegerAttributeCallback callback + ) { + readDriftCompensationAttribute(chipClusterPtr, callback); } - - public void readCredentialRulesSupportAttribute(IntegerAttributeCallback callback) { - readCredentialRulesSupportAttribute(chipClusterPtr, callback); + public void subscribeDriftCompensationAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDriftCompensationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCredentialRulesSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCredentialRulesSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCompensationTextAttribute( + CharStringAttributeCallback callback + ) { + readCompensationTextAttribute(chipClusterPtr, callback); } - - public void readNumberOfCredentialsSupportedPerUserAttribute( - IntegerAttributeCallback callback) { - readNumberOfCredentialsSupportedPerUserAttribute(chipClusterPtr, callback); + public void subscribeCompensationTextAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCompensationTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfCredentialsSupportedPerUserAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfCredentialsSupportedPerUserAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readColorTemperatureMiredsAttribute( + IntegerAttributeCallback callback + ) { + readColorTemperatureMiredsAttribute(chipClusterPtr, callback); } - - public void readLanguageAttribute(CharStringAttributeCallback callback) { - readLanguageAttribute(chipClusterPtr, callback); + public void subscribeColorTemperatureMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLanguageAttribute(DefaultClusterCallback callback, String value) { - writeLanguageAttribute(chipClusterPtr, callback, value, null); + public void readColorModeAttribute( + IntegerAttributeCallback callback + ) { + readColorModeAttribute(chipClusterPtr, callback); } - - public void writeLanguageAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLanguageAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeColorModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLanguageAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLanguageAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOptionsAttribute( + IntegerAttributeCallback callback + ) { + readOptionsAttribute(chipClusterPtr, callback); } - - public void readLEDSettingsAttribute(IntegerAttributeCallback callback) { - readLEDSettingsAttribute(chipClusterPtr, callback); + public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value) { + writeOptionsAttribute(chipClusterPtr, callback, value, null); } - public void writeLEDSettingsAttribute(DefaultClusterCallback callback, Integer value) { - writeLEDSettingsAttribute(chipClusterPtr, callback, value, null); + public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void writeLEDSettingsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLEDSettingsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeOptionsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLEDSettingsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLEDSettingsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readNumberOfPrimariesAttribute( + NumberOfPrimariesAttributeCallback callback + ) { + readNumberOfPrimariesAttribute(chipClusterPtr, callback); } - - public void readAutoRelockTimeAttribute(LongAttributeCallback callback) { - readAutoRelockTimeAttribute(chipClusterPtr, callback); + public void subscribeNumberOfPrimariesAttribute( + NumberOfPrimariesAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNumberOfPrimariesAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeAutoRelockTimeAttribute(DefaultClusterCallback callback, Long value) { - writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, null); + public void readPrimary1XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary1XAttribute(chipClusterPtr, callback); } - - public void writeAutoRelockTimeAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeAutoRelockTimeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary1XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary1XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAutoRelockTimeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAutoRelockTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary1YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary1YAttribute(chipClusterPtr, callback); } - - public void readSoundVolumeAttribute(IntegerAttributeCallback callback) { - readSoundVolumeAttribute(chipClusterPtr, callback); + public void subscribePrimary1YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary1YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSoundVolumeAttribute(DefaultClusterCallback callback, Integer value) { - writeSoundVolumeAttribute(chipClusterPtr, callback, value, null); + public void readPrimary1IntensityAttribute( + Primary1IntensityAttributeCallback callback + ) { + readPrimary1IntensityAttribute(chipClusterPtr, callback); } - - public void writeSoundVolumeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSoundVolumeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary1IntensityAttribute( + Primary1IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary1IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSoundVolumeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSoundVolumeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary2XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary2XAttribute(chipClusterPtr, callback); } - - public void readOperatingModeAttribute(IntegerAttributeCallback callback) { - readOperatingModeAttribute(chipClusterPtr, callback); + public void subscribePrimary2XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary2XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOperatingModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOperatingModeAttribute(chipClusterPtr, callback, value, null); + public void readPrimary2YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary2YAttribute(chipClusterPtr, callback); } - - public void writeOperatingModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOperatingModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary2YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary2YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOperatingModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOperatingModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary2IntensityAttribute( + Primary2IntensityAttributeCallback callback + ) { + readPrimary2IntensityAttribute(chipClusterPtr, callback); } - - public void readSupportedOperatingModesAttribute(IntegerAttributeCallback callback) { - readSupportedOperatingModesAttribute(chipClusterPtr, callback); + public void subscribePrimary2IntensityAttribute( + Primary2IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary2IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSupportedOperatingModesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedOperatingModesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary3XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary3XAttribute(chipClusterPtr, callback); } - - public void readDefaultConfigurationRegisterAttribute(IntegerAttributeCallback callback) { - readDefaultConfigurationRegisterAttribute(chipClusterPtr, callback); + public void subscribePrimary3XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary3XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDefaultConfigurationRegisterAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDefaultConfigurationRegisterAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary3YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary3YAttribute(chipClusterPtr, callback); } - - public void readEnableLocalProgrammingAttribute(BooleanAttributeCallback callback) { - readEnableLocalProgrammingAttribute(chipClusterPtr, callback); + public void subscribePrimary3YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary3YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeEnableLocalProgrammingAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, null); + public void readPrimary3IntensityAttribute( + Primary3IntensityAttributeCallback callback + ) { + readPrimary3IntensityAttribute(chipClusterPtr, callback); } - - public void writeEnableLocalProgrammingAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnableLocalProgrammingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary3IntensityAttribute( + Primary3IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary3IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnableLocalProgrammingAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnableLocalProgrammingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary4XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary4XAttribute(chipClusterPtr, callback); } - - public void readEnableOneTouchLockingAttribute(BooleanAttributeCallback callback) { - readEnableOneTouchLockingAttribute(chipClusterPtr, callback); + public void subscribePrimary4XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary4XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeEnableOneTouchLockingAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, null); + public void readPrimary4YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary4YAttribute(chipClusterPtr, callback); } - - public void writeEnableOneTouchLockingAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnableOneTouchLockingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary4YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary4YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnableOneTouchLockingAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnableOneTouchLockingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary4IntensityAttribute( + Primary4IntensityAttributeCallback callback + ) { + readPrimary4IntensityAttribute(chipClusterPtr, callback); } - - public void readEnableInsideStatusLEDAttribute(BooleanAttributeCallback callback) { - readEnableInsideStatusLEDAttribute(chipClusterPtr, callback); + public void subscribePrimary4IntensityAttribute( + Primary4IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary4IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeEnableInsideStatusLEDAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, null); + public void readPrimary5XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary5XAttribute(chipClusterPtr, callback); } - - public void writeEnableInsideStatusLEDAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary5XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary5XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnableInsideStatusLEDAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnableInsideStatusLEDAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary5YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary5YAttribute(chipClusterPtr, callback); } - - public void readEnablePrivacyModeButtonAttribute(BooleanAttributeCallback callback) { - readEnablePrivacyModeButtonAttribute(chipClusterPtr, callback); + public void subscribePrimary5YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary5YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeEnablePrivacyModeButtonAttribute( - DefaultClusterCallback callback, Boolean value) { - writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, null); + public void readPrimary5IntensityAttribute( + Primary5IntensityAttributeCallback callback + ) { + readPrimary5IntensityAttribute(chipClusterPtr, callback); } - - public void writeEnablePrivacyModeButtonAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary5IntensityAttribute( + Primary5IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary5IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEnablePrivacyModeButtonAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnablePrivacyModeButtonAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary6XAttribute( + IntegerAttributeCallback callback + ) { + readPrimary6XAttribute(chipClusterPtr, callback); } - - public void readLocalProgrammingFeaturesAttribute(IntegerAttributeCallback callback) { - readLocalProgrammingFeaturesAttribute(chipClusterPtr, callback); + public void subscribePrimary6XAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary6XAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLocalProgrammingFeaturesAttribute( - DefaultClusterCallback callback, Integer value) { - writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, null); + public void readPrimary6YAttribute( + IntegerAttributeCallback callback + ) { + readPrimary6YAttribute(chipClusterPtr, callback); } - - public void writeLocalProgrammingFeaturesAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLocalProgrammingFeaturesAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePrimary6YAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePrimary6YAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLocalProgrammingFeaturesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLocalProgrammingFeaturesAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readPrimary6IntensityAttribute( + Primary6IntensityAttributeCallback callback + ) { + readPrimary6IntensityAttribute(chipClusterPtr, callback); } - - public void readWrongCodeEntryLimitAttribute(IntegerAttributeCallback callback) { - readWrongCodeEntryLimitAttribute(chipClusterPtr, callback); + public void subscribePrimary6IntensityAttribute( + Primary6IntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePrimary6IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWrongCodeEntryLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, null); + public void readWhitePointXAttribute( + IntegerAttributeCallback callback + ) { + readWhitePointXAttribute(chipClusterPtr, callback); } - - public void writeWrongCodeEntryLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value) { + writeWhitePointXAttribute(chipClusterPtr, callback, value, null); } - public void subscribeWrongCodeEntryLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWrongCodeEntryLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWhitePointXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readUserCodeTemporaryDisableTimeAttribute(IntegerAttributeCallback callback) { - readUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback); + public void subscribeWhitePointXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWhitePointXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeUserCodeTemporaryDisableTimeAttribute( - DefaultClusterCallback callback, Integer value) { - writeUserCodeTemporaryDisableTimeAttribute(chipClusterPtr, callback, value, null); + public void readWhitePointYAttribute( + IntegerAttributeCallback callback + ) { + readWhitePointYAttribute(chipClusterPtr, callback); } - - public void writeUserCodeTemporaryDisableTimeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUserCodeTemporaryDisableTimeAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value) { + writeWhitePointYAttribute(chipClusterPtr, callback, value, null); } - public void subscribeUserCodeTemporaryDisableTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUserCodeTemporaryDisableTimeAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeWhitePointYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readSendPINOverTheAirAttribute(BooleanAttributeCallback callback) { - readSendPINOverTheAirAttribute(chipClusterPtr, callback); + public void subscribeWhitePointYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeWhitePointYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSendPINOverTheAirAttribute(DefaultClusterCallback callback, Boolean value) { - writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, null); + public void readColorPointRXAttribute( + IntegerAttributeCallback callback + ) { + readColorPointRXAttribute(chipClusterPtr, callback); } - - public void writeSendPINOverTheAirAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeSendPINOverTheAirAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRXAttribute(chipClusterPtr, callback, value, null); } - public void subscribeSendPINOverTheAirAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSendPINOverTheAirAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readRequirePINforRemoteOperationAttribute(BooleanAttributeCallback callback) { - readRequirePINforRemoteOperationAttribute(chipClusterPtr, callback); + public void subscribeColorPointRXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointRXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeRequirePINforRemoteOperationAttribute( - DefaultClusterCallback callback, Boolean value) { - writeRequirePINforRemoteOperationAttribute(chipClusterPtr, callback, value, null); + public void readColorPointRYAttribute( + IntegerAttributeCallback callback + ) { + readColorPointRYAttribute(chipClusterPtr, callback); + } + public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRYAttribute(chipClusterPtr, callback, value, null); } - public void writeRequirePINforRemoteOperationAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { - writeRequirePINforRemoteOperationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointRYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointRYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRequirePINforRemoteOperationAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRequirePINforRemoteOperationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readColorPointRIntensityAttribute( + ColorPointRIntensityAttributeCallback callback + ) { + readColorPointRIntensityAttribute(chipClusterPtr, callback); + } + public void writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, null); } - public void readExpiringUserTimeoutAttribute(IntegerAttributeCallback callback) { - readExpiringUserTimeoutAttribute(chipClusterPtr, callback); + public void writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointRIntensityAttribute( + ColorPointRIntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeColorPointRIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeExpiringUserTimeoutAttribute(DefaultClusterCallback callback, Integer value) { - writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, null); + public void readColorPointGXAttribute( + IntegerAttributeCallback callback + ) { + readColorPointGXAttribute(chipClusterPtr, callback); + } + public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointGXAttribute(chipClusterPtr, callback, value, null); } - public void writeExpiringUserTimeoutAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeExpiringUserTimeoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointGXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointGXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointGXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeExpiringUserTimeoutAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeExpiringUserTimeoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorPointGYAttribute( + IntegerAttributeCallback callback + ) { + readColorPointGYAttribute(chipClusterPtr, callback); + } + public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointGYAttribute(chipClusterPtr, callback, value, null); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointGYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointGYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointGYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorPointGIntensityAttribute( + ColorPointGIntensityAttributeCallback callback + ) { + readColorPointGIntensityAttribute(chipClusterPtr, callback); + } + public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, null); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointGIntensityAttribute( + ColorPointGIntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeColorPointGIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorPointBXAttribute( + IntegerAttributeCallback callback + ) { + readColorPointBXAttribute(chipClusterPtr, callback); + } + public void writeColorPointBXAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointBXAttribute(chipClusterPtr, callback, value, null); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void writeColorPointBXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointBXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointBXAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointBXAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorPointBYAttribute( + IntegerAttributeCallback callback + ) { + readColorPointBYAttribute(chipClusterPtr, callback); + } + public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointBYAttribute(chipClusterPtr, callback, value, null); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointBYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointBYAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorPointBYAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorPointBIntensityAttribute( + ColorPointBIntensityAttributeCallback callback + ) { + readColorPointBIntensityAttribute(chipClusterPtr, callback); + } + public void writeColorPointBIntensityAttribute(DefaultClusterCallback callback, Integer value) { + writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, null); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void writeColorPointBIntensityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeColorPointBIntensityAttribute( + ColorPointBIntensityAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeColorPointBIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEnhancedCurrentHueAttribute( + IntegerAttributeCallback callback + ) { + readEnhancedCurrentHueAttribute(chipClusterPtr, callback); + } + public void subscribeEnhancedCurrentHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnhancedCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readEnhancedColorModeAttribute( + IntegerAttributeCallback callback + ) { + readEnhancedColorModeAttribute(chipClusterPtr, callback); + } + public void subscribeEnhancedColorModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeEnhancedColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readColorLoopActiveAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopActiveAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopActiveAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopActiveAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readLockStateAttribute( - long chipClusterPtr, LockStateAttributeCallback callback); + public void readColorLoopDirectionAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopDirectionAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopDirectionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeLockStateAttribute( - long chipClusterPtr, LockStateAttributeCallback callback, int minInterval, int maxInterval); + public void readColorLoopTimeAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopTimeAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopTimeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readLockTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readColorLoopStartEnhancedHueAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopStartEnhancedHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeLockTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readColorLoopStoredEnhancedHueAttribute( + IntegerAttributeCallback callback + ) { + readColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback); + } + public void subscribeColorLoopStoredEnhancedHueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readActuatorEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); + public void readColorCapabilitiesAttribute( + IntegerAttributeCallback callback + ) { + readColorCapabilitiesAttribute(chipClusterPtr, callback); + } + public void subscribeColorCapabilitiesAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeActuatorEnabledAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); + public void readColorTempPhysicalMinMiredsAttribute( + IntegerAttributeCallback callback + ) { + readColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback); + } + public void subscribeColorTempPhysicalMinMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readDoorStateAttribute( - long chipClusterPtr, DoorStateAttributeCallback callback); + public void readColorTempPhysicalMaxMiredsAttribute( + IntegerAttributeCallback callback + ) { + readColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback); + } + public void subscribeColorTempPhysicalMaxMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeDoorStateAttribute( - long chipClusterPtr, DoorStateAttributeCallback callback, int minInterval, int maxInterval); + public void readCoupleColorTempToLevelMinMiredsAttribute( + IntegerAttributeCallback callback + ) { + readCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback); + } + public void subscribeCoupleColorTempToLevelMinMiredsAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readDoorOpenEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readStartUpColorTemperatureMiredsAttribute( + StartUpColorTemperatureMiredsAttributeCallback callback + ) { + readStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback); + } + public void writeStartUpColorTemperatureMiredsAttribute(DefaultClusterCallback callback, Integer value) { + writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, null); + } - private native void writeDoorOpenEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); + public void writeStartUpColorTemperatureMiredsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeStartUpColorTemperatureMiredsAttribute( + StartUpColorTemperatureMiredsAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeDoorOpenEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readDoorClosedEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeDoorClosedEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeDoorClosedEventsAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readOpenPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeOpenPeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeOpenPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readCurrentHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentSaturationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentSaturationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRemainingTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRemainingTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDriftCompensationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDriftCompensationAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCompensationTextAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeCompensationTextAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorTemperatureMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorTemperatureMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOptionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOptionsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOptionsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNumberOfPrimariesAttribute(long chipClusterPtr, + NumberOfPrimariesAttributeCallback callback + ); + private native void subscribeNumberOfPrimariesAttribute(long chipClusterPtr, + NumberOfPrimariesAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPrimary1XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary1XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary1YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary1YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary1IntensityAttribute(long chipClusterPtr, + Primary1IntensityAttributeCallback callback + ); + private native void subscribePrimary1IntensityAttribute(long chipClusterPtr, + Primary1IntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPrimary2XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary2XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary2YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary2YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary2IntensityAttribute(long chipClusterPtr, + Primary2IntensityAttributeCallback callback + ); + private native void subscribePrimary2IntensityAttribute(long chipClusterPtr, + Primary2IntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPrimary3XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary3XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary3YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary3YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary3IntensityAttribute(long chipClusterPtr, + Primary3IntensityAttributeCallback callback + ); + private native void subscribePrimary3IntensityAttribute(long chipClusterPtr, + Primary3IntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPrimary4XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary4XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary4YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary4YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary4IntensityAttribute(long chipClusterPtr, + Primary4IntensityAttributeCallback callback + ); + private native void subscribePrimary4IntensityAttribute(long chipClusterPtr, + Primary4IntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPrimary5XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary5XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary5YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary5YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary5IntensityAttribute(long chipClusterPtr, + Primary5IntensityAttributeCallback callback + ); + private native void subscribePrimary5IntensityAttribute(long chipClusterPtr, + Primary5IntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPrimary6XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary6XAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary6YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePrimary6YAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPrimary6IntensityAttribute(long chipClusterPtr, + Primary6IntensityAttributeCallback callback + ); + private native void subscribePrimary6IntensityAttribute(long chipClusterPtr, + Primary6IntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readWhitePointXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeWhitePointXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeWhitePointXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readWhitePointYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeWhitePointYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeWhitePointYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorPointRXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeColorPointRXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointRXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorPointRYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeColorPointRYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointRYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorPointRIntensityAttribute(long chipClusterPtr, + ColorPointRIntensityAttributeCallback callback + ); + + private native void writeColorPointRIntensityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointRIntensityAttribute(long chipClusterPtr, + ColorPointRIntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readColorPointGXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeColorPointGXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointGXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorPointGYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeColorPointGYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointGYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorPointGIntensityAttribute(long chipClusterPtr, + ColorPointGIntensityAttributeCallback callback + ); + + private native void writeColorPointGIntensityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointGIntensityAttribute(long chipClusterPtr, + ColorPointGIntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readColorPointBXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeColorPointBXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointBXAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorPointBYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeColorPointBYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointBYAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorPointBIntensityAttribute(long chipClusterPtr, + ColorPointBIntensityAttributeCallback callback + ); + + private native void writeColorPointBIntensityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeColorPointBIntensityAttribute(long chipClusterPtr, + ColorPointBIntensityAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEnhancedCurrentHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeEnhancedCurrentHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEnhancedColorModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeEnhancedColorModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorLoopActiveAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorLoopActiveAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorLoopDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorLoopDirectionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorLoopTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorLoopTimeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorLoopStartEnhancedHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorLoopStartEnhancedHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorLoopStoredEnhancedHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorLoopStoredEnhancedHueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorCapabilitiesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorCapabilitiesAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorTempPhysicalMinMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorTempPhysicalMinMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readColorTempPhysicalMaxMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeColorTempPhysicalMaxMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCoupleColorTempToLevelMinMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCoupleColorTempToLevelMinMiredsAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStartUpColorTemperatureMiredsAttribute(long chipClusterPtr, + StartUpColorTemperatureMiredsAttributeCallback callback + ); + + private native void writeStartUpColorTemperatureMiredsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeStartUpColorTemperatureMiredsAttribute(long chipClusterPtr, + StartUpColorTemperatureMiredsAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readNumberOfTotalUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public static class BallastConfigurationCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 769L; - private native void subscribeNumberOfTotalUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public BallastConfigurationCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readNumberOfPINUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeNumberOfPINUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public interface IntrinsicBallastFactorAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface BallastFactorAdjustmentAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LampRatedHoursAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LampBurnHoursAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LampBurnHoursTripPointAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void readNumberOfRFIDUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readPhysicalMinLevelAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalMinLevelAttribute(chipClusterPtr, callback); + } + public void subscribePhysicalMinLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeNumberOfRFIDUsersSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readPhysicalMaxLevelAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalMaxLevelAttribute(chipClusterPtr, callback); + } + public void subscribePhysicalMaxLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readNumberOfWeekDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readBallastStatusAttribute( + IntegerAttributeCallback callback + ) { + readBallastStatusAttribute(chipClusterPtr, callback); + } + public void subscribeBallastStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeBallastStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeNumberOfWeekDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMinLevelAttribute( + IntegerAttributeCallback callback + ) { + readMinLevelAttribute(chipClusterPtr, callback); + } + public void writeMinLevelAttribute(DefaultClusterCallback callback, Integer value) { + writeMinLevelAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfYearDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void writeMinLevelAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMinLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeMinLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeNumberOfYearDaySchedulesSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMaxLevelAttribute( + IntegerAttributeCallback callback + ) { + readMaxLevelAttribute(chipClusterPtr, callback); + } + public void writeMaxLevelAttribute(DefaultClusterCallback callback, Integer value) { + writeMaxLevelAttribute(chipClusterPtr, callback, value, null); + } - private native void readNumberOfHolidaySchedulesSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void writeMaxLevelAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeMaxLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeMaxLevelAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeNumberOfHolidaySchedulesSupportedAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readIntrinsicBallastFactorAttribute( + IntrinsicBallastFactorAttributeCallback callback + ) { + readIntrinsicBallastFactorAttribute(chipClusterPtr, callback); + } + public void writeIntrinsicBallastFactorAttribute(DefaultClusterCallback callback, Integer value) { + writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, null); + } - private native void readMaxPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void writeIntrinsicBallastFactorAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeIntrinsicBallastFactorAttribute( + IntrinsicBallastFactorAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeMaxPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readBallastFactorAdjustmentAttribute( + BallastFactorAdjustmentAttributeCallback callback + ) { + readBallastFactorAdjustmentAttribute(chipClusterPtr, callback); + } + public void writeBallastFactorAdjustmentAttribute(DefaultClusterCallback callback, Integer value) { + writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, null); + } - private native void readMinPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void writeBallastFactorAdjustmentAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeBallastFactorAdjustmentAttribute( + BallastFactorAdjustmentAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeMinPINCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readLampQuantityAttribute( + IntegerAttributeCallback callback + ) { + readLampQuantityAttribute(chipClusterPtr, callback); + } + public void subscribeLampQuantityAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampQuantityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMaxRFIDCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readLampTypeAttribute( + CharStringAttributeCallback callback + ) { + readLampTypeAttribute(chipClusterPtr, callback); + } + public void writeLampTypeAttribute(DefaultClusterCallback callback, String value) { + writeLampTypeAttribute(chipClusterPtr, callback, value, null); + } - private native void subscribeMaxRFIDCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMinRFIDCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMinRFIDCodeLengthAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCredentialRulesSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCredentialRulesSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNumberOfCredentialsSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeNumberOfCredentialsSupportedPerUserAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLanguageAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeLanguageAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLanguageAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLEDSettingsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeLEDSettingsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLEDSettingsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAutoRelockTimeAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void writeAutoRelockTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeAutoRelockTimeAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSoundVolumeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeSoundVolumeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeSoundVolumeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOperatingModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeOperatingModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOperatingModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSupportedOperatingModesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSupportedOperatingModesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDefaultConfigurationRegisterAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDefaultConfigurationRegisterAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEnableLocalProgrammingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeEnableLocalProgrammingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEnableLocalProgrammingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEnableOneTouchLockingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeEnableOneTouchLockingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEnableOneTouchLockingAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEnableInsideStatusLEDAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeEnableInsideStatusLEDAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEnableInsideStatusLEDAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEnablePrivacyModeButtonAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeEnablePrivacyModeButtonAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEnablePrivacyModeButtonAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLocalProgrammingFeaturesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeLocalProgrammingFeaturesAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLocalProgrammingFeaturesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readWrongCodeEntryLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeWrongCodeEntryLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeWrongCodeEntryLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUserCodeTemporaryDisableTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeUserCodeTemporaryDisableTimeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeUserCodeTemporaryDisableTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSendPINOverTheAirAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeSendPINOverTheAirAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeSendPINOverTheAirAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRequirePINforRemoteOperationAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeRequirePINforRemoteOperationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRequirePINforRemoteOperationAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readExpiringUserTimeoutAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeExpiringUserTimeoutAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeExpiringUserTimeoutAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class WindowCoveringCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 258L; - - public WindowCoveringCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void writeLampTypeAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLampTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void upOrOpen(DefaultClusterCallback callback) { - upOrOpen(chipClusterPtr, callback, null); + public void subscribeLampTypeAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void upOrOpen(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - upOrOpen(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readLampManufacturerAttribute( + CharStringAttributeCallback callback + ) { + readLampManufacturerAttribute(chipClusterPtr, callback); } - - public void downOrClose(DefaultClusterCallback callback) { - downOrClose(chipClusterPtr, callback, null); + public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value) { + writeLampManufacturerAttribute(chipClusterPtr, callback, value, null); } - public void downOrClose(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - downOrClose(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + writeLampManufacturerAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void stopMotion(DefaultClusterCallback callback) { - stopMotion(chipClusterPtr, callback, null); + public void subscribeLampManufacturerAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampManufacturerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void stopMotion(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - stopMotion(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readLampRatedHoursAttribute( + LampRatedHoursAttributeCallback callback + ) { + readLampRatedHoursAttribute(chipClusterPtr, callback); } - - public void goToLiftValue(DefaultClusterCallback callback, Integer liftValue) { - goToLiftValue(chipClusterPtr, callback, liftValue, null); + public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLampRatedHoursAttribute(chipClusterPtr, callback, value, null); } - public void goToLiftValue( - DefaultClusterCallback callback, Integer liftValue, int timedInvokeTimeoutMs) { - goToLiftValue(chipClusterPtr, callback, liftValue, timedInvokeTimeoutMs); + public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampRatedHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void goToLiftPercentage( - DefaultClusterCallback callback, Integer liftPercent100thsValue) { - goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, null); + public void subscribeLampRatedHoursAttribute( + LampRatedHoursAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLampRatedHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void goToLiftPercentage( - DefaultClusterCallback callback, Integer liftPercent100thsValue, int timedInvokeTimeoutMs) { - goToLiftPercentage(chipClusterPtr, callback, liftPercent100thsValue, timedInvokeTimeoutMs); + public void readLampBurnHoursAttribute( + LampBurnHoursAttributeCallback callback + ) { + readLampBurnHoursAttribute(chipClusterPtr, callback); } - - public void goToTiltValue(DefaultClusterCallback callback, Integer tiltValue) { - goToTiltValue(chipClusterPtr, callback, tiltValue, null); + public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value) { + writeLampBurnHoursAttribute(chipClusterPtr, callback, value, null); } - public void goToTiltValue( - DefaultClusterCallback callback, Integer tiltValue, int timedInvokeTimeoutMs) { - goToTiltValue(chipClusterPtr, callback, tiltValue, timedInvokeTimeoutMs); + public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampBurnHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void goToTiltPercentage( - DefaultClusterCallback callback, Integer tiltPercent100thsValue) { - goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, null); + public void subscribeLampBurnHoursAttribute( + LampBurnHoursAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLampBurnHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void goToTiltPercentage( - DefaultClusterCallback callback, Integer tiltPercent100thsValue, int timedInvokeTimeoutMs) { - goToTiltPercentage(chipClusterPtr, callback, tiltPercent100thsValue, timedInvokeTimeoutMs); + public void readLampAlarmModeAttribute( + IntegerAttributeCallback callback + ) { + readLampAlarmModeAttribute(chipClusterPtr, callback); } - - private native void upOrOpen( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void downOrClose( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stopMotion( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void goToLiftValue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer liftValue, - @Nullable Integer timedInvokeTimeoutMs); - - private native void goToLiftPercentage( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer liftPercent100thsValue, - @Nullable Integer timedInvokeTimeoutMs); - - private native void goToTiltValue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer tiltValue, - @Nullable Integer timedInvokeTimeoutMs); - - private native void goToTiltPercentage( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer tiltPercent100thsValue, - @Nullable Integer timedInvokeTimeoutMs); - - public interface CurrentPositionLiftAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value) { + writeLampAlarmModeAttribute(chipClusterPtr, callback, value, null); } - public interface CurrentPositionTiltAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeLampAlarmModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface CurrentPositionLiftPercentageAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeLampAlarmModeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLampAlarmModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface CurrentPositionTiltPercentageAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLampBurnHoursTripPointAttribute( + LampBurnHoursTripPointAttributeCallback callback + ) { + readLampBurnHoursTripPointAttribute(chipClusterPtr, callback); } - - public interface TargetPositionLiftPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value) { + writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, null); } - public interface TargetPositionTiltPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public interface CurrentPositionLiftPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeLampBurnHoursTripPointAttribute( + LampBurnHoursTripPointAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface CurrentPositionTiltPercent100thsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + private native void readPhysicalMinLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePhysicalMinLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPhysicalMaxLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePhysicalMaxLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBallastStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeBallastStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMinLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeMinLevelAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMinLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMaxLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeMaxLevelAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeMaxLevelAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readIntrinsicBallastFactorAttribute(long chipClusterPtr, + IntrinsicBallastFactorAttributeCallback callback + ); + + private native void writeIntrinsicBallastFactorAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeIntrinsicBallastFactorAttribute(long chipClusterPtr, + IntrinsicBallastFactorAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readBallastFactorAdjustmentAttribute(long chipClusterPtr, + BallastFactorAdjustmentAttributeCallback callback + ); + + private native void writeBallastFactorAdjustmentAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBallastFactorAdjustmentAttribute(long chipClusterPtr, + BallastFactorAdjustmentAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLampQuantityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLampQuantityAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLampTypeAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeLampTypeAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLampTypeAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLampManufacturerAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeLampManufacturerAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLampManufacturerAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLampRatedHoursAttribute(long chipClusterPtr, + LampRatedHoursAttributeCallback callback + ); + + private native void writeLampRatedHoursAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLampRatedHoursAttribute(long chipClusterPtr, + LampRatedHoursAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLampBurnHoursAttribute(long chipClusterPtr, + LampBurnHoursAttributeCallback callback + ); + + private native void writeLampBurnHoursAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLampBurnHoursAttribute(long chipClusterPtr, + LampBurnHoursAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLampAlarmModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeLampAlarmModeAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLampAlarmModeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLampBurnHoursTripPointAttribute(long chipClusterPtr, + LampBurnHoursTripPointAttributeCallback callback + ); + + private native void writeLampBurnHoursTripPointAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLampBurnHoursTripPointAttribute(long chipClusterPtr, + LampBurnHoursTripPointAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - void onError(Exception ex); + public static class IlluminanceMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1024L; - default void onSubscriptionEstablished(long subscriptionId) {} + public IlluminanceMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface LightSensorTypeAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readTypeAttribute(IntegerAttributeCallback callback) { - readTypeAttribute(chipClusterPtr, callback); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readPhysicalClosedLimitLiftAttribute(IntegerAttributeCallback callback) { - readPhysicalClosedLimitLiftAttribute(chipClusterPtr, callback); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalClosedLimitLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalClosedLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readPhysicalClosedLimitTiltAttribute(IntegerAttributeCallback callback) { - readPhysicalClosedLimitTiltAttribute(chipClusterPtr, callback); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalClosedLimitTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalClosedLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionLiftAttribute(CurrentPositionLiftAttributeCallback callback) { - readCurrentPositionLiftAttribute(chipClusterPtr, callback); + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionLiftAttribute( - CurrentPositionLiftAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLightSensorTypeAttribute( + LightSensorTypeAttributeCallback callback + ) { + readLightSensorTypeAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionTiltAttribute(CurrentPositionTiltAttributeCallback callback) { - readCurrentPositionTiltAttribute(chipClusterPtr, callback); + public void subscribeLightSensorTypeAttribute( + LightSensorTypeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeLightSensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionTiltAttribute( - CurrentPositionTiltAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readNumberOfActuationsLiftAttribute(IntegerAttributeCallback callback) { - readNumberOfActuationsLiftAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfActuationsLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfActuationsLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readNumberOfActuationsTiltAttribute(IntegerAttributeCallback callback) { - readNumberOfActuationsTiltAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfActuationsTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfActuationsTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readConfigStatusAttribute(IntegerAttributeCallback callback) { - readConfigStatusAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeConfigStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeConfigStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionLiftPercentageAttribute( - CurrentPositionLiftPercentageAttributeCallback callback) { - readCurrentPositionLiftPercentageAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionLiftPercentageAttribute( - CurrentPositionLiftPercentageAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionLiftPercentageAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readCurrentPositionTiltPercentageAttribute( - CurrentPositionTiltPercentageAttributeCallback callback) { - readCurrentPositionTiltPercentageAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionTiltPercentageAttribute( - CurrentPositionTiltPercentageAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentPositionTiltPercentageAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readOperationalStatusAttribute(IntegerAttributeCallback callback) { - readOperationalStatusAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOperationalStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOperationalStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLightSensorTypeAttribute(long chipClusterPtr, + LightSensorTypeAttributeCallback callback + ); + private native void subscribeLightSensorTypeAttribute(long chipClusterPtr, + LightSensorTypeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readTargetPositionLiftPercent100thsAttribute( - TargetPositionLiftPercent100thsAttributeCallback callback) { - readTargetPositionLiftPercent100thsAttribute(chipClusterPtr, callback); - } + public static class TemperatureMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1026L; - public void subscribeTargetPositionLiftPercent100thsAttribute( - TargetPositionLiftPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeTargetPositionLiftPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public TemperatureMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readTargetPositionTiltPercent100thsAttribute( - TargetPositionTiltPercent100thsAttributeCallback callback) { - readTargetPositionTiltPercent100thsAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeTargetPositionTiltPercent100thsAttribute( - TargetPositionTiltPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeTargetPositionTiltPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readEndProductTypeAttribute(IntegerAttributeCallback callback) { - readEndProductTypeAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEndProductTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEndProductTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentPositionLiftPercent100thsAttribute( - CurrentPositionLiftPercent100thsAttributeCallback callback) { - readCurrentPositionLiftPercent100thsAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionLiftPercent100thsAttribute( - CurrentPositionLiftPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeCurrentPositionLiftPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); + } + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentPositionTiltPercent100thsAttribute( - CurrentPositionTiltPercent100thsAttributeCallback callback) { - readCurrentPositionTiltPercent100thsAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentPositionTiltPercent100thsAttribute( - CurrentPositionTiltPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeCurrentPositionTiltPercent100thsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInstalledOpenLimitLiftAttribute(IntegerAttributeCallback callback) { - readInstalledOpenLimitLiftAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstalledOpenLimitLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledOpenLimitLiftAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInstalledClosedLimitLiftAttribute(IntegerAttributeCallback callback) { - readInstalledClosedLimitLiftAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstalledClosedLimitLiftAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledClosedLimitLiftAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInstalledOpenLimitTiltAttribute(IntegerAttributeCallback callback) { - readInstalledOpenLimitTiltAttribute(chipClusterPtr, callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } + + public static class PressureMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1027L; + + public PressureMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeInstalledOpenLimitTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledOpenLimitTiltAttribute(chipClusterPtr, callback, minInterval, maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ScaledValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinScaledValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxScaledValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInstalledClosedLimitTiltAttribute(IntegerAttributeCallback callback) { - readInstalledClosedLimitTiltAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeInstalledClosedLimitTiltAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstalledClosedLimitTiltAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readModeAttribute(IntegerAttributeCallback callback) { - readModeAttribute(chipClusterPtr, callback); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); + } + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeModeAttribute(DefaultClusterCallback callback, Integer value) { - writeModeAttribute(chipClusterPtr, callback, value, null); + public void readScaledValueAttribute( + ScaledValueAttributeCallback callback + ) { + readScaledValueAttribute(chipClusterPtr, callback); + } + public void subscribeScaledValueAttribute( + ScaledValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMinScaledValueAttribute( + MinScaledValueAttributeCallback callback + ) { + readMinScaledValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinScaledValueAttribute( + MinScaledValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxScaledValueAttribute( + MaxScaledValueAttributeCallback callback + ) { + readMaxScaledValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxScaledValueAttribute( + MaxScaledValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSafetyStatusAttribute(IntegerAttributeCallback callback) { - readSafetyStatusAttribute(chipClusterPtr, callback); + public void readScaledToleranceAttribute( + IntegerAttributeCallback callback + ) { + readScaledToleranceAttribute(chipClusterPtr, callback); + } + public void subscribeScaledToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeScaledToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSafetyStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readScaleAttribute( + IntegerAttributeCallback callback + ) { + readScaleAttribute(chipClusterPtr, callback); + } + public void subscribeScaleAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeScaleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readTypeAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPhysicalClosedLimitLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readScaledValueAttribute(long chipClusterPtr, + ScaledValueAttributeCallback callback + ); + private native void subscribeScaledValueAttribute(long chipClusterPtr, + ScaledValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinScaledValueAttribute(long chipClusterPtr, + MinScaledValueAttributeCallback callback + ); + private native void subscribeMinScaledValueAttribute(long chipClusterPtr, + MinScaledValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxScaledValueAttribute(long chipClusterPtr, + MaxScaledValueAttributeCallback callback + ); + private native void subscribeMaxScaledValueAttribute(long chipClusterPtr, + MaxScaledValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readScaledToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeScaledToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readScaleAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeScaleAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribePhysicalClosedLimitLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public static class FlowMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1028L; - private native void readPhysicalClosedLimitTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public FlowMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribePhysicalClosedLimitTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readCurrentPositionLiftAttribute( - long chipClusterPtr, CurrentPositionLiftAttributeCallback callback); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeCurrentPositionLiftAttribute( - long chipClusterPtr, - CurrentPositionLiftAttributeCallback callback, - int minInterval, - int maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readCurrentPositionTiltAttribute( - long chipClusterPtr, CurrentPositionTiltAttributeCallback callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeCurrentPositionTiltAttribute( - long chipClusterPtr, - CurrentPositionTiltAttributeCallback callback, - int minInterval, - int maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readNumberOfActuationsLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); + } + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeNumberOfActuationsLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readNumberOfActuationsTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeNumberOfActuationsTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readConfigStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeConfigStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readCurrentPositionLiftPercentageAttribute( - long chipClusterPtr, CurrentPositionLiftPercentageAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeCurrentPositionLiftPercentageAttribute( - long chipClusterPtr, - CurrentPositionLiftPercentageAttributeCallback callback, - int minInterval, - int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readCurrentPositionTiltPercentageAttribute( - long chipClusterPtr, CurrentPositionTiltPercentageAttributeCallback callback); + public static class RelativeHumidityMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1029L; - private native void subscribeCurrentPositionTiltPercentageAttribute( - long chipClusterPtr, - CurrentPositionTiltPercentageAttributeCallback callback, - int minInterval, - int maxInterval); + public RelativeHumidityMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readOperationalStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeOperationalStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTargetPositionLiftPercent100thsAttribute( - long chipClusterPtr, TargetPositionLiftPercent100thsAttributeCallback callback); - - private native void subscribeTargetPositionLiftPercent100thsAttribute( - long chipClusterPtr, - TargetPositionLiftPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readTargetPositionTiltPercent100thsAttribute( - long chipClusterPtr, TargetPositionTiltPercent100thsAttributeCallback callback); - - private native void subscribeTargetPositionTiltPercent100thsAttribute( - long chipClusterPtr, - TargetPositionTiltPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEndProductTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeEndProductTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentPositionLiftPercent100thsAttribute( - long chipClusterPtr, CurrentPositionLiftPercent100thsAttributeCallback callback); - - private native void subscribeCurrentPositionLiftPercent100thsAttribute( - long chipClusterPtr, - CurrentPositionLiftPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCurrentPositionTiltPercent100thsAttribute( - long chipClusterPtr, CurrentPositionTiltPercent100thsAttributeCallback callback); - - private native void subscribeCurrentPositionTiltPercent100thsAttribute( - long chipClusterPtr, - CurrentPositionTiltPercent100thsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readInstalledOpenLimitLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstalledOpenLimitLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstalledClosedLimitLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstalledClosedLimitLiftAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstalledOpenLimitTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstalledOpenLimitTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstalledClosedLimitTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstalledClosedLimitTiltAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readModeAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSafetyStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSafetyStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void readToleranceAttribute( + IntegerAttributeCallback callback + ) { + readToleranceAttribute(chipClusterPtr, callback); + } + public void subscribeToleranceAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeToleranceAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class BarrierControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 259L; + public static class OccupancySensingCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1030L; - public BarrierControlCluster(long devicePtr, int endpointId) { + public OccupancySensingCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void barrierControlGoToPercent(DefaultClusterCallback callback, Integer percentOpen) { - barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, null); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void barrierControlGoToPercent( - DefaultClusterCallback callback, Integer percentOpen, int timedInvokeTimeoutMs) { - barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, timedInvokeTimeoutMs); + public void readOccupancyAttribute( + IntegerAttributeCallback callback + ) { + readOccupancyAttribute(chipClusterPtr, callback); } - - public void barrierControlStop(DefaultClusterCallback callback) { - barrierControlStop(chipClusterPtr, callback, null); + public void subscribeOccupancyAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void barrierControlStop(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - barrierControlStop(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readOccupancySensorTypeAttribute( + IntegerAttributeCallback callback + ) { + readOccupancySensorTypeAttribute(chipClusterPtr, callback); } - - private native void barrierControlGoToPercent( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer percentOpen, - @Nullable Integer timedInvokeTimeoutMs); - - private native void barrierControlStop( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeOccupancySensorTypeAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancySensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readOccupancySensorTypeBitmapAttribute( + IntegerAttributeCallback callback + ) { + readOccupancySensorTypeBitmapAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeOccupancySensorTypeBitmapAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOccupancySensorTypeBitmapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPIROccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readBarrierMovingStateAttribute(IntegerAttributeCallback callback) { - readBarrierMovingStateAttribute(chipClusterPtr, callback); + public void writePIROccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierMovingStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierMovingStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIROccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierSafetyStatusAttribute(IntegerAttributeCallback callback) { - readBarrierSafetyStatusAttribute(chipClusterPtr, callback); + public void subscribePIROccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBarrierSafetyStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPIRUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); } - - public void readBarrierCapabilitiesAttribute(IntegerAttributeCallback callback) { - readBarrierCapabilitiesAttribute(chipClusterPtr, callback); + public void writePIRUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierCapabilitiesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIRUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierOpenEventsAttribute(IntegerAttributeCallback callback) { - readBarrierOpenEventsAttribute(chipClusterPtr, callback); + public void subscribePIRUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierOpenEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, null); + public void readPIRUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback + ) { + readPIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); } - - public void writeBarrierOpenEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writePIRUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { + writePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierOpenEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierOpenEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePIRUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierCloseEventsAttribute(IntegerAttributeCallback callback) { - readBarrierCloseEventsAttribute(chipClusterPtr, callback); + public void subscribePIRUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierCloseEventsAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, null); + public void readUltrasonicOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); } - - public void writeBarrierCloseEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeUltrasonicOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierCloseEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCloseEventsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeUltrasonicOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierCommandOpenEventsAttribute(IntegerAttributeCallback callback) { - readBarrierCommandOpenEventsAttribute(chipClusterPtr, callback); + public void subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierCommandOpenEventsAttribute( - DefaultClusterCallback callback, Integer value) { - writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, null); + public void readUltrasonicUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); } - - public void writeBarrierCommandOpenEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCommandOpenEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierCommandOpenEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCommandOpenEventsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierCommandCloseEventsAttribute(IntegerAttributeCallback callback) { - readBarrierCommandCloseEventsAttribute(chipClusterPtr, callback); + public void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierCommandCloseEventsAttribute( - DefaultClusterCallback callback, Integer value) { - writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, null); + public void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback + ) { + readUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); } - - public void writeBarrierCommandCloseEventsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierCommandCloseEventsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierCommandCloseEventsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierCommandCloseEventsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierOpenPeriodAttribute(IntegerAttributeCallback callback) { - readBarrierOpenPeriodAttribute(chipClusterPtr, callback); + public void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierOpenPeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, null); + public void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); } - - public void writeBarrierOpenPeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierOpenPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierOpenPeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierOpenPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void readBarrierClosePeriodAttribute(IntegerAttributeCallback callback) { - readBarrierClosePeriodAttribute(chipClusterPtr, callback); + public void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBarrierClosePeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, null); + public void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); } - - public void writeBarrierClosePeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBarrierClosePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierClosePeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierClosePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBarrierPositionAttribute(IntegerAttributeCallback callback) { - readBarrierPositionAttribute(chipClusterPtr, callback); + public void readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback + ) { + readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + } + public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value) { + writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); } - public void subscribeBarrierPositionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBarrierPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readBarrierMovingStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBarrierMovingStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readOccupancyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeOccupancyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOccupancySensorTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeOccupancySensorTypeAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOccupancySensorTypeBitmapAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeOccupancySensorTypeBitmapAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPIROccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writePIROccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePIROccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPIRUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writePIRUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePIRUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPIRUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writePIRUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePIRUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUltrasonicOccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeUltrasonicOccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUltrasonicUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeUltrasonicUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUltrasonicUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPhysicalContactOccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writePhysicalContactOccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPhysicalContactUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writePhysicalContactUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readBarrierSafetyStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public static class CarbonMonoxideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1036L; - private native void subscribeBarrierSafetyStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public CarbonMonoxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readBarrierCapabilitiesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeBarrierCapabilitiesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void readBarrierOpenEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeBarrierOpenEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeBarrierOpenEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readBarrierCloseEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeBarrierCloseEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBarrierCloseEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBarrierCommandOpenEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeBarrierCommandOpenEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBarrierCommandOpenEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBarrierCommandCloseEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeBarrierCommandCloseEventsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBarrierCommandCloseEventsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBarrierOpenPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeBarrierOpenPeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBarrierOpenPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBarrierClosePeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeBarrierClosePeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBarrierClosePeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBarrierPositionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBarrierPositionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class PumpConfigurationAndControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 512L; - - public PumpConfigurationAndControlCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MaxPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxSpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface MaxFlowAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinConstPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public interface MaxConstPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinCompPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public interface MaxCompPressureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinConstSpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public interface MaxConstSpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinConstFlowAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public interface MaxConstFlowAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinConstTempAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public interface MaxConstTempAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface CapacityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public interface SpeedAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LifetimeRunningHoursAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public interface PowerAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LifetimeEnergyConsumedAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - void onError(Exception ex); + public static class CarbonDioxideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1037L; - default void onSubscriptionEstablished(long subscriptionId) {} + public CarbonDioxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMaxPressureAttribute(MaxPressureAttributeCallback callback) { - readMaxPressureAttribute(chipClusterPtr, callback); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxPressureAttribute( - MaxPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMaxSpeedAttribute(MaxSpeedAttributeCallback callback) { - readMaxSpeedAttribute(chipClusterPtr, callback); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxSpeedAttribute( - MaxSpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMaxFlowAttribute(MaxFlowAttributeCallback callback) { - readMaxFlowAttribute(chipClusterPtr, callback); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxFlowAttribute( - MaxFlowAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMinConstPressureAttribute(MinConstPressureAttributeCallback callback) { - readMinConstPressureAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinConstPressureAttribute( - MinConstPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void readMaxConstPressureAttribute(MaxConstPressureAttributeCallback callback) { - readMaxConstPressureAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxConstPressureAttribute( - MaxConstPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMinCompPressureAttribute(MinCompPressureAttributeCallback callback) { - readMinCompPressureAttribute(chipClusterPtr, callback); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinCompPressureAttribute( - MinCompPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void readMaxCompPressureAttribute(MaxCompPressureAttributeCallback callback) { - readMaxCompPressureAttribute(chipClusterPtr, callback); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxCompPressureAttribute( - MaxCompPressureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxCompPressureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void readMinConstSpeedAttribute(MinConstSpeedAttributeCallback callback) { - readMinConstSpeedAttribute(chipClusterPtr, callback); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinConstSpeedAttribute( - MinConstSpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void readMaxConstSpeedAttribute(MaxConstSpeedAttributeCallback callback) { - readMaxConstSpeedAttribute(chipClusterPtr, callback); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxConstSpeedAttribute( - MaxConstSpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void readMinConstFlowAttribute(MinConstFlowAttributeCallback callback) { - readMinConstFlowAttribute(chipClusterPtr, callback); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinConstFlowAttribute( - MinConstFlowAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void readMaxConstFlowAttribute(MaxConstFlowAttributeCallback callback) { - readMaxConstFlowAttribute(chipClusterPtr, callback); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxConstFlowAttribute( - MaxConstFlowAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstFlowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readMinConstTempAttribute(MinConstTempAttributeCallback callback) { - readMinConstTempAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinConstTempAttribute( - MinConstTempAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readMaxConstTempAttribute(MaxConstTempAttributeCallback callback) { - readMaxConstTempAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxConstTempAttribute( - MaxConstTempAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxConstTempAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readPumpStatusAttribute(IntegerAttributeCallback callback) { - readPumpStatusAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePumpStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePumpStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readEffectiveOperationModeAttribute(IntegerAttributeCallback callback) { - readEffectiveOperationModeAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEffectiveOperationModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEffectiveOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readEffectiveControlModeAttribute(IntegerAttributeCallback callback) { - readEffectiveControlModeAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEffectiveControlModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEffectiveControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readCapacityAttribute(CapacityAttributeCallback callback) { - readCapacityAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCapacityAttribute( - CapacityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readSpeedAttribute(SpeedAttributeCallback callback) { - readSpeedAttribute(chipClusterPtr, callback); - } + public static class EthyleneConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1038L; - public void subscribeSpeedAttribute( - SpeedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public EthyleneConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readLifetimeRunningHoursAttribute(LifetimeRunningHoursAttributeCallback callback) { - readLifetimeRunningHoursAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void writeLifetimeRunningHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, null); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void writeLifetimeRunningHoursAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLifetimeRunningHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeLifetimeRunningHoursAttribute( - LifetimeRunningHoursAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLifetimeRunningHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPowerAttribute(PowerAttributeCallback callback) { - readPowerAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribePowerAttribute( - PowerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLifetimeEnergyConsumedAttribute( - LifetimeEnergyConsumedAttributeCallback callback) { - readLifetimeEnergyConsumedAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeLifetimeEnergyConsumedAttribute(DefaultClusterCallback callback, Long value) { - writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, null); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLifetimeEnergyConsumedAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeLifetimeEnergyConsumedAttribute( - LifetimeEnergyConsumedAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLifetimeEnergyConsumedAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOperationModeAttribute(IntegerAttributeCallback callback) { - readOperationModeAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void writeOperationModeAttribute(DefaultClusterCallback callback, Integer value) { - writeOperationModeAttribute(chipClusterPtr, callback, value, null); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOperationModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOperationModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOperationModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOperationModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readControlModeAttribute(IntegerAttributeCallback callback) { - readControlModeAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeControlModeAttribute(DefaultClusterCallback callback, Integer value) { - writeControlModeAttribute(chipClusterPtr, callback, value, null); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeControlModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeControlModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeControlModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeControlModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMaxPressureAttribute( - long chipClusterPtr, MaxPressureAttributeCallback callback); - - private native void subscribeMaxPressureAttribute( - long chipClusterPtr, - MaxPressureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxSpeedAttribute( - long chipClusterPtr, MaxSpeedAttributeCallback callback); - - private native void subscribeMaxSpeedAttribute( - long chipClusterPtr, MaxSpeedAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMaxFlowAttribute( - long chipClusterPtr, MaxFlowAttributeCallback callback); - - private native void subscribeMaxFlowAttribute( - long chipClusterPtr, MaxFlowAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMinConstPressureAttribute( - long chipClusterPtr, MinConstPressureAttributeCallback callback); - - private native void subscribeMinConstPressureAttribute( - long chipClusterPtr, - MinConstPressureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxConstPressureAttribute( - long chipClusterPtr, MaxConstPressureAttributeCallback callback); - - private native void subscribeMaxConstPressureAttribute( - long chipClusterPtr, - MaxConstPressureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinCompPressureAttribute( - long chipClusterPtr, MinCompPressureAttributeCallback callback); - - private native void subscribeMinCompPressureAttribute( - long chipClusterPtr, - MinCompPressureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxCompPressureAttribute( - long chipClusterPtr, MaxCompPressureAttributeCallback callback); - - private native void subscribeMaxCompPressureAttribute( - long chipClusterPtr, - MaxCompPressureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinConstSpeedAttribute( - long chipClusterPtr, MinConstSpeedAttributeCallback callback); - - private native void subscribeMinConstSpeedAttribute( - long chipClusterPtr, - MinConstSpeedAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxConstSpeedAttribute( - long chipClusterPtr, MaxConstSpeedAttributeCallback callback); - - private native void subscribeMaxConstSpeedAttribute( - long chipClusterPtr, - MaxConstSpeedAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinConstFlowAttribute( - long chipClusterPtr, MinConstFlowAttributeCallback callback); - - private native void subscribeMinConstFlowAttribute( - long chipClusterPtr, - MinConstFlowAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxConstFlowAttribute( - long chipClusterPtr, MaxConstFlowAttributeCallback callback); - - private native void subscribeMaxConstFlowAttribute( - long chipClusterPtr, - MaxConstFlowAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinConstTempAttribute( - long chipClusterPtr, MinConstTempAttributeCallback callback); - - private native void subscribeMinConstTempAttribute( - long chipClusterPtr, - MinConstTempAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxConstTempAttribute( - long chipClusterPtr, MaxConstTempAttributeCallback callback); - - private native void subscribeMaxConstTempAttribute( - long chipClusterPtr, - MaxConstTempAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPumpStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePumpStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEffectiveOperationModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeEffectiveOperationModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEffectiveControlModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeEffectiveControlModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCapacityAttribute( - long chipClusterPtr, CapacityAttributeCallback callback); - - private native void subscribeCapacityAttribute( - long chipClusterPtr, CapacityAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSpeedAttribute(long chipClusterPtr, SpeedAttributeCallback callback); - - private native void subscribeSpeedAttribute( - long chipClusterPtr, SpeedAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLifetimeRunningHoursAttribute( - long chipClusterPtr, LifetimeRunningHoursAttributeCallback callback); - - private native void writeLifetimeRunningHoursAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLifetimeRunningHoursAttribute( - long chipClusterPtr, - LifetimeRunningHoursAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPowerAttribute(long chipClusterPtr, PowerAttributeCallback callback); - - private native void subscribePowerAttribute( - long chipClusterPtr, PowerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLifetimeEnergyConsumedAttribute( - long chipClusterPtr, LifetimeEnergyConsumedAttributeCallback callback); - - private native void writeLifetimeEnergyConsumedAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLifetimeEnergyConsumedAttribute( - long chipClusterPtr, - LifetimeEnergyConsumedAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOperationModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeOperationModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOperationModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readControlModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeControlModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeControlModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ThermostatCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 513L; + public static class EthyleneOxideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1039L; - public ThermostatCluster(long devicePtr, int endpointId) { + public EthyleneOxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void setpointRaiseLower(DefaultClusterCallback callback, Integer mode, Integer amount) { - setpointRaiseLower(chipClusterPtr, callback, mode, amount, null); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void setpointRaiseLower( - DefaultClusterCallback callback, Integer mode, Integer amount, int timedInvokeTimeoutMs) { - setpointRaiseLower(chipClusterPtr, callback, mode, amount, timedInvokeTimeoutMs); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void setWeeklySchedule( - DefaultClusterCallback callback, - Integer numberOfTransitionsForSequence, - Integer dayOfWeekForSequence, - Integer modeForSequence, - ArrayList transitions) { - setWeeklySchedule( - chipClusterPtr, - callback, - numberOfTransitionsForSequence, - dayOfWeekForSequence, - modeForSequence, - transitions, - null); - } - - public void setWeeklySchedule( - DefaultClusterCallback callback, - Integer numberOfTransitionsForSequence, - Integer dayOfWeekForSequence, - Integer modeForSequence, - ArrayList transitions, - int timedInvokeTimeoutMs) { - setWeeklySchedule( - chipClusterPtr, - callback, - numberOfTransitionsForSequence, - dayOfWeekForSequence, - modeForSequence, - transitions, - timedInvokeTimeoutMs); - } - - public void getWeeklySchedule( - GetWeeklyScheduleResponseCallback callback, Integer daysToReturn, Integer modeToReturn) { - getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, null); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void getWeeklySchedule( - GetWeeklyScheduleResponseCallback callback, - Integer daysToReturn, - Integer modeToReturn, - int timedInvokeTimeoutMs) { - getWeeklySchedule(chipClusterPtr, callback, daysToReturn, modeToReturn, timedInvokeTimeoutMs); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void clearWeeklySchedule(DefaultClusterCallback callback) { - clearWeeklySchedule(chipClusterPtr, callback, null); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void clearWeeklySchedule(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - clearWeeklySchedule(chipClusterPtr, callback, timedInvokeTimeoutMs); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - private native void setpointRaiseLower( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer mode, - Integer amount, - @Nullable Integer timedInvokeTimeoutMs); - - private native void setWeeklySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer numberOfTransitionsForSequence, - Integer dayOfWeekForSequence, - Integer modeForSequence, - ArrayList transitions, - @Nullable Integer timedInvokeTimeoutMs); - - private native void getWeeklySchedule( - long chipClusterPtr, - GetWeeklyScheduleResponseCallback Callback, - Integer daysToReturn, - Integer modeToReturn, - @Nullable Integer timedInvokeTimeoutMs); - - private native void clearWeeklySchedule( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GetWeeklyScheduleResponseCallback { - void onSuccess( - Integer numberOfTransitionsForSequence, - Integer dayOfWeekForSequence, - Integer modeForSequence, - ArrayList transitions); - - void onError(Exception error); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LocalTemperatureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface OutdoorTemperatureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface TemperatureSetpointHoldDurationAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public interface SetpointChangeAmountAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface OccupiedSetbackAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface OccupiedSetbackMinAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface OccupiedSetbackMaxAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public interface UnoccupiedSetbackAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface UnoccupiedSetbackMinAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public interface UnoccupiedSetbackMaxAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface ACCoilTemperatureAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void readLocalTemperatureAttribute(LocalTemperatureAttributeCallback callback) { - readLocalTemperatureAttribute(chipClusterPtr, callback); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLocalTemperatureAttribute( - LocalTemperatureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLocalTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readOutdoorTemperatureAttribute(OutdoorTemperatureAttributeCallback callback) { - readOutdoorTemperatureAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOutdoorTemperatureAttribute( - OutdoorTemperatureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOutdoorTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readOccupancyAttribute(IntegerAttributeCallback callback) { - readOccupancyAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeOccupancyAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readAbsMinHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAbsMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readAbsMaxHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAbsMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readAbsMinCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAbsMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readAbsMaxCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAbsMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAbsMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readPICoolingDemandAttribute(IntegerAttributeCallback callback) { - readPICoolingDemandAttribute(chipClusterPtr, callback); - } + public static class HydrogenConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1040L; - public void subscribePICoolingDemandAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePICoolingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public HydrogenConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readPIHeatingDemandAttribute(IntegerAttributeCallback callback) { - readPIHeatingDemandAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribePIHeatingDemandAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePIHeatingDemandAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readHVACSystemTypeConfigurationAttribute(IntegerAttributeCallback callback) { - readHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeHVACSystemTypeConfigurationAttribute( - DefaultClusterCallback callback, Integer value) { - writeHVACSystemTypeConfigurationAttribute(chipClusterPtr, callback, value, null); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeHVACSystemTypeConfigurationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeHVACSystemTypeConfigurationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeHVACSystemTypeConfigurationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHVACSystemTypeConfigurationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLocalTemperatureCalibrationAttribute(IntegerAttributeCallback callback) { - readLocalTemperatureCalibrationAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeLocalTemperatureCalibrationAttribute( - DefaultClusterCallback callback, Integer value) { - writeLocalTemperatureCalibrationAttribute(chipClusterPtr, callback, value, null); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLocalTemperatureCalibrationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLocalTemperatureCalibrationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeLocalTemperatureCalibrationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLocalTemperatureCalibrationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedCoolingSetpointAttribute(IntegerAttributeCallback callback) { - readOccupiedCoolingSetpointAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void writeOccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeOccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedCoolingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedHeatingSetpointAttribute(IntegerAttributeCallback callback) { - readOccupiedHeatingSetpointAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void writeOccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void subscribeOccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedHeatingSetpointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnoccupiedCoolingSetpointAttribute(IntegerAttributeCallback callback) { - readUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void writeUnoccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, null); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeUnoccupiedCoolingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedCoolingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void subscribeUnoccupiedCoolingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedCoolingSetpointAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnoccupiedHeatingSetpointAttribute(IntegerAttributeCallback callback) { - readUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void writeUnoccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value) { - writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, null); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeUnoccupiedHeatingSetpointAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedHeatingSetpointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeUnoccupiedHeatingSetpointAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedHeatingSetpointAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMinHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void writeMinHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMinHeatSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeMinHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxHeatSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMaxHeatSetpointLimitAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeMaxHeatSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMaxHeatSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribeMaxHeatSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxHeatSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMinCoolSetpointLimitAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeMinCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMinCoolSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void subscribeMinCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class HydrogenSulfideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1041L; - public void readMaxCoolSetpointLimitAttribute(IntegerAttributeCallback callback) { - readMaxCoolSetpointLimitAttribute(chipClusterPtr, callback); + public HydrogenSulfideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void writeMaxCoolSetpointLimitAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, null); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void writeMaxCoolSetpointLimitAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void subscribeMaxCoolSetpointLimitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxCoolSetpointLimitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMinSetpointDeadBandAttribute(IntegerAttributeCallback callback) { - readMinSetpointDeadBandAttribute(chipClusterPtr, callback); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMinSetpointDeadBandAttribute(DefaultClusterCallback callback, Integer value) { - writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, null); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeMinSetpointDeadBandAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinSetpointDeadBandAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinSetpointDeadBandAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinSetpointDeadBandAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readRemoteSensingAttribute(IntegerAttributeCallback callback) { - readRemoteSensingAttribute(chipClusterPtr, callback); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeRemoteSensingAttribute(DefaultClusterCallback callback, Integer value) { - writeRemoteSensingAttribute(chipClusterPtr, callback, value, null); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeRemoteSensingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRemoteSensingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRemoteSensingAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRemoteSensingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void readControlSequenceOfOperationAttribute(IntegerAttributeCallback callback) { - readControlSequenceOfOperationAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeControlSequenceOfOperationAttribute( - DefaultClusterCallback callback, Integer value) { - writeControlSequenceOfOperationAttribute(chipClusterPtr, callback, value, null); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeControlSequenceOfOperationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeControlSequenceOfOperationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeControlSequenceOfOperationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeControlSequenceOfOperationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void readSystemModeAttribute(IntegerAttributeCallback callback) { - readSystemModeAttribute(chipClusterPtr, callback); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSystemModeAttribute(DefaultClusterCallback callback, Integer value) { - writeSystemModeAttribute(chipClusterPtr, callback, value, null); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void writeSystemModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSystemModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeSystemModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSystemModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void readThermostatRunningModeAttribute(IntegerAttributeCallback callback) { - readThermostatRunningModeAttribute(chipClusterPtr, callback); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeThermostatRunningModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeThermostatRunningModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void readStartOfWeekAttribute(IntegerAttributeCallback callback) { - readStartOfWeekAttribute(chipClusterPtr, callback); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeStartOfWeekAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStartOfWeekAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void readNumberOfWeeklyTransitionsAttribute(IntegerAttributeCallback callback) { - readNumberOfWeeklyTransitionsAttribute(chipClusterPtr, callback); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfWeeklyTransitionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfWeeklyTransitionsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readNumberOfDailyTransitionsAttribute(IntegerAttributeCallback callback) { - readNumberOfDailyTransitionsAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeNumberOfDailyTransitionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfDailyTransitionsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readTemperatureSetpointHoldAttribute(IntegerAttributeCallback callback) { - readTemperatureSetpointHoldAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeTemperatureSetpointHoldAttribute( - DefaultClusterCallback callback, Integer value) { - writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, null); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void writeTemperatureSetpointHoldAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTemperatureSetpointHoldAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTemperatureSetpointHoldAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readTemperatureSetpointHoldDurationAttribute( - TemperatureSetpointHoldDurationAttributeCallback callback) { - readTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeTemperatureSetpointHoldDurationAttribute( - DefaultClusterCallback callback, Integer value) { - writeTemperatureSetpointHoldDurationAttribute(chipClusterPtr, callback, value, null); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void writeTemperatureSetpointHoldDurationAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeTemperatureSetpointHoldDurationAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTemperatureSetpointHoldDurationAttribute( - TemperatureSetpointHoldDurationAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeTemperatureSetpointHoldDurationAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readThermostatProgrammingOperationModeAttribute(IntegerAttributeCallback callback) { - readThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeThermostatProgrammingOperationModeAttribute( - DefaultClusterCallback callback, Integer value) { - writeThermostatProgrammingOperationModeAttribute(chipClusterPtr, callback, value, null); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void writeThermostatProgrammingOperationModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeThermostatProgrammingOperationModeAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + public static class NitricOxideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1042L; - public void subscribeThermostatProgrammingOperationModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeThermostatProgrammingOperationModeAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public NitricOxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readThermostatRunningStateAttribute(IntegerAttributeCallback callback) { - readThermostatRunningStateAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeThermostatRunningStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeThermostatRunningStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readSetpointChangeSourceAttribute(IntegerAttributeCallback callback) { - readSetpointChangeSourceAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeSetpointChangeSourceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSetpointChangeSourceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSetpointChangeAmountAttribute(SetpointChangeAmountAttributeCallback callback) { - readSetpointChangeAmountAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeSetpointChangeAmountAttribute( - SetpointChangeAmountAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSetpointChangeAmountAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSetpointChangeSourceTimestampAttribute(LongAttributeCallback callback) { - readSetpointChangeSourceTimestampAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeSetpointChangeSourceTimestampAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSetpointChangeSourceTimestampAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedSetbackAttribute(OccupiedSetbackAttributeCallback callback) { - readOccupiedSetbackAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeOccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { - writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOccupiedSetbackAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeOccupiedSetbackAttribute( - OccupiedSetbackAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedSetbackMinAttribute(OccupiedSetbackMinAttributeCallback callback) { - readOccupiedSetbackMinAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeOccupiedSetbackMinAttribute( - OccupiedSetbackMinAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOccupiedSetbackMaxAttribute(OccupiedSetbackMaxAttributeCallback callback) { - readOccupiedSetbackMaxAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeOccupiedSetbackMaxAttribute( - OccupiedSetbackMaxAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnoccupiedSetbackAttribute(UnoccupiedSetbackAttributeCallback callback) { - readUnoccupiedSetbackAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void writeUnoccupiedSetbackAttribute(DefaultClusterCallback callback, Integer value) { - writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, null); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeUnoccupiedSetbackAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUnoccupiedSetbackAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void subscribeUnoccupiedSetbackAttribute( - UnoccupiedSetbackAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnoccupiedSetbackMinAttribute(UnoccupiedSetbackMinAttributeCallback callback) { - readUnoccupiedSetbackMinAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void subscribeUnoccupiedSetbackMinAttribute( - UnoccupiedSetbackMinAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnoccupiedSetbackMaxAttribute(UnoccupiedSetbackMaxAttributeCallback callback) { - readUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void subscribeUnoccupiedSetbackMaxAttribute( - UnoccupiedSetbackMaxAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUnoccupiedSetbackMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEmergencyHeatDeltaAttribute(IntegerAttributeCallback callback) { - readEmergencyHeatDeltaAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void writeEmergencyHeatDeltaAttribute(DefaultClusterCallback callback, Integer value) { - writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, null); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeEmergencyHeatDeltaAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeEmergencyHeatDeltaAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEmergencyHeatDeltaAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readACTypeAttribute(IntegerAttributeCallback callback) { - readACTypeAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void writeACTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACTypeAttribute(chipClusterPtr, callback, value, null); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACTypeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribeACTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readACCapacityAttribute(IntegerAttributeCallback callback) { - readACCapacityAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void writeACCapacityAttribute(DefaultClusterCallback callback, Integer value) { - writeACCapacityAttribute(chipClusterPtr, callback, value, null); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACCapacityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACCapacityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribeACCapacityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCapacityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readACRefrigerantTypeAttribute(IntegerAttributeCallback callback) { - readACRefrigerantTypeAttribute(chipClusterPtr, callback); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void writeACRefrigerantTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, null); - } + public static class NitrogenDioxideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1043L; - public void writeACRefrigerantTypeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACRefrigerantTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public NitrogenDioxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeACRefrigerantTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACRefrigerantTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readACCompressorTypeAttribute(IntegerAttributeCallback callback) { - readACCompressorTypeAttribute(chipClusterPtr, callback); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void writeACCompressorTypeAttribute(DefaultClusterCallback callback, Integer value) { - writeACCompressorTypeAttribute(chipClusterPtr, callback, value, null); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeACCompressorTypeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACCompressorTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACCompressorTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCompressorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readACErrorCodeAttribute(LongAttributeCallback callback) { - readACErrorCodeAttribute(chipClusterPtr, callback); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACErrorCodeAttribute(DefaultClusterCallback callback, Long value) { - writeACErrorCodeAttribute(chipClusterPtr, callback, value, null); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeACErrorCodeAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeACErrorCodeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACErrorCodeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACErrorCodeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readACLouverPositionAttribute(IntegerAttributeCallback callback) { - readACLouverPositionAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACLouverPositionAttribute(DefaultClusterCallback callback, Integer value) { - writeACLouverPositionAttribute(chipClusterPtr, callback, value, null); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void writeACLouverPositionAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACLouverPositionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACLouverPositionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACLouverPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readACCoilTemperatureAttribute(ACCoilTemperatureAttributeCallback callback) { - readACCoilTemperatureAttribute(chipClusterPtr, callback); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACCoilTemperatureAttribute( - ACCoilTemperatureAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCoilTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readACCapacityformatAttribute(IntegerAttributeCallback callback) { - readACCapacityformatAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACCapacityformatAttribute(DefaultClusterCallback callback, Integer value) { - writeACCapacityformatAttribute(chipClusterPtr, callback, value, null); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeACCapacityformatAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeACCapacityformatAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeACCapacityformatAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeACCapacityformatAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readLocalTemperatureAttribute( - long chipClusterPtr, LocalTemperatureAttributeCallback callback); - - private native void subscribeLocalTemperatureAttribute( - long chipClusterPtr, - LocalTemperatureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOutdoorTemperatureAttribute( - long chipClusterPtr, OutdoorTemperatureAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeOutdoorTemperatureAttribute( - long chipClusterPtr, - OutdoorTemperatureAttributeCallback callback, - int minInterval, - int maxInterval); + public static class OxygenConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1044L; - private native void readOccupancyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public OxygenConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeOccupancyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readAbsMinHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeAbsMinHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAbsMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAbsMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAbsMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAbsMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAbsMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAbsMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readPICoolingDemandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribePICoolingDemandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readPIHeatingDemandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribePIHeatingDemandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readHVACSystemTypeConfigurationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeHVACSystemTypeConfigurationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeHVACSystemTypeConfigurationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readLocalTemperatureCalibrationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeLocalTemperatureCalibrationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeLocalTemperatureCalibrationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readOccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void writeOccupiedCoolingSetpointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public static class OzoneConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1045L; - private native void subscribeOccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public OzoneConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readOccupiedHeatingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void writeOccupiedHeatingSetpointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeOccupiedHeatingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readUnoccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeUnoccupiedCoolingSetpointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeUnoccupiedCoolingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readUnoccupiedHeatingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeUnoccupiedHeatingSetpointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeUnoccupiedHeatingSetpointAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMinHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeMinHeatSetpointLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeMinHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeMaxHeatSetpointLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeMaxHeatSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void writeMinCoolSetpointLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeMinCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeMaxCoolSetpointLimitAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeMaxCoolSetpointLimitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMinSetpointDeadBandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeMinSetpointDeadBandAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeMinSetpointDeadBandAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRemoteSensingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRemoteSensingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRemoteSensingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readControlSequenceOfOperationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeControlSequenceOfOperationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeControlSequenceOfOperationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSystemModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeSystemModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeSystemModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readThermostatRunningModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeThermostatRunningModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readStartOfWeekAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeStartOfWeekAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNumberOfWeeklyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeNumberOfWeeklyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNumberOfDailyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeNumberOfDailyTransitionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTemperatureSetpointHoldAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeTemperatureSetpointHoldAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeTemperatureSetpointHoldAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTemperatureSetpointHoldDurationAttribute( - long chipClusterPtr, TemperatureSetpointHoldDurationAttributeCallback callback); - - private native void writeTemperatureSetpointHoldDurationAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeTemperatureSetpointHoldDurationAttribute( - long chipClusterPtr, - TemperatureSetpointHoldDurationAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readThermostatProgrammingOperationModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeThermostatProgrammingOperationModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeThermostatProgrammingOperationModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readThermostatRunningStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeThermostatRunningStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSetpointChangeSourceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSetpointChangeSourceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSetpointChangeAmountAttribute( - long chipClusterPtr, SetpointChangeAmountAttributeCallback callback); - - private native void subscribeSetpointChangeAmountAttribute( - long chipClusterPtr, - SetpointChangeAmountAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSetpointChangeSourceTimestampAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeSetpointChangeSourceTimestampAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOccupiedSetbackAttribute( - long chipClusterPtr, OccupiedSetbackAttributeCallback callback); - - private native void writeOccupiedSetbackAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOccupiedSetbackAttribute( - long chipClusterPtr, - OccupiedSetbackAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOccupiedSetbackMinAttribute( - long chipClusterPtr, OccupiedSetbackMinAttributeCallback callback); - - private native void subscribeOccupiedSetbackMinAttribute( - long chipClusterPtr, - OccupiedSetbackMinAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readOccupiedSetbackMaxAttribute( - long chipClusterPtr, OccupiedSetbackMaxAttributeCallback callback); - - private native void subscribeOccupiedSetbackMaxAttribute( - long chipClusterPtr, - OccupiedSetbackMaxAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readUnoccupiedSetbackAttribute( - long chipClusterPtr, UnoccupiedSetbackAttributeCallback callback); - - private native void writeUnoccupiedSetbackAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeUnoccupiedSetbackAttribute( - long chipClusterPtr, - UnoccupiedSetbackAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readUnoccupiedSetbackMinAttribute( - long chipClusterPtr, UnoccupiedSetbackMinAttributeCallback callback); - - private native void subscribeUnoccupiedSetbackMinAttribute( - long chipClusterPtr, - UnoccupiedSetbackMinAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readUnoccupiedSetbackMaxAttribute( - long chipClusterPtr, UnoccupiedSetbackMaxAttributeCallback callback); - - private native void subscribeUnoccupiedSetbackMaxAttribute( - long chipClusterPtr, - UnoccupiedSetbackMaxAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEmergencyHeatDeltaAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeEmergencyHeatDeltaAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEmergencyHeatDeltaAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readACTypeAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeACTypeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeACTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readACCapacityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeACCapacityAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeACCapacityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readACRefrigerantTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeACRefrigerantTypeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeACRefrigerantTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readACCompressorTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeACCompressorTypeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeACCompressorTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readACErrorCodeAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void writeACErrorCodeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeACErrorCodeAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readACLouverPositionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeACLouverPositionAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeACLouverPositionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readACCoilTemperatureAttribute( - long chipClusterPtr, ACCoilTemperatureAttributeCallback callback); - - private native void subscribeACCoilTemperatureAttribute( - long chipClusterPtr, - ACCoilTemperatureAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readACCapacityformatAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeACCapacityformatAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeACCapacityformatAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class FanControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 514L; + public static class SulfurDioxideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1046L; - public FanControlCluster(long devicePtr, int endpointId) { + public SulfurDioxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface PercentSettingAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface SpeedSettingAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readFanModeAttribute(IntegerAttributeCallback callback) { - readFanModeAttribute(chipClusterPtr, callback); - } - - public void writeFanModeAttribute(DefaultClusterCallback callback, Integer value) { - writeFanModeAttribute(chipClusterPtr, callback, value, null); - } - - public void writeFanModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeFanModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeFanModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFanModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFanModeSequenceAttribute(IntegerAttributeCallback callback) { - readFanModeSequenceAttribute(chipClusterPtr, callback); - } - - public void writeFanModeSequenceAttribute(DefaultClusterCallback callback, Integer value) { - writeFanModeSequenceAttribute(chipClusterPtr, callback, value, null); - } - - public void writeFanModeSequenceAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeFanModeSequenceAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeFanModeSequenceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFanModeSequenceAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPercentSettingAttribute(PercentSettingAttributeCallback callback) { - readPercentSettingAttribute(chipClusterPtr, callback); - } - - public void writePercentSettingAttribute(DefaultClusterCallback callback, Integer value) { - writePercentSettingAttribute(chipClusterPtr, callback, value, null); - } - - public void writePercentSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePercentSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribePercentSettingAttribute( - PercentSettingAttributeCallback callback, int minInterval, int maxInterval) { - subscribePercentSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPercentCurrentAttribute(IntegerAttributeCallback callback) { - readPercentCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribePercentCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePercentCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readSpeedMaxAttribute(IntegerAttributeCallback callback) { - readSpeedMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeSpeedMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readSpeedSettingAttribute(SpeedSettingAttributeCallback callback) { - readSpeedSettingAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeSpeedSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeSpeedSettingAttribute(chipClusterPtr, callback, value, null); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeSpeedSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeSpeedSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeSpeedSettingAttribute( - SpeedSettingAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readSpeedCurrentAttribute(IntegerAttributeCallback callback) { - readSpeedCurrentAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeSpeedCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSpeedCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRockSupportAttribute(IntegerAttributeCallback callback) { - readRockSupportAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeRockSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRockSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRockSettingAttribute(IntegerAttributeCallback callback) { - readRockSettingAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void writeRockSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeRockSettingAttribute(chipClusterPtr, callback, value, null); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeRockSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRockSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeRockSettingAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRockSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWindSupportAttribute(IntegerAttributeCallback callback) { - readWindSupportAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeWindSupportAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWindSupportAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWindSettingAttribute(IntegerAttributeCallback callback) { - readWindSettingAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void writeWindSettingAttribute(DefaultClusterCallback callback, Integer value) { - writeWindSettingAttribute(chipClusterPtr, callback, value, null); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWindSettingAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWindSettingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void subscribeWindSettingAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWindSettingAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAirflowDirectionAttribute(IntegerAttributeCallback callback) { - readAirflowDirectionAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void writeAirflowDirectionAttribute(DefaultClusterCallback callback, Integer value) { - writeAirflowDirectionAttribute(chipClusterPtr, callback, value, null); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeAirflowDirectionAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeAirflowDirectionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void subscribeAirflowDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAirflowDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readFanModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeFanModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeFanModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readFanModeSequenceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeFanModeSequenceAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeFanModeSequenceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readPercentSettingAttribute( - long chipClusterPtr, PercentSettingAttributeCallback callback); + public static class DissolvedOxygenConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1047L; - private native void writePercentSettingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); + public DissolvedOxygenConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribePercentSettingAttribute( - long chipClusterPtr, - PercentSettingAttributeCallback callback, - int minInterval, - int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readPercentCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePercentCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSpeedMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSpeedMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSpeedSettingAttribute( - long chipClusterPtr, SpeedSettingAttributeCallback callback); - - private native void writeSpeedSettingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeSpeedSettingAttribute( - long chipClusterPtr, - SpeedSettingAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSpeedCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeSpeedCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRockSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRockSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRockSettingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRockSettingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRockSettingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readWindSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeWindSupportAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readWindSettingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeWindSettingAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeWindSettingAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAirflowDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeAirflowDirectionAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeAirflowDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ThermostatUserInterfaceConfigurationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 516L; + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public ThermostatUserInterfaceConfigurationCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readTemperatureDisplayModeAttribute(IntegerAttributeCallback callback) { - readTemperatureDisplayModeAttribute(chipClusterPtr, callback); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeTemperatureDisplayModeAttribute( - DefaultClusterCallback callback, Integer value) { - writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, null); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeTemperatureDisplayModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeTemperatureDisplayModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeTemperatureDisplayModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTemperatureDisplayModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void readKeypadLockoutAttribute(IntegerAttributeCallback callback) { - readKeypadLockoutAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeKeypadLockoutAttribute(DefaultClusterCallback callback, Integer value) { - writeKeypadLockoutAttribute(chipClusterPtr, callback, value, null); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeKeypadLockoutAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeKeypadLockoutAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeKeypadLockoutAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeKeypadLockoutAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScheduleProgrammingVisibilityAttribute(IntegerAttributeCallback callback) { - readScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeScheduleProgrammingVisibilityAttribute( - DefaultClusterCallback callback, Integer value) { - writeScheduleProgrammingVisibilityAttribute(chipClusterPtr, callback, value, null); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeScheduleProgrammingVisibilityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeScheduleProgrammingVisibilityAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeScheduleProgrammingVisibilityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScheduleProgrammingVisibilityAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readTemperatureDisplayModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeTemperatureDisplayModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeTemperatureDisplayModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readKeypadLockoutAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeKeypadLockoutAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeKeypadLockoutAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readScheduleProgrammingVisibilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeScheduleProgrammingVisibilityAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeScheduleProgrammingVisibilityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ColorControlCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 768L; + public static class BromateConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1048L; - public ColorControlCluster(long devicePtr, int endpointId) { + public BromateConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public void moveToHue( - DefaultClusterCallback callback, - Integer hue, - Integer direction, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - moveToHue( - chipClusterPtr, - callback, - hue, - direction, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void moveToHue( - DefaultClusterCallback callback, - Integer hue, - Integer direction, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveToHue( - chipClusterPtr, - callback, - hue, - direction, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveHue( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride) { - moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void moveHue( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveHue( - chipClusterPtr, - callback, - moveMode, - rate, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stepHue( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - stepHue( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void stepHue( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stepHue( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveToSaturation( - DefaultClusterCallback callback, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - moveToSaturation( - chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, null); - } - - public void moveToSaturation( - DefaultClusterCallback callback, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveToSaturation( - chipClusterPtr, - callback, - saturation, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveSaturation( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride) { - moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void moveSaturation( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveSaturation( - chipClusterPtr, - callback, - moveMode, - rate, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stepSaturation( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - stepSaturation( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void stepSaturation( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stepSaturation( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveToHueAndSaturation( - DefaultClusterCallback callback, - Integer hue, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - moveToHueAndSaturation( - chipClusterPtr, - callback, - hue, - saturation, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void moveToHueAndSaturation( - DefaultClusterCallback callback, - Integer hue, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveToHueAndSaturation( - chipClusterPtr, - callback, - hue, - saturation, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveToColor( - DefaultClusterCallback callback, - Integer colorX, - Integer colorY, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - moveToColor( - chipClusterPtr, - callback, - colorX, - colorY, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void moveToColor( - DefaultClusterCallback callback, - Integer colorX, - Integer colorY, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveToColor( - chipClusterPtr, - callback, - colorX, - colorY, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveColor( - DefaultClusterCallback callback, - Integer rateX, - Integer rateY, - Integer optionsMask, - Integer optionsOverride) { - moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, null); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void moveColor( - DefaultClusterCallback callback, - Integer rateX, - Integer rateY, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveColor( - chipClusterPtr, - callback, - rateX, - rateY, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stepColor( - DefaultClusterCallback callback, - Integer stepX, - Integer stepY, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - stepColor( - chipClusterPtr, - callback, - stepX, - stepY, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void stepColor( - DefaultClusterCallback callback, - Integer stepX, - Integer stepY, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stepColor( - chipClusterPtr, - callback, - stepX, - stepY, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void moveToColorTemperature( - DefaultClusterCallback callback, - Integer colorTemperatureMireds, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - moveToColorTemperature( - chipClusterPtr, - callback, - colorTemperatureMireds, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void moveToColorTemperature( - DefaultClusterCallback callback, - Integer colorTemperatureMireds, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveToColorTemperature( - chipClusterPtr, - callback, - colorTemperatureMireds, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void enhancedMoveToHue( - DefaultClusterCallback callback, - Integer enhancedHue, - Integer direction, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - enhancedMoveToHue( - chipClusterPtr, - callback, - enhancedHue, - direction, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void enhancedMoveToHue( - DefaultClusterCallback callback, - Integer enhancedHue, - Integer direction, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - enhancedMoveToHue( - chipClusterPtr, - callback, - enhancedHue, - direction, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void enhancedMoveHue( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride) { - enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void enhancedMoveHue( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - enhancedMoveHue( - chipClusterPtr, - callback, - moveMode, - rate, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void enhancedStepHue( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - enhancedStepHue( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void enhancedStepHue( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - enhancedStepHue( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void enhancedMoveToHueAndSaturation( - DefaultClusterCallback callback, - Integer enhancedHue, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride) { - enhancedMoveToHueAndSaturation( - chipClusterPtr, - callback, - enhancedHue, - saturation, - transitionTime, - optionsMask, - optionsOverride, - null); - } - - public void enhancedMoveToHueAndSaturation( - DefaultClusterCallback callback, - Integer enhancedHue, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - enhancedMoveToHueAndSaturation( - chipClusterPtr, - callback, - enhancedHue, - saturation, - transitionTime, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void colorLoopSet( - DefaultClusterCallback callback, - Integer updateFlags, - Integer action, - Integer direction, - Integer time, - Integer startHue, - Integer optionsMask, - Integer optionsOverride) { - colorLoopSet( - chipClusterPtr, - callback, - updateFlags, - action, - direction, - time, - startHue, - optionsMask, - optionsOverride, - null); - } - - public void colorLoopSet( - DefaultClusterCallback callback, - Integer updateFlags, - Integer action, - Integer direction, - Integer time, - Integer startHue, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - colorLoopSet( - chipClusterPtr, - callback, - updateFlags, - action, - direction, - time, - startHue, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stopMoveStep( - DefaultClusterCallback callback, Integer optionsMask, Integer optionsOverride) { - stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, null); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void stopMoveStep( - DefaultClusterCallback callback, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void moveColorTemperature( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer colorTemperatureMinimumMireds, - Integer colorTemperatureMaximumMireds, - Integer optionsMask, - Integer optionsOverride) { - moveColorTemperature( - chipClusterPtr, - callback, - moveMode, - rate, - colorTemperatureMinimumMireds, - colorTemperatureMaximumMireds, - optionsMask, - optionsOverride, - null); - } - - public void moveColorTemperature( - DefaultClusterCallback callback, - Integer moveMode, - Integer rate, - Integer colorTemperatureMinimumMireds, - Integer colorTemperatureMaximumMireds, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - moveColorTemperature( - chipClusterPtr, - callback, - moveMode, - rate, - colorTemperatureMinimumMireds, - colorTemperatureMaximumMireds, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - public void stepColorTemperature( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer colorTemperatureMinimumMireds, - Integer colorTemperatureMaximumMireds, - Integer optionsMask, - Integer optionsOverride) { - stepColorTemperature( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - colorTemperatureMinimumMireds, - colorTemperatureMaximumMireds, - optionsMask, - optionsOverride, - null); - } - - public void stepColorTemperature( - DefaultClusterCallback callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer colorTemperatureMinimumMireds, - Integer colorTemperatureMaximumMireds, - Integer optionsMask, - Integer optionsOverride, - int timedInvokeTimeoutMs) { - stepColorTemperature( - chipClusterPtr, - callback, - stepMode, - stepSize, - transitionTime, - colorTemperatureMinimumMireds, - colorTemperatureMaximumMireds, - optionsMask, - optionsOverride, - timedInvokeTimeoutMs); - } - - private native void moveToHue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer hue, - Integer direction, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveHue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stepHue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveToSaturation( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveSaturation( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stepSaturation( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveToHueAndSaturation( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer hue, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveToColor( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer colorX, - Integer colorY, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveColor( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer rateX, - Integer rateY, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stepColor( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer stepX, - Integer stepY, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveToColorTemperature( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer colorTemperatureMireds, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void enhancedMoveToHue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer enhancedHue, - Integer direction, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void enhancedMoveHue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer moveMode, - Integer rate, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void enhancedStepHue( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void enhancedMoveToHueAndSaturation( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer enhancedHue, - Integer saturation, - Integer transitionTime, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void colorLoopSet( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer updateFlags, - Integer action, - Integer direction, - Integer time, - Integer startHue, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stopMoveStep( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void moveColorTemperature( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer moveMode, - Integer rate, - Integer colorTemperatureMinimumMireds, - Integer colorTemperatureMaximumMireds, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stepColorTemperature( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer stepMode, - Integer stepSize, - Integer transitionTime, - Integer colorTemperatureMinimumMireds, - Integer colorTemperatureMaximumMireds, - Integer optionsMask, - Integer optionsOverride, - @Nullable Integer timedInvokeTimeoutMs); - - public interface NumberOfPrimariesAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface Primary1IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface Primary2IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface Primary3IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public interface Primary4IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface Primary5IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface Primary6IntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface ColorPointRIntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public interface ColorPointGIntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface ColorPointBIntensityAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public interface StartUpColorTemperatureMiredsAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentHueAttribute(IntegerAttributeCallback callback) { - readCurrentHueAttribute(chipClusterPtr, callback); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void subscribeCurrentHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCurrentSaturationAttribute(IntegerAttributeCallback callback) { - readCurrentSaturationAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeCurrentSaturationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentSaturationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRemainingTimeAttribute(IntegerAttributeCallback callback) { - readRemainingTimeAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeRemainingTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readCurrentXAttribute(IntegerAttributeCallback callback) { - readCurrentXAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readCurrentYAttribute(IntegerAttributeCallback callback) { - readCurrentYAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCurrentYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readDriftCompensationAttribute(IntegerAttributeCallback callback) { - readDriftCompensationAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeDriftCompensationAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDriftCompensationAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readCompensationTextAttribute(CharStringAttributeCallback callback) { - readCompensationTextAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeCompensationTextAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCompensationTextAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readColorTemperatureMiredsAttribute(IntegerAttributeCallback callback) { - readColorTemperatureMiredsAttribute(chipClusterPtr, callback); - } + public static class ChloraminesConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1049L; - public void subscribeColorTemperatureMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public ChloraminesConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readColorModeAttribute(IntegerAttributeCallback callback) { - readColorModeAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeColorModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readOptionsAttribute(IntegerAttributeCallback callback) { - readOptionsAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeOptionsAttribute(DefaultClusterCallback callback, Integer value) { - writeOptionsAttribute(chipClusterPtr, callback, value, null); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeOptionsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeOptionsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNumberOfPrimariesAttribute(NumberOfPrimariesAttributeCallback callback) { - readNumberOfPrimariesAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeNumberOfPrimariesAttribute( - NumberOfPrimariesAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNumberOfPrimariesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary1XAttribute(IntegerAttributeCallback callback) { - readPrimary1XAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribePrimary1XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary1XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary1YAttribute(IntegerAttributeCallback callback) { - readPrimary1YAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribePrimary1YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary1YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary1IntensityAttribute(Primary1IntensityAttributeCallback callback) { - readPrimary1IntensityAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribePrimary1IntensityAttribute( - Primary1IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary1IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary2XAttribute(IntegerAttributeCallback callback) { - readPrimary2XAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribePrimary2XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary2XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary2YAttribute(IntegerAttributeCallback callback) { - readPrimary2YAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void subscribePrimary2YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary2YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary2IntensityAttribute(Primary2IntensityAttributeCallback callback) { - readPrimary2IntensityAttribute(chipClusterPtr, callback); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void subscribePrimary2IntensityAttribute( - Primary2IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary2IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary3XAttribute(IntegerAttributeCallback callback) { - readPrimary3XAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void subscribePrimary3XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary3XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary3YAttribute(IntegerAttributeCallback callback) { - readPrimary3YAttribute(chipClusterPtr, callback); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void subscribePrimary3YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary3YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary3IntensityAttribute(Primary3IntensityAttributeCallback callback) { - readPrimary3IntensityAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary3IntensityAttribute( - Primary3IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary3IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4XAttribute(IntegerAttributeCallback callback) { - readPrimary4XAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary4XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary4XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4YAttribute(IntegerAttributeCallback callback) { - readPrimary4YAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary4YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary4YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary4IntensityAttribute(Primary4IntensityAttributeCallback callback) { - readPrimary4IntensityAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribePrimary4IntensityAttribute( - Primary4IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary4IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5XAttribute(IntegerAttributeCallback callback) { - readPrimary5XAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribePrimary5XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary5XAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5YAttribute(IntegerAttributeCallback callback) { - readPrimary5YAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribePrimary5YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary5YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPrimary5IntensityAttribute(Primary5IntensityAttributeCallback callback) { - readPrimary5IntensityAttribute(chipClusterPtr, callback); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void subscribePrimary5IntensityAttribute( - Primary5IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary5IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public static class ChlorineConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1050L; - public void readPrimary6XAttribute(IntegerAttributeCallback callback) { - readPrimary6XAttribute(chipClusterPtr, callback); + public ChlorineConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribePrimary6XAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary6XAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readPrimary6YAttribute(IntegerAttributeCallback callback) { - readPrimary6YAttribute(chipClusterPtr, callback); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void subscribePrimary6YAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary6YAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readPrimary6IntensityAttribute(Primary6IntensityAttributeCallback callback) { - readPrimary6IntensityAttribute(chipClusterPtr, callback); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePrimary6IntensityAttribute( - Primary6IntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribePrimary6IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readWhitePointXAttribute(IntegerAttributeCallback callback) { - readWhitePointXAttribute(chipClusterPtr, callback); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value) { - writeWhitePointXAttribute(chipClusterPtr, callback, value, null); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeWhitePointXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWhitePointXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeWhitePointXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWhitePointXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readWhitePointYAttribute(IntegerAttributeCallback callback) { - readWhitePointYAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value) { - writeWhitePointYAttribute(chipClusterPtr, callback, value, null); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void writeWhitePointYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeWhitePointYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeWhitePointYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeWhitePointYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readColorPointRXAttribute(IntegerAttributeCallback callback) { - readColorPointRXAttribute(chipClusterPtr, callback); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRXAttribute(chipClusterPtr, callback, value, null); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void writeColorPointRXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointRXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointRXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointRXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void readColorPointRYAttribute(IntegerAttributeCallback callback) { - readColorPointRYAttribute(chipClusterPtr, callback); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRYAttribute(chipClusterPtr, callback, value, null); - } - - public void writeColorPointRYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointRYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeColorPointRYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointRYAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readColorPointRIntensityAttribute(ColorPointRIntensityAttributeCallback callback) { - readColorPointRIntensityAttribute(chipClusterPtr, callback); - } - - public void writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, null); - } - - public void writeColorPointRIntensityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeColorPointRIntensityAttribute( - ColorPointRIntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointRIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readColorPointGXAttribute(IntegerAttributeCallback callback) { - readColorPointGXAttribute(chipClusterPtr, callback); - } - - public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGXAttribute(chipClusterPtr, callback, value, null); - } - - public void writeColorPointGXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointGXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeColorPointGXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointGXAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readColorPointGYAttribute(IntegerAttributeCallback callback) { - readColorPointGYAttribute(chipClusterPtr, callback); - } - - public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGYAttribute(chipClusterPtr, callback, value, null); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void writeColorPointGYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointGYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointGYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointGYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void readColorPointGIntensityAttribute(ColorPointGIntensityAttributeCallback callback) { - readColorPointGIntensityAttribute(chipClusterPtr, callback); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, null); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void writeColorPointGIntensityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointGIntensityAttribute( - ColorPointGIntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointGIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readColorPointBXAttribute(IntegerAttributeCallback callback) { - readColorPointBXAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointBXAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBXAttribute(chipClusterPtr, callback, value, null); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void writeColorPointBXAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointBXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointBXAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointBXAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readColorPointBYAttribute(IntegerAttributeCallback callback) { - readColorPointBYAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBYAttribute(chipClusterPtr, callback, value, null); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeColorPointBYAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointBYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointBYAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointBYAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readColorPointBIntensityAttribute(ColorPointBIntensityAttributeCallback callback) { - readColorPointBIntensityAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeColorPointBIntensityAttribute(DefaultClusterCallback callback, Integer value) { - writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, null); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void writeColorPointBIntensityAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeColorPointBIntensityAttribute( - ColorPointBIntensityAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorPointBIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readEnhancedCurrentHueAttribute(IntegerAttributeCallback callback) { - readEnhancedCurrentHueAttribute(chipClusterPtr, callback); - } + public static class FecalColiformEColiConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1051L; - public void subscribeEnhancedCurrentHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnhancedCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public FecalColiformEColiConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readEnhancedColorModeAttribute(IntegerAttributeCallback callback) { - readEnhancedColorModeAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeEnhancedColorModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEnhancedColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readColorLoopActiveAttribute(IntegerAttributeCallback callback) { - readColorLoopActiveAttribute(chipClusterPtr, callback); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeColorLoopActiveAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopActiveAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorLoopDirectionAttribute(IntegerAttributeCallback callback) { - readColorLoopDirectionAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeColorLoopDirectionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorLoopTimeAttribute(IntegerAttributeCallback callback) { - readColorLoopTimeAttribute(chipClusterPtr, callback); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeColorLoopTimeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorLoopStartEnhancedHueAttribute(IntegerAttributeCallback callback) { - readColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeColorLoopStartEnhancedHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopStartEnhancedHueAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorLoopStoredEnhancedHueAttribute(IntegerAttributeCallback callback) { - readColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeColorLoopStoredEnhancedHueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorLoopStoredEnhancedHueAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorCapabilitiesAttribute(IntegerAttributeCallback callback) { - readColorCapabilitiesAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeColorCapabilitiesAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorTempPhysicalMinMiredsAttribute(IntegerAttributeCallback callback) { - readColorTempPhysicalMinMiredsAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeColorTempPhysicalMinMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorTempPhysicalMinMiredsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readColorTempPhysicalMaxMiredsAttribute(IntegerAttributeCallback callback) { - readColorTempPhysicalMaxMiredsAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void subscribeColorTempPhysicalMaxMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeColorTempPhysicalMaxMiredsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCoupleColorTempToLevelMinMiredsAttribute(IntegerAttributeCallback callback) { - readCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void subscribeCoupleColorTempToLevelMinMiredsAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCoupleColorTempToLevelMinMiredsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readStartUpColorTemperatureMiredsAttribute( - StartUpColorTemperatureMiredsAttributeCallback callback) { - readStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void writeStartUpColorTemperatureMiredsAttribute( - DefaultClusterCallback callback, Integer value) { - writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, null); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeStartUpColorTemperatureMiredsAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeStartUpColorTemperatureMiredsAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void subscribeStartUpColorTemperatureMiredsAttribute( - StartUpColorTemperatureMiredsAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStartUpColorTemperatureMiredsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readCurrentHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentSaturationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeCurrentSaturationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public static class FluorideConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1052L; - private native void readRemainingTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public FluorideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeRemainingTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readCurrentXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeCurrentXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readCurrentYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeCurrentYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readDriftCompensationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeDriftCompensationAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readCompensationTextAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeCompensationTextAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readColorTemperatureMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorTemperatureMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOptionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeOptionsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOptionsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNumberOfPrimariesAttribute( - long chipClusterPtr, NumberOfPrimariesAttributeCallback callback); - - private native void subscribeNumberOfPrimariesAttribute( - long chipClusterPtr, - NumberOfPrimariesAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPrimary1XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary1XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary1YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary1YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary1IntensityAttribute( - long chipClusterPtr, Primary1IntensityAttributeCallback callback); - - private native void subscribePrimary1IntensityAttribute( - long chipClusterPtr, - Primary1IntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPrimary2XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary2XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary2YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary2YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary2IntensityAttribute( - long chipClusterPtr, Primary2IntensityAttributeCallback callback); - - private native void subscribePrimary2IntensityAttribute( - long chipClusterPtr, - Primary2IntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPrimary3XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary3XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary3YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary3YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary3IntensityAttribute( - long chipClusterPtr, Primary3IntensityAttributeCallback callback); - - private native void subscribePrimary3IntensityAttribute( - long chipClusterPtr, - Primary3IntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPrimary4XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary4XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary4YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary4YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary4IntensityAttribute( - long chipClusterPtr, Primary4IntensityAttributeCallback callback); - - private native void subscribePrimary4IntensityAttribute( - long chipClusterPtr, - Primary4IntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPrimary5XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary5XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary5YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary5YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary5IntensityAttribute( - long chipClusterPtr, Primary5IntensityAttributeCallback callback); - - private native void subscribePrimary5IntensityAttribute( - long chipClusterPtr, - Primary5IntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPrimary6XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary6XAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary6YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePrimary6YAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPrimary6IntensityAttribute( - long chipClusterPtr, Primary6IntensityAttributeCallback callback); - - private native void subscribePrimary6IntensityAttribute( - long chipClusterPtr, - Primary6IntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readWhitePointXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeWhitePointXAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeWhitePointXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readWhitePointYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeWhitePointYAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeWhitePointYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorPointRXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeColorPointRXAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointRXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorPointRYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeColorPointRYAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointRYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorPointRIntensityAttribute( - long chipClusterPtr, ColorPointRIntensityAttributeCallback callback); - - private native void writeColorPointRIntensityAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointRIntensityAttribute( - long chipClusterPtr, - ColorPointRIntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readColorPointGXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeColorPointGXAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointGXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorPointGYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeColorPointGYAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointGYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorPointGIntensityAttribute( - long chipClusterPtr, ColorPointGIntensityAttributeCallback callback); - - private native void writeColorPointGIntensityAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointGIntensityAttribute( - long chipClusterPtr, - ColorPointGIntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readColorPointBXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeColorPointBXAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointBXAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorPointBYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeColorPointBYAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointBYAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorPointBIntensityAttribute( - long chipClusterPtr, ColorPointBIntensityAttributeCallback callback); - - private native void writeColorPointBIntensityAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeColorPointBIntensityAttribute( - long chipClusterPtr, - ColorPointBIntensityAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEnhancedCurrentHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeEnhancedCurrentHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEnhancedColorModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeEnhancedColorModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorLoopActiveAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorLoopActiveAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorLoopDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorLoopDirectionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorLoopTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorLoopTimeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorLoopStartEnhancedHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorLoopStartEnhancedHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorLoopStoredEnhancedHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorLoopStoredEnhancedHueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorCapabilitiesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorCapabilitiesAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorTempPhysicalMinMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorTempPhysicalMinMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readColorTempPhysicalMaxMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeColorTempPhysicalMaxMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCoupleColorTempToLevelMinMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCoupleColorTempToLevelMinMiredsAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readStartUpColorTemperatureMiredsAttribute( - long chipClusterPtr, StartUpColorTemperatureMiredsAttributeCallback callback); - - private native void writeStartUpColorTemperatureMiredsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeStartUpColorTemperatureMiredsAttribute( - long chipClusterPtr, - StartUpColorTemperatureMiredsAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class BallastConfigurationCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 769L; + public static class HaloaceticAcidsConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1053L; - public BallastConfigurationCluster(long devicePtr, int endpointId) { + public HaloaceticAcidsConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface IntrinsicBallastFactorAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface BallastFactorAdjustmentAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LampRatedHoursAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface LampBurnHoursAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface LampBurnHoursTripPointAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void readPhysicalMinLevelAttribute(IntegerAttributeCallback callback) { - readPhysicalMinLevelAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalMinLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readPhysicalMaxLevelAttribute(IntegerAttributeCallback callback) { - readPhysicalMaxLevelAttribute(chipClusterPtr, callback); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePhysicalMaxLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void readBallastStatusAttribute(IntegerAttributeCallback callback) { - readBallastStatusAttribute(chipClusterPtr, callback); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBallastStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBallastStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void readMinLevelAttribute(IntegerAttributeCallback callback) { - readMinLevelAttribute(chipClusterPtr, callback); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMinLevelAttribute(DefaultClusterCallback callback, Integer value) { - writeMinLevelAttribute(chipClusterPtr, callback, value, null); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void writeMinLevelAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMinLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void readMaxLevelAttribute(IntegerAttributeCallback callback) { - readMaxLevelAttribute(chipClusterPtr, callback); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeMaxLevelAttribute(DefaultClusterCallback callback, Integer value) { - writeMaxLevelAttribute(chipClusterPtr, callback, value, null); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void writeMaxLevelAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeMaxLevelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxLevelAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxLevelAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readIntrinsicBallastFactorAttribute( - IntrinsicBallastFactorAttributeCallback callback) { - readIntrinsicBallastFactorAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeIntrinsicBallastFactorAttribute( - DefaultClusterCallback callback, Integer value) { - writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, null); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void writeIntrinsicBallastFactorAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeIntrinsicBallastFactorAttribute( - IntrinsicBallastFactorAttributeCallback callback, int minInterval, int maxInterval) { - subscribeIntrinsicBallastFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readBallastFactorAdjustmentAttribute( - BallastFactorAdjustmentAttributeCallback callback) { - readBallastFactorAdjustmentAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeBallastFactorAdjustmentAttribute( - DefaultClusterCallback callback, Integer value) { - writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, null); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void writeBallastFactorAdjustmentAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeBallastFactorAdjustmentAttribute( - BallastFactorAdjustmentAttributeCallback callback, int minInterval, int maxInterval) { - subscribeBallastFactorAdjustmentAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readLampQuantityAttribute(IntegerAttributeCallback callback) { - readLampQuantityAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLampQuantityAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampQuantityAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readLampTypeAttribute(CharStringAttributeCallback callback) { - readLampTypeAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampTypeAttribute(DefaultClusterCallback callback, String value) { - writeLampTypeAttribute(chipClusterPtr, callback, value, null); - } + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void writeLampTypeAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLampTypeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } + public static class TotalTrihalomethanesConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1054L; - public void subscribeLampTypeAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public TotalTrihalomethanesConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readLampManufacturerAttribute(CharStringAttributeCallback callback) { - readLampManufacturerAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void writeLampManufacturerAttribute(DefaultClusterCallback callback, String value) { - writeLampManufacturerAttribute(chipClusterPtr, callback, value, null); - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void writeLampManufacturerAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { - writeLampManufacturerAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeLampManufacturerAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampManufacturerAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampRatedHoursAttribute(LampRatedHoursAttributeCallback callback) { - readLampRatedHoursAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeLampRatedHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLampRatedHoursAttribute(chipClusterPtr, callback, value, null); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampRatedHoursAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampRatedHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeLampRatedHoursAttribute( - LampRatedHoursAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampRatedHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampBurnHoursAttribute(LampBurnHoursAttributeCallback callback) { - readLampBurnHoursAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeLampBurnHoursAttribute(DefaultClusterCallback callback, Long value) { - writeLampBurnHoursAttribute(chipClusterPtr, callback, value, null); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampBurnHoursAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampBurnHoursAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeLampBurnHoursAttribute( - LampBurnHoursAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampBurnHoursAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampAlarmModeAttribute(IntegerAttributeCallback callback) { - readLampAlarmModeAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeLampAlarmModeAttribute(DefaultClusterCallback callback, Integer value) { - writeLampAlarmModeAttribute(chipClusterPtr, callback, value, null); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampAlarmModeAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeLampAlarmModeAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeLampAlarmModeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampAlarmModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLampBurnHoursTripPointAttribute( - LampBurnHoursTripPointAttributeCallback callback) { - readLampBurnHoursTripPointAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampBurnHoursTripPointAttribute(DefaultClusterCallback callback, Long value) { - writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, null); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeLampBurnHoursTripPointAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLampBurnHoursTripPointAttribute( - LampBurnHoursTripPointAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLampBurnHoursTripPointAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readPhysicalMinLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePhysicalMinLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPhysicalMaxLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePhysicalMaxLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBallastStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeBallastStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMinLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeMinLevelAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeMinLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMaxLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeMaxLevelAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeMaxLevelAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readIntrinsicBallastFactorAttribute( - long chipClusterPtr, IntrinsicBallastFactorAttributeCallback callback); - - private native void writeIntrinsicBallastFactorAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeIntrinsicBallastFactorAttribute( - long chipClusterPtr, - IntrinsicBallastFactorAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readBallastFactorAdjustmentAttribute( - long chipClusterPtr, BallastFactorAdjustmentAttributeCallback callback); - - private native void writeBallastFactorAdjustmentAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBallastFactorAdjustmentAttribute( - long chipClusterPtr, - BallastFactorAdjustmentAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLampQuantityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLampQuantityAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLampTypeAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeLampTypeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLampTypeAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLampManufacturerAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeLampManufacturerAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLampManufacturerAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLampRatedHoursAttribute( - long chipClusterPtr, LampRatedHoursAttributeCallback callback); - - private native void writeLampRatedHoursAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLampRatedHoursAttribute( - long chipClusterPtr, - LampRatedHoursAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLampBurnHoursAttribute( - long chipClusterPtr, LampBurnHoursAttributeCallback callback); - - private native void writeLampBurnHoursAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLampBurnHoursAttribute( - long chipClusterPtr, - LampBurnHoursAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLampAlarmModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeLampAlarmModeAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLampAlarmModeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLampBurnHoursTripPointAttribute( - long chipClusterPtr, LampBurnHoursTripPointAttributeCallback callback); - - private native void writeLampBurnHoursTripPointAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLampBurnHoursTripPointAttribute( - long chipClusterPtr, - LampBurnHoursTripPointAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class IlluminanceMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1024L; + public static class TotalColiformBacteriaConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1055L; - public IlluminanceMeasurementCluster(long devicePtr, int endpointId) { + public TotalColiformBacteriaConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface LightSensorTypeAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLightSensorTypeAttribute(LightSensorTypeAttributeCallback callback) { - readLightSensorTypeAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLightSensorTypeAttribute( - LightSensorTypeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLightSensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + public static class TurbidityConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1056L; - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); + public TurbidityConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLightSensorTypeAttribute( - long chipClusterPtr, LightSensorTypeAttributeCallback callback); - - private native void subscribeLightSensorTypeAttribute( - long chipClusterPtr, - LightSensorTypeAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class TemperatureMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1026L; + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public TemperatureMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class PressureMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1027L; + public static class CopperConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1057L; - public PressureMeasurementCluster(long devicePtr, int endpointId) { + public CopperConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ScaledValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinScaledValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxScaledValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScaledValueAttribute(ScaledValueAttributeCallback callback) { - readScaledValueAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeScaledValueAttribute( - ScaledValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinScaledValueAttribute(MinScaledValueAttributeCallback callback) { - readMinScaledValueAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeMinScaledValueAttribute( - MinScaledValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxScaledValueAttribute(MaxScaledValueAttributeCallback callback) { - readMaxScaledValueAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeMaxScaledValueAttribute( - MaxScaledValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxScaledValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScaledToleranceAttribute(IntegerAttributeCallback callback) { - readScaledToleranceAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeScaledToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScaledToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readScaleAttribute(IntegerAttributeCallback callback) { - readScaleAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeScaleAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeScaleAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + public static class LeadConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1058L; - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); + public LeadConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readScaledValueAttribute( - long chipClusterPtr, ScaledValueAttributeCallback callback); - - private native void subscribeScaledValueAttribute( - long chipClusterPtr, - ScaledValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinScaledValueAttribute( - long chipClusterPtr, MinScaledValueAttributeCallback callback); - - private native void subscribeMinScaledValueAttribute( - long chipClusterPtr, - MinScaledValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxScaledValueAttribute( - long chipClusterPtr, MaxScaledValueAttributeCallback callback); - - private native void subscribeMaxScaledValueAttribute( - long chipClusterPtr, - MaxScaledValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readScaledToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeScaledToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readScaleAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeScaleAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class FlowMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1028L; - - public FlowMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class RelativeHumidityMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1029L; + public static class ManganeseConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1059L; - public RelativeHumidityMeasurementCluster(long devicePtr, int endpointId) { + public ManganeseConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + } + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); + } + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readToleranceAttribute(IntegerAttributeCallback callback) { - readToleranceAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); + } + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeToleranceAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeToleranceAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); + } + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeToleranceAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class OccupancySensingCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1030L; + public static class SulfateConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1060L; - public OccupancySensingCluster(long devicePtr, int endpointId) { + public SulfateConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); + } + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readOccupancyAttribute(IntegerAttributeCallback callback) { - readOccupancyAttribute(chipClusterPtr, callback); - } - - public void subscribeOccupancyAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupancyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readOccupancySensorTypeAttribute(IntegerAttributeCallback callback) { - readOccupancySensorTypeAttribute(chipClusterPtr, callback); - } - - public void subscribeOccupancySensorTypeAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupancySensorTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readOccupancySensorTypeBitmapAttribute(IntegerAttributeCallback callback) { - readOccupancySensorTypeBitmapAttribute(chipClusterPtr, callback); - } - - public void subscribeOccupancySensorTypeBitmapAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOccupancySensorTypeBitmapAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPIROccupiedToUnoccupiedDelayAttribute(IntegerAttributeCallback callback) { - readPIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); - } - - public void writePIROccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writePIROccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } - - public void writePIROccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePIROccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribePIROccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePIROccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPIRUnoccupiedToOccupiedDelayAttribute(IntegerAttributeCallback callback) { - readPIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); - } - - public void writePIRUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writePIRUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } - - public void writePIRUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePIRUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribePIRUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePIRUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPIRUnoccupiedToOccupiedThresholdAttribute(IntegerAttributeCallback callback) { - readPIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); - } - - public void writePIRUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value) { - writePIRUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); - } - - public void writePIRUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePIRUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribePIRUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePIRUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUltrasonicOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback) { - readUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); - } - - public void writeUltrasonicOccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writeUltrasonicOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); - } - - public void writeUltrasonicOccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUltrasonicOccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUltrasonicUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback) { - readUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writeUltrasonicUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + public void subscribeMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { + readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - - public void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback) { - readUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { + readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value) { - writeUltrasonicUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback, value, null); + public void subscribePeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePeakMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback) { - readPhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback); + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { + readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - - public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writePhysicalContactOccupiedToUnoccupiedDelayAttribute(chipClusterPtr, callback, value, null); + public void subscribeAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { + readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - - public void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback) { - readPhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback); + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { + readUncertaintyAttribute(chipClusterPtr, callback); } - - public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value) { - writePhysicalContactUnoccupiedToOccupiedDelayAttribute(chipClusterPtr, callback, value, null); + public void subscribeUncertaintyAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writePhysicalContactUnoccupiedToOccupiedDelayAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePhysicalContactUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementUnitAttribute(chipClusterPtr, callback); } - - public void subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasurementUnitAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback) { - readPhysicalContactUnoccupiedToOccupiedThresholdAttribute(chipClusterPtr, callback); + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { + readMeasurementMediumAttribute(chipClusterPtr, callback); } - - public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value) { - writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, value, null); + public void subscribeMeasurementMediumAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { + readLevelValueAttribute(chipClusterPtr, callback); } - - public void subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLevelValueAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readOccupancyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeOccupancyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOccupancySensorTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeOccupancySensorTypeAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOccupancySensorTypeBitmapAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeOccupancySensorTypeBitmapAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPIROccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writePIROccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribePIROccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPIRUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writePIRUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribePIRUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPIRUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writePIRUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribePIRUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUltrasonicOccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeUltrasonicOccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeUltrasonicOccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUltrasonicUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeUltrasonicUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeUltrasonicUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUltrasonicUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeUltrasonicUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPhysicalContactOccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writePhysicalContactOccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribePhysicalContactOccupiedToUnoccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPhysicalContactUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writePhysicalContactUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribePhysicalContactUnoccupiedToOccupiedDelayAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPhysicalContactUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribePhysicalContactUnoccupiedToOccupiedThresholdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class CarbonMonoxideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1036L; + public static class BromodichloromethaneConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1061L; - public CarbonMonoxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public BromodichloromethaneConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); + public static class BromoformConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1062L; - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class CarbonDioxideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1037L; - - public CarbonDioxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public BromoformConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class EthyleneConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1038L; + public static class ChlorodibromomethaneConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1063L; - public EthyleneConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public ChlorodibromomethaneConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class EthyleneOxideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1039L; + public static class ChloroformConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1064L; - public EthyleneOxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public ChloroformConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { + readMinMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class HydrogenConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1040L; + public static class SodiumConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1065L; - public HydrogenConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public SodiumConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class HydrogenSulfideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1041L; + public static class Pm25ConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1066L; - public HydrogenSulfideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public Pm25ConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + public static class FormaldehydeConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1067L; - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class NitricOxideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1042L; - - public NitricOxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + public FormaldehydeConcentrationMeasurementCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class NitrogenDioxideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1043L; + public static class Pm1ConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1068L; - public NitrogenDioxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public Pm1ConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class OxygenConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1044L; + public static class Pm10ConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1069L; - public OxygenConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public Pm10ConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { + readMeasuredValueAttribute(chipClusterPtr, callback); } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class OzoneConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1045L; + public static class TotalVolatileOrganicCompoundsConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1070L; - public OzoneConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public TotalVolatileOrganicCompoundsConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class SulfurDioxideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1046L; + public static class RadonConcentrationMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1071L; - public SulfurDioxideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public RadonConcentrationMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface MeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MinMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface MaxMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface PeakMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AverageMeasuredValueAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { + public void readMeasuredValueAttribute( + MeasuredValueAttributeCallback callback + ) { readMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { + public void readMinMeasuredValueAttribute( + MinMeasuredValueAttributeCallback callback + ) { readMinMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MinMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { + public void readMaxMeasuredValueAttribute( + MaxMeasuredValueAttributeCallback callback + ) { readMaxMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + MaxMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { + public void readPeakMeasuredValueAttribute( + PeakMeasuredValueAttributeCallback callback + ) { readPeakMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + PeakMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readPeakMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { + public void readAverageMeasuredValueAttribute( + AverageMeasuredValueAttributeCallback callback + ) { readAverageMeasuredValueAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { + AverageMeasuredValueAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { + public void readAverageMeasuredValueWindowAttribute( + LongAttributeCallback callback + ) { readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { + public void readUncertaintyAttribute( + FloatAttributeCallback callback + ) { readUncertaintyAttribute(chipClusterPtr, callback); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { + public void readMeasurementUnitAttribute( + IntegerAttributeCallback callback + ) { readMeasurementUnitAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { + public void readMeasurementMediumAttribute( + IntegerAttributeCallback callback + ) { readMeasurementMediumAttribute(chipClusterPtr, callback); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { + public void readLevelValueAttribute( + IntegerAttributeCallback callback + ) { readLevelValueAttribute(chipClusterPtr, callback); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); + private native void readMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + ); + private native void subscribeMeasuredValueAttribute(long chipClusterPtr, + MeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + ); + private native void subscribeMinMeasuredValueAttribute(long chipClusterPtr, + MinMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + ); + private native void subscribeMaxMeasuredValueAttribute(long chipClusterPtr, + MaxMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + ); + private native void subscribePeakMeasuredValueAttribute(long chipClusterPtr, + PeakMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePeakMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueAttribute(long chipClusterPtr, + AverageMeasuredValueAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeAverageMeasuredValueWindowAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribeUncertaintyAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementUnitAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasurementMediumAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLevelValueAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + public static class WakeOnLanCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1283L; - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); + public WakeOnLanCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public void readMACAddressAttribute( + CharStringAttributeCallback callback + ) { + readMACAddressAttribute(chipClusterPtr, callback); + } + public void subscribeMACAddressAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMACAddressAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMACAddressAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeMACAddressAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class DissolvedOxygenConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1047L; + public static class ChannelCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1284L; - public DissolvedOxygenConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public ChannelCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void changeChannel(ChangeChannelResponseCallback callback + , String match) { + changeChannel(chipClusterPtr, callback, match, null); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void changeChannel(ChangeChannelResponseCallback callback + , String match + , int timedInvokeTimeoutMs) { + changeChannel(chipClusterPtr, callback, match, timedInvokeTimeoutMs); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void changeChannelByNumber(DefaultClusterCallback callback + , Integer majorNumber, Integer minorNumber) { + changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, null); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void changeChannelByNumber(DefaultClusterCallback callback + , Integer majorNumber, Integer minorNumber + , int timedInvokeTimeoutMs) { + changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, timedInvokeTimeoutMs); } - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void skipChannel(DefaultClusterCallback callback + , Integer count) { + skipChannel(chipClusterPtr, callback, count, null); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void skipChannel(DefaultClusterCallback callback + , Integer count + , int timedInvokeTimeoutMs) { + skipChannel(chipClusterPtr, callback, count, timedInvokeTimeoutMs); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + private native void changeChannel(long chipClusterPtr, ChangeChannelResponseCallback Callback + , String match + , @Nullable Integer timedInvokeTimeoutMs); + private native void changeChannelByNumber(long chipClusterPtr, DefaultClusterCallback Callback + , Integer majorNumber, Integer minorNumber + , @Nullable Integer timedInvokeTimeoutMs); + private native void skipChannel(long chipClusterPtr, DefaultClusterCallback Callback + , Integer count + , @Nullable Integer timedInvokeTimeoutMs); + public interface ChangeChannelResponseCallback { + void onSuccess(Integer status, Optional data); + + void onError(Exception error); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - void onError(Exception ex); + public interface ChannelListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readChannelListAttribute( + ChannelListAttributeCallback callback + ) { + readChannelListAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeChannelListAttribute( + ChannelListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeChannelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } + private native void readChannelListAttribute(long chipClusterPtr, + ChannelListAttributeCallback callback + ); + private native void subscribeChannelListAttribute(long chipClusterPtr, + ChannelListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } + public static class TargetNavigatorCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1285L; - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public TargetNavigatorCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void navigateTarget(NavigateTargetResponseCallback callback + , Integer target, Optional data) { + navigateTarget(chipClusterPtr, callback, target, data, null); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void navigateTarget(NavigateTargetResponseCallback callback + , Integer target, Optional data + , int timedInvokeTimeoutMs) { + navigateTarget(chipClusterPtr, callback, target, data, timedInvokeTimeoutMs); } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + private native void navigateTarget(long chipClusterPtr, NavigateTargetResponseCallback Callback + , Integer target, Optional data + , @Nullable Integer timedInvokeTimeoutMs); + public interface NavigateTargetResponseCallback { + void onSuccess(Integer status, Optional data); + + void onError(Exception error); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public interface TargetListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readTargetListAttribute( + TargetListAttributeCallback callback + ) { + readTargetListAttribute(chipClusterPtr, callback); + } + public void subscribeTargetListAttribute( + TargetListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeTargetListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentTargetAttribute( + IntegerAttributeCallback callback + ) { + readCurrentTargetAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentTargetAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentTargetAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readTargetListAttribute(long chipClusterPtr, + TargetListAttributeCallback callback + ); + private native void subscribeTargetListAttribute(long chipClusterPtr, + TargetListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentTargetAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentTargetAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class BromateConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1048L; + public static class MediaPlaybackCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1286L; - public BromateConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public MediaPlaybackCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); + public void play(PlaybackResponseCallback callback + ) { + play(chipClusterPtr, callback, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void play(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + play(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); + public void pause(PlaybackResponseCallback callback + ) { + pause(chipClusterPtr, callback, null); + } - void onError(Exception ex); + public void pause(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + pause(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void stop(PlaybackResponseCallback callback + ) { + stop(chipClusterPtr, callback, null); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); + public void stop(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + stop(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - void onError(Exception ex); + public void startOver(PlaybackResponseCallback callback + ) { + startOver(chipClusterPtr, callback, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void startOver(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + startOver(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); + public void previous(PlaybackResponseCallback callback + ) { + previous(chipClusterPtr, callback, null); + } - void onError(Exception ex); + public void previous(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + previous(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void next(PlaybackResponseCallback callback + ) { + next(chipClusterPtr, callback, null); } - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); + public void next(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + next(chipClusterPtr, callback, timedInvokeTimeoutMs); + } - void onError(Exception ex); + public void rewind(PlaybackResponseCallback callback + ) { + rewind(chipClusterPtr, callback, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void rewind(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + rewind(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void fastForward(PlaybackResponseCallback callback + ) { + fastForward(chipClusterPtr, callback, null); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void fastForward(PlaybackResponseCallback callback + + , int timedInvokeTimeoutMs) { + fastForward(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void skipForward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds) { + skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, null); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void skipForward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds + , int timedInvokeTimeoutMs) { + skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void skipBackward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds) { + skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, null); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void skipBackward(PlaybackResponseCallback callback + , Long deltaPositionMilliseconds + , int timedInvokeTimeoutMs) { + skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void seek(PlaybackResponseCallback callback + , Long position) { + seek(chipClusterPtr, callback, position, null); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void seek(PlaybackResponseCallback callback + , Long position + , int timedInvokeTimeoutMs) { + seek(chipClusterPtr, callback, position, timedInvokeTimeoutMs); } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + private native void play(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void pause(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void stop(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void startOver(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void previous(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void next(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void rewind(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void fastForward(long chipClusterPtr, PlaybackResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void skipForward(long chipClusterPtr, PlaybackResponseCallback Callback + , Long deltaPositionMilliseconds + , @Nullable Integer timedInvokeTimeoutMs); + private native void skipBackward(long chipClusterPtr, PlaybackResponseCallback Callback + , Long deltaPositionMilliseconds + , @Nullable Integer timedInvokeTimeoutMs); + private native void seek(long chipClusterPtr, PlaybackResponseCallback Callback + , Long position + , @Nullable Integer timedInvokeTimeoutMs); + public interface PlaybackResponseCallback { + void onSuccess(Integer status, Optional data); + + void onError(Exception error); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface StartTimeAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface DurationAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface SeekRangeEndAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface SeekRangeStartAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readCurrentStateAttribute( + IntegerAttributeCallback callback + ) { + readCurrentStateAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeCurrentStateAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readStartTimeAttribute( + StartTimeAttributeCallback callback + ) { + readStartTimeAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeStartTimeAttribute( + StartTimeAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeStartTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void readDurationAttribute( + DurationAttributeCallback callback + ) { + readDurationAttribute(chipClusterPtr, callback); } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDurationAttribute( + DurationAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeDurationAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void readPlaybackSpeedAttribute( + FloatAttributeCallback callback + ) { + readPlaybackSpeedAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePlaybackSpeedAttribute( + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePlaybackSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void readSeekRangeEndAttribute( + SeekRangeEndAttributeCallback callback + ) { + readSeekRangeEndAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSeekRangeEndAttribute( + SeekRangeEndAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSeekRangeEndAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void readSeekRangeStartAttribute( + SeekRangeStartAttributeCallback callback + ) { + readSeekRangeStartAttribute(chipClusterPtr, callback); } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeSeekRangeStartAttribute( + SeekRangeStartAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeSeekRangeStartAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readCurrentStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentStateAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStartTimeAttribute(long chipClusterPtr, + StartTimeAttributeCallback callback + ); + private native void subscribeStartTimeAttribute(long chipClusterPtr, + StartTimeAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readDurationAttribute(long chipClusterPtr, + DurationAttributeCallback callback + ); + private native void subscribeDurationAttribute(long chipClusterPtr, + DurationAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readPlaybackSpeedAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + private native void subscribePlaybackSpeedAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readSeekRangeEndAttribute(long chipClusterPtr, + SeekRangeEndAttributeCallback callback + ); + private native void subscribeSeekRangeEndAttribute(long chipClusterPtr, + SeekRangeEndAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSeekRangeStartAttribute(long chipClusterPtr, + SeekRangeStartAttributeCallback callback + ); + private native void subscribeSeekRangeStartAttribute(long chipClusterPtr, + SeekRangeStartAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ChloraminesConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1049L; + public static class MediaInputCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1287L; - public ChloraminesConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public MediaInputCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void selectInput(DefaultClusterCallback callback + , Integer index) { + selectInput(chipClusterPtr, callback, index, null); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void selectInput(DefaultClusterCallback callback + , Integer index + , int timedInvokeTimeoutMs) { + selectInput(chipClusterPtr, callback, index, timedInvokeTimeoutMs); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void showInputStatus(DefaultClusterCallback callback + ) { + showInputStatus(chipClusterPtr, callback, null); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void showInputStatus(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + showInputStatus(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void hideInputStatus(DefaultClusterCallback callback + ) { + hideInputStatus(chipClusterPtr, callback, null); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void hideInputStatus(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + hideInputStatus(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void renameInput(DefaultClusterCallback callback + , Integer index, String name) { + renameInput(chipClusterPtr, callback, index, name, null); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void renameInput(DefaultClusterCallback callback + , Integer index, String name + , int timedInvokeTimeoutMs) { + renameInput(chipClusterPtr, callback, index, name, timedInvokeTimeoutMs); } + private native void selectInput(long chipClusterPtr, DefaultClusterCallback Callback + , Integer index + , @Nullable Integer timedInvokeTimeoutMs); + private native void showInputStatus(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void hideInputStatus(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void renameInput(long chipClusterPtr, DefaultClusterCallback Callback + , Integer index, String name + , @Nullable Integer timedInvokeTimeoutMs); + + public interface InputListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInputListAttribute( + InputListAttributeCallback callback + ) { + readInputListAttribute(chipClusterPtr, callback); } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeInputListAttribute( + InputListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeInputListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentInputAttribute( + IntegerAttributeCallback callback + ) { + readCurrentInputAttribute(chipClusterPtr, callback); } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeCurrentInputAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentInputAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readInputListAttribute(long chipClusterPtr, + InputListAttributeCallback callback + ); + private native void subscribeInputListAttribute(long chipClusterPtr, + InputListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentInputAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentInputAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } + public static class LowPowerCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1288L; - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public LowPowerCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } + @Override + public native long initWithDevice(long devicePtr, int endpointId); - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void sleep(DefaultClusterCallback callback + ) { + sleep(chipClusterPtr, callback, null); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void sleep(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + sleep(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void sleep(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public static class KeypadInputCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1289L; - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + public KeypadInputCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); + public void sendKey(SendKeyResponseCallback callback + , Integer keyCode) { + sendKey(chipClusterPtr, callback, keyCode, null); + } - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); + public void sendKey(SendKeyResponseCallback callback + , Integer keyCode + , int timedInvokeTimeoutMs) { + sendKey(chipClusterPtr, callback, keyCode, timedInvokeTimeoutMs); + } + private native void sendKey(long chipClusterPtr, SendKeyResponseCallback Callback + , Integer keyCode + , @Nullable Integer timedInvokeTimeoutMs); + public interface SendKeyResponseCallback { + void onSuccess(Integer status); + + void onError(Exception error); + } - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class ChlorineConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1050L; + public static class ContentLauncherCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1290L; - public ChlorineConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public ContentLauncherCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void launchContent(LauncherResponseCallback callback + , ChipStructs.ContentLauncherClusterContentSearchStruct search, Boolean autoPlay, Optional data) { + launchContent(chipClusterPtr, callback, search, autoPlay, data, null); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void launchContent(LauncherResponseCallback callback + , ChipStructs.ContentLauncherClusterContentSearchStruct search, Boolean autoPlay, Optional data + , int timedInvokeTimeoutMs) { + launchContent(chipClusterPtr, callback, search, autoPlay, data, timedInvokeTimeoutMs); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); + public void launchURL(LauncherResponseCallback callback + , String contentURL, Optional displayString, Optional brandingInformation) { + launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void launchURL(LauncherResponseCallback callback + , String contentURL, Optional displayString, Optional brandingInformation + , int timedInvokeTimeoutMs) { + launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, timedInvokeTimeoutMs); + } + private native void launchContent(long chipClusterPtr, LauncherResponseCallback Callback + , ChipStructs.ContentLauncherClusterContentSearchStruct search, Boolean autoPlay, Optional data + , @Nullable Integer timedInvokeTimeoutMs); + private native void launchURL(long chipClusterPtr, LauncherResponseCallback Callback + , String contentURL, Optional displayString, Optional brandingInformation + , @Nullable Integer timedInvokeTimeoutMs); + public interface LauncherResponseCallback { + void onSuccess(Integer status, Optional data); + + void onError(Exception error); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - void onError(Exception ex); + public interface AcceptHeaderAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcceptHeaderAttribute( + AcceptHeaderAttributeCallback callback + ) { + readAcceptHeaderAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptHeaderAttribute( + AcceptHeaderAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptHeaderAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); + public void readSupportedStreamingProtocolsAttribute( + LongAttributeCallback callback + ) { + readSupportedStreamingProtocolsAttribute(chipClusterPtr, callback); + } + public void writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value) { + writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, null); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeSupportedStreamingProtocolsAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - void onError(Exception ex); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); + private native void readAcceptHeaderAttribute(long chipClusterPtr, + AcceptHeaderAttributeCallback callback + ); + private native void subscribeAcceptHeaderAttribute(long chipClusterPtr, + AcceptHeaderAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readSupportedStreamingProtocolsAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeSupportedStreamingProtocolsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeSupportedStreamingProtocolsAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - void onError(Exception ex); + public static class AudioOutputCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1291L; - default void onSubscriptionEstablished(long subscriptionId) {} + public AudioOutputCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); + @Override + public native long initWithDevice(long devicePtr, int endpointId); - default void onSubscriptionEstablished(long subscriptionId) {} + public void selectOutput(DefaultClusterCallback callback + , Integer index) { + selectOutput(chipClusterPtr, callback, index, null); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void selectOutput(DefaultClusterCallback callback + , Integer index + , int timedInvokeTimeoutMs) { + selectOutput(chipClusterPtr, callback, index, timedInvokeTimeoutMs); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void renameOutput(DefaultClusterCallback callback + , Integer index, String name) { + renameOutput(chipClusterPtr, callback, index, name, null); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void renameOutput(DefaultClusterCallback callback + , Integer index, String name + , int timedInvokeTimeoutMs) { + renameOutput(chipClusterPtr, callback, index, name, timedInvokeTimeoutMs); } + private native void selectOutput(long chipClusterPtr, DefaultClusterCallback Callback + , Integer index + , @Nullable Integer timedInvokeTimeoutMs); + private native void renameOutput(long chipClusterPtr, DefaultClusterCallback Callback + , Integer index, String name + , @Nullable Integer timedInvokeTimeoutMs); + + public interface OutputListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readOutputListAttribute( + OutputListAttributeCallback callback + ) { + readOutputListAttribute(chipClusterPtr, callback); } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeOutputListAttribute( + OutputListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeOutputListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readCurrentOutputAttribute( + IntegerAttributeCallback callback + ) { + readCurrentOutputAttribute(chipClusterPtr, callback); } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeCurrentOutputAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentOutputAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); + } + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + private native void readOutputListAttribute(long chipClusterPtr, + OutputListAttributeCallback callback + ); + private native void subscribeOutputListAttribute(long chipClusterPtr, + OutputListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readCurrentOutputAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentOutputAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } + + public static class ApplicationLauncherCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1292L; + + public ApplicationLauncherCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public void launchApp(LauncherResponseCallback callback + , Optional application, Optional data) { + launchApp(chipClusterPtr, callback, application, data, null); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void launchApp(LauncherResponseCallback callback + , Optional application, Optional data + , int timedInvokeTimeoutMs) { + launchApp(chipClusterPtr, callback, application, data, timedInvokeTimeoutMs); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void stopApp(LauncherResponseCallback callback + , Optional application) { + stopApp(chipClusterPtr, callback, application, null); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void stopApp(LauncherResponseCallback callback + , Optional application + , int timedInvokeTimeoutMs) { + stopApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void hideApp(LauncherResponseCallback callback + , Optional application) { + hideApp(chipClusterPtr, callback, application, null); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void hideApp(LauncherResponseCallback callback + , Optional application + , int timedInvokeTimeoutMs) { + hideApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); + } + private native void launchApp(long chipClusterPtr, LauncherResponseCallback Callback + , Optional application, Optional data + , @Nullable Integer timedInvokeTimeoutMs); + private native void stopApp(long chipClusterPtr, LauncherResponseCallback Callback + , Optional application + , @Nullable Integer timedInvokeTimeoutMs); + private native void hideApp(long chipClusterPtr, LauncherResponseCallback Callback + , Optional application + , @Nullable Integer timedInvokeTimeoutMs); + public interface LauncherResponseCallback { + void onSuccess(Integer status, Optional data); + + void onError(Exception error); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public interface CatalogListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + + public void readCatalogListAttribute( + CatalogListAttributeCallback callback + ) { + readCatalogListAttribute(chipClusterPtr, callback); + } + public void subscribeCatalogListAttribute( + CatalogListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeCatalogListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + private native void readCatalogListAttribute(long chipClusterPtr, + CatalogListAttributeCallback callback + ); + private native void subscribeCatalogListAttribute(long chipClusterPtr, + CatalogListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); + public static class ApplicationBasicCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1293L; - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class FecalColiformEColiConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1051L; - - public FecalColiformEColiConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } + public ApplicationBasicCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); + public interface AllowedVendorListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readVendorNameAttribute( + CharStringAttributeCallback callback + ) { + readVendorNameAttribute(chipClusterPtr, callback); } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeVendorNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readVendorIDAttribute( + IntegerAttributeCallback callback + ) { + readVendorIDAttribute(chipClusterPtr, callback); } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeVendorIDAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readApplicationNameAttribute( + CharStringAttributeCallback callback + ) { + readApplicationNameAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeApplicationNameAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApplicationNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readProductIDAttribute( + IntegerAttributeCallback callback + ) { + readProductIDAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeProductIDAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeProductIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readStatusAttribute( + IntegerAttributeCallback callback + ) { + readStatusAttribute(chipClusterPtr, callback); } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeStatusAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readApplicationVersionAttribute( + CharStringAttributeCallback callback + ) { + readApplicationVersionAttribute(chipClusterPtr, callback); } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeApplicationVersionAttribute( + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApplicationVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAllowedVendorListAttribute( + AllowedVendorListAttributeCallback callback + ) { + readAllowedVendorListAttribute(chipClusterPtr, callback); } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeAllowedVendorListAttribute( + AllowedVendorListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAllowedVendorListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { + readGeneratedCommandListAttribute(chipClusterPtr, callback); } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { + readAcceptedCommandListAttribute(chipClusterPtr, callback); } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void subscribeAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readEventListAttribute( + EventListAttributeCallback callback + ) { + readEventListAttribute(chipClusterPtr, callback); } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } + private native void readVendorNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeVendorNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readVendorIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeVendorIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readApplicationNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeApplicationNameAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readProductIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeProductIDAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeStatusAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readApplicationVersionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + private native void subscribeApplicationVersionAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAllowedVendorListAttribute(long chipClusterPtr, + AllowedVendorListAttributeCallback callback + ); + private native void subscribeAllowedVendorListAttribute(long chipClusterPtr, + AllowedVendorListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public static class AccountLoginCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 1294L; + + public AccountLoginCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + + public void getSetupPIN(GetSetupPINResponseCallback callback + , String tempAccountIdentifier + , int timedInvokeTimeoutMs) { + getSetupPIN(chipClusterPtr, callback, tempAccountIdentifier, timedInvokeTimeoutMs); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + + public void login(DefaultClusterCallback callback + , String tempAccountIdentifier, String setupPIN + , int timedInvokeTimeoutMs) { + login(chipClusterPtr, callback, tempAccountIdentifier, setupPIN, timedInvokeTimeoutMs); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + + public void logout(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { + logout(chipClusterPtr, callback, timedInvokeTimeoutMs); } + private native void getSetupPIN(long chipClusterPtr, GetSetupPINResponseCallback Callback + , String tempAccountIdentifier + , @Nullable Integer timedInvokeTimeoutMs); + private native void login(long chipClusterPtr, DefaultClusterCallback Callback + , String tempAccountIdentifier, String setupPIN + , @Nullable Integer timedInvokeTimeoutMs); + private native void logout(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + public interface GetSetupPINResponseCallback { + void onSuccess(String setupPIN); + + void onError(Exception error); + } + + + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } - public static class FluorideConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1052L; + public static class ElectricalMeasurementCluster extends BaseChipCluster { + public static final long CLUSTER_ID = 2820L; - public FluorideConcentrationMeasurementCluster(long devicePtr, int endpointId) { + public ElectricalMeasurementCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); } @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasurementTypeAttribute( + LongAttributeCallback callback + ) { + readMeasurementTypeAttribute(chipClusterPtr, callback); } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasurementTypeAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasurementTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDcVoltageAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageAttribute(chipClusterPtr, callback); } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDcVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDcVoltageMinAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageMinAttribute(chipClusterPtr, callback); } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDcVoltageMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDcVoltageMaxAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageMaxAttribute(chipClusterPtr, callback); } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeDcVoltageMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readDcCurrentAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentAttribute(chipClusterPtr, callback); + } + public void subscribeDcCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readDcCurrentMinAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentMinAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcCurrentMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readDcCurrentMaxAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentMaxAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcCurrentMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readDcPowerAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerAttribute(chipClusterPtr, callback); } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcPowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void readDcPowerMinAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerMinAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcPowerMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readDcPowerMaxAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerMaxAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcPowerMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readDcVoltageMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcVoltageMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readDcVoltageDivisorAttribute( + IntegerAttributeCallback callback + ) { + readDcVoltageDivisorAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcVoltageDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void readDcCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void readDcCurrentDivisorAttribute( + IntegerAttributeCallback callback + ) { + readDcCurrentDivisorAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcCurrentDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void readDcPowerMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcPowerMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void readDcPowerDivisorAttribute( + IntegerAttributeCallback callback + ) { + readDcPowerDivisorAttribute(chipClusterPtr, callback); } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeDcPowerDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeDcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readAcFrequencyAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcFrequencyAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readAcFrequencyMinAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyMinAttribute(chipClusterPtr, callback); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcFrequencyMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readAcFrequencyMaxAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyMaxAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcFrequencyMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readNeutralCurrentAttribute( + IntegerAttributeCallback callback + ) { + readNeutralCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeNeutralCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeNeutralCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readTotalActivePowerAttribute( + LongAttributeCallback callback + ) { + readTotalActivePowerAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeTotalActivePowerAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTotalActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readTotalReactivePowerAttribute( + LongAttributeCallback callback + ) { + readTotalReactivePowerAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeTotalReactivePowerAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTotalReactivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class HaloaceticAcidsConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1053L; - - public HaloaceticAcidsConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readTotalApparentPowerAttribute( + LongAttributeCallback callback + ) { + readTotalApparentPowerAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeTotalApparentPowerAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeTotalApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasured1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured1stHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasured1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured1stHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasured3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured3rdHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasured3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured3rdHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasured5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured5thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasured5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured5thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readMeasured7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured7thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeMeasured7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured7thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readMeasured9thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured9thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasured9thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured9thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readMeasured11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasured11thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasured11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasured11thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readMeasuredPhase1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase1stHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredPhase1stHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase1stHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void readMeasuredPhase3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase3rdHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredPhase3rdHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase3rdHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readMeasuredPhase5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase5thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredPhase5thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase5thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readMeasuredPhase7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase7thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredPhase7thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase7thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readMeasuredPhase9thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase9thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredPhase9thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase9thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void readMeasuredPhase11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback + ) { + readMeasuredPhase11thHarmonicCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeMeasuredPhase11thHarmonicCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeMeasuredPhase11thHarmonicCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void readAcFrequencyMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcFrequencyMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void readAcFrequencyDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcFrequencyDivisorAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAcFrequencyDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcFrequencyDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void readPowerMultiplierAttribute( + LongAttributeCallback callback + ) { + readPowerMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePowerMultiplierAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readPowerDivisorAttribute( + LongAttributeCallback callback + ) { + readPowerDivisorAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePowerDivisorAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readPhaseHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readPhaseHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePhaseHarmonicCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePhaseHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readInstantaneousVoltageAttribute( + IntegerAttributeCallback callback + ) { + readInstantaneousVoltageAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeInstantaneousVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstantaneousVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readInstantaneousLineCurrentAttribute( + IntegerAttributeCallback callback + ) { + readInstantaneousLineCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeInstantaneousLineCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstantaneousLineCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readInstantaneousActiveCurrentAttribute( + IntegerAttributeCallback callback + ) { + readInstantaneousActiveCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeInstantaneousActiveCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstantaneousActiveCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class TotalTrihalomethanesConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1054L; - - public TotalTrihalomethanesConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readInstantaneousReactiveCurrentAttribute( + IntegerAttributeCallback callback + ) { + readInstantaneousReactiveCurrentAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeInstantaneousReactiveCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstantaneousReactiveCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readInstantaneousPowerAttribute( + IntegerAttributeCallback callback + ) { + readInstantaneousPowerAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeInstantaneousPowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeInstantaneousPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsVoltageAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageAttribute(chipClusterPtr, callback); } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsVoltageMinAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMinAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsVoltageMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsVoltageMaxAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMaxAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsVoltageMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readRmsCurrentAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsCurrentAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readRmsCurrentMinAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMinAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsCurrentMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readRmsCurrentMaxAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMaxAttribute(chipClusterPtr, callback); } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsCurrentMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void readActivePowerAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActivePowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readActivePowerMinAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMinAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActivePowerMinAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readActivePowerMaxAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMaxAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActivePowerMaxAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readReactivePowerAttribute( + IntegerAttributeCallback callback + ) { + readReactivePowerAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeReactivePowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void readApparentPowerAttribute( + IntegerAttributeCallback callback + ) { + readApparentPowerAttribute(chipClusterPtr, callback); } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeApparentPowerAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void readPowerFactorAttribute( + IntegerAttributeCallback callback + ) { + readPowerFactorAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePowerFactorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void readAverageRmsVoltageMeasurementPeriodAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeAverageRmsVoltageMeasurementPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback, value, null); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void writeAverageRmsVoltageMeasurementPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsVoltageMeasurementPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readAverageRmsUnderVoltageCounterAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeAverageRmsUnderVoltageCounterAttribute(DefaultClusterCallback callback, Integer value) { + writeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, value, null); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void writeAverageRmsUnderVoltageCounterAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsUnderVoltageCounterAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readRmsExtremeOverVoltagePeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback); + } + public void writeRmsExtremeOverVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback, value, null); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeRmsExtremeOverVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeRmsExtremeOverVoltagePeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readRmsExtremeUnderVoltagePeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback); + } + public void writeRmsExtremeUnderVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, value, null); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeRmsExtremeUnderVoltagePeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeRmsExtremeUnderVoltagePeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readRmsVoltageSagPeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagPeriodAttribute(chipClusterPtr, callback); + } + public void writeRmsVoltageSagPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, value, null); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeRmsVoltageSagPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeRmsVoltageSagPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readRmsVoltageSwellPeriodAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback); + } + public void writeRmsVoltageSwellPeriodAttribute(DefaultClusterCallback callback, Integer value) { + writeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, value, null); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void writeRmsVoltageSwellPeriodAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeRmsVoltageSwellPeriodAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); + public void readAcVoltageMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readAcVoltageMultiplierAttribute(chipClusterPtr, callback); + } + public void subscribeAcVoltageMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcVoltageMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); + public void readAcVoltageDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcVoltageDivisorAttribute(chipClusterPtr, callback); + } + public void subscribeAcVoltageDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class TotalColiformBacteriaConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1055L; - - public TotalColiformBacteriaConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readAcCurrentMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readAcCurrentMultiplierAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcCurrentMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcCurrentDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcCurrentDivisorAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcCurrentDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcPowerMultiplierAttribute( + IntegerAttributeCallback callback + ) { + readAcPowerMultiplierAttribute(chipClusterPtr, callback); } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcPowerMultiplierAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcPowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readAcPowerDivisorAttribute( + IntegerAttributeCallback callback + ) { + readAcPowerDivisorAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAcPowerDivisorAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback + ) { + readOverloadAlarmsMaskAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void writeOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value) { + writeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, null); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void writeOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readVoltageOverloadAttribute( + IntegerAttributeCallback callback + ) { + readVoltageOverloadAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeVoltageOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeVoltageOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readCurrentOverloadAttribute( + IntegerAttributeCallback callback + ) { + readCurrentOverloadAttribute(chipClusterPtr, callback); + } + public void subscribeCurrentOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeCurrentOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback + ) { + readAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback); + } + public void writeAcOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value) { + writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, null); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void writeAcOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); + } + public void subscribeAcOverloadAlarmsMaskAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcVoltageOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcVoltageOverloadAttribute(chipClusterPtr, callback); + } + public void subscribeAcVoltageOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcVoltageOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readAcCurrentOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcCurrentOverloadAttribute(chipClusterPtr, callback); + } + public void subscribeAcCurrentOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcCurrentOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAcActivePowerOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcActivePowerOverloadAttribute(chipClusterPtr, callback); + } + public void subscribeAcActivePowerOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcActivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readAcReactivePowerOverloadAttribute( + IntegerAttributeCallback callback + ) { + readAcReactivePowerOverloadAttribute(chipClusterPtr, callback); + } + public void subscribeAcReactivePowerOverloadAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAcReactivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageRmsOverVoltageAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsOverVoltageAttribute(chipClusterPtr, callback); + } + public void subscribeAverageRmsOverVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readAverageRmsUnderVoltageAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageAttribute(chipClusterPtr, callback); + } + public void subscribeAverageRmsUnderVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsExtremeOverVoltageAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltageAttribute(chipClusterPtr, callback); + } + public void subscribeRmsExtremeOverVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void readRmsExtremeUnderVoltageAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback); + } + public void subscribeRmsExtremeUnderVoltageAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageSagAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagAttribute(chipClusterPtr, callback); + } + public void subscribeRmsVoltageSagAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void readRmsVoltageSwellAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellAttribute(chipClusterPtr, callback); + } + public void subscribeRmsVoltageSwellAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSwellAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readLineCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readLineCurrentPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeLineCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLineCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void readActiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActiveCurrentPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeActiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readReactiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readReactiveCurrentPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeReactiveCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void readRmsVoltagePhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltagePhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeRmsVoltagePhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltagePhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsVoltageMinPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeRmsVoltageMinPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readRmsVoltageMaxPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeRmsVoltageMaxPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsCurrentPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeRmsCurrentPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readRmsCurrentMinPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeRmsCurrentMinPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readRmsCurrentMaxPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeRmsCurrentMaxPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readActivePowerPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeActivePowerPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readActivePowerMinPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMinPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeActivePowerMinPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readActivePowerMaxPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMaxPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeActivePowerMaxPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readReactivePowerPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readReactivePowerPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeReactivePowerPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readApparentPowerPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readApparentPowerPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeApparentPowerPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApparentPowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readPowerFactorPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readPowerFactorPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribePowerFactorPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerFactorPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsVoltageMeasurementPeriodPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void readAverageRmsOverVoltageCounterPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsOverVoltageCounterPhaseBAttribute(chipClusterPtr, callback); + } + public void subscribeAverageRmsOverVoltageCounterPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsOverVoltageCounterPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class TurbidityConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1056L; - - public TurbidityConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readAverageRmsUnderVoltageCounterPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageCounterPhaseBAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageRmsUnderVoltageCounterPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsUnderVoltageCounterPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsExtremeOverVoltagePeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsExtremeUnderVoltagePeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsVoltageSagPeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagPeriodPhaseBAttribute(chipClusterPtr, callback); } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsVoltageSagPeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsVoltageSwellPeriodPhaseBAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellPeriodPhaseBAttribute(chipClusterPtr, callback); } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsVoltageSwellPeriodPhaseBAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSwellPeriodPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); + public void readLineCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readLineCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeLineCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeLineCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); + public void readActiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActiveCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); + public void readReactiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readReactiveCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeReactiveCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); + public void readRmsVoltagePhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltagePhaseCAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltagePhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltagePhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readRmsVoltageMinPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageMinPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); + public void readRmsVoltageMaxPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageMaxPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); + public void readRmsCurrentPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsCurrentPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); + public void readRmsCurrentMinPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMinPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsCurrentMinPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); + public void readRmsCurrentMaxPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsCurrentMaxPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void readActivePowerPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActivePowerPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void readActivePowerMinPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMinPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActivePowerMinPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); + public void readActivePowerMaxPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readActivePowerMaxPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeActivePowerMaxPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeActivePowerMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); + public void readReactivePowerPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readReactivePowerPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeReactivePowerPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeReactivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); + public void readApparentPowerPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readApparentPowerPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeApparentPowerPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeApparentPowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); + public void readPowerFactorPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readPowerFactorPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribePowerFactorPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribePowerFactorPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); + public void readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsVoltageMeasurementPeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); + public void readAverageRmsOverVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsOverVoltageCounterPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeAverageRmsOverVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsOverVoltageCounterPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class CopperConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1057L; - - public CopperConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); + public void readAverageRmsUnderVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readAverageRmsUnderVoltageCounterPhaseCAttribute(chipClusterPtr, callback); } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeAverageRmsUnderVoltageCounterPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeAverageRmsUnderVoltageCounterPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsExtremeOverVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeOverVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} + public void readRmsExtremeUnderVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsExtremeUnderVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); + } + public void subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); + public void readRmsVoltageSagPeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSagPeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageSagPeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSagPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); + public void readRmsVoltageSwellPeriodPhaseCAttribute( + IntegerAttributeCallback callback + ) { + readRmsVoltageSwellPeriodPhaseCAttribute(chipClusterPtr, callback); } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); + public void subscribeRmsVoltageSwellPeriodPhaseCAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeRmsVoltageSwellPeriodPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class LeadConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1058L; - - public LeadConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ManganeseConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1059L; - - public ManganeseConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class SulfateConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1060L; - - public SulfateConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class BromodichloromethaneConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1061L; - - public BromodichloromethaneConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class BromoformConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1062L; - - public BromoformConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ChlorodibromomethaneConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1063L; - - public ChlorodibromomethaneConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ChloroformConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1064L; - - public ChloroformConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class SodiumConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1065L; - - public SodiumConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class Pm25ConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1066L; - - public Pm25ConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class FormaldehydeConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1067L; - - public FormaldehydeConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class Pm1ConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1068L; - - public Pm1ConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class Pm10ConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1069L; - - public Pm10ConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - extends BaseChipCluster { - public static final long CLUSTER_ID = 1070L; - - public TotalVolatileOrganicCompoundsConcentrationMeasurementCluster( - long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class RadonConcentrationMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1071L; - - public RadonConcentrationMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface MeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MinMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface MaxMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface PeakMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AverageMeasuredValueAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasuredValueAttribute(MeasuredValueAttributeCallback callback) { - readMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredValueAttribute( - MeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMinMeasuredValueAttribute(MinMeasuredValueAttributeCallback callback) { - readMinMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMinMeasuredValueAttribute( - MinMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMinMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMaxMeasuredValueAttribute(MaxMeasuredValueAttributeCallback callback) { - readMaxMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeMaxMeasuredValueAttribute( - MaxMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMaxMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueAttribute(PeakMeasuredValueAttributeCallback callback) { - readPeakMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueAttribute( - PeakMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPeakMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readPeakMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribePeakMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePeakMeasuredValueWindowAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueAttribute(AverageMeasuredValueAttributeCallback callback) { - readAverageMeasuredValueAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueAttribute( - AverageMeasuredValueAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageMeasuredValueWindowAttribute(LongAttributeCallback callback) { - readAverageMeasuredValueWindowAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageMeasuredValueWindowAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageMeasuredValueWindowAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readUncertaintyAttribute(FloatAttributeCallback callback) { - readUncertaintyAttribute(chipClusterPtr, callback); - } - - public void subscribeUncertaintyAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribeUncertaintyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementUnitAttribute(IntegerAttributeCallback callback) { - readMeasurementUnitAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementUnitAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementUnitAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasurementMediumAttribute(IntegerAttributeCallback callback) { - readMeasurementMediumAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementMediumAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementMediumAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLevelValueAttribute(IntegerAttributeCallback callback) { - readLevelValueAttribute(chipClusterPtr, callback); - } - - public void subscribeLevelValueAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLevelValueAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasuredValueAttribute( - long chipClusterPtr, MeasuredValueAttributeCallback callback); - - private native void subscribeMeasuredValueAttribute( - long chipClusterPtr, - MeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMinMeasuredValueAttribute( - long chipClusterPtr, MinMeasuredValueAttributeCallback callback); - - private native void subscribeMinMeasuredValueAttribute( - long chipClusterPtr, - MinMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readMaxMeasuredValueAttribute( - long chipClusterPtr, MaxMeasuredValueAttributeCallback callback); - - private native void subscribeMaxMeasuredValueAttribute( - long chipClusterPtr, - MaxMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueAttribute( - long chipClusterPtr, PeakMeasuredValueAttributeCallback callback); - - private native void subscribePeakMeasuredValueAttribute( - long chipClusterPtr, - PeakMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readPeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePeakMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageMeasuredValueAttribute( - long chipClusterPtr, AverageMeasuredValueAttributeCallback callback); - - private native void subscribeAverageMeasuredValueAttribute( - long chipClusterPtr, - AverageMeasuredValueAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeAverageMeasuredValueWindowAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribeUncertaintyAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementUnitAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasurementMediumAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLevelValueAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class WakeOnLanCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1283L; - - public WakeOnLanCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMACAddressAttribute(CharStringAttributeCallback callback) { - readMACAddressAttribute(chipClusterPtr, callback); - } - - public void subscribeMACAddressAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMACAddressAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMACAddressAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeMACAddressAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ChannelCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1284L; - - public ChannelCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void changeChannel(ChangeChannelResponseCallback callback, String match) { - changeChannel(chipClusterPtr, callback, match, null); - } - - public void changeChannel( - ChangeChannelResponseCallback callback, String match, int timedInvokeTimeoutMs) { - changeChannel(chipClusterPtr, callback, match, timedInvokeTimeoutMs); - } - - public void changeChannelByNumber( - DefaultClusterCallback callback, Integer majorNumber, Integer minorNumber) { - changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, null); - } - - public void changeChannelByNumber( - DefaultClusterCallback callback, - Integer majorNumber, - Integer minorNumber, - int timedInvokeTimeoutMs) { - changeChannelByNumber( - chipClusterPtr, callback, majorNumber, minorNumber, timedInvokeTimeoutMs); - } - - public void skipChannel(DefaultClusterCallback callback, Integer count) { - skipChannel(chipClusterPtr, callback, count, null); - } - - public void skipChannel( - DefaultClusterCallback callback, Integer count, int timedInvokeTimeoutMs) { - skipChannel(chipClusterPtr, callback, count, timedInvokeTimeoutMs); - } - - private native void changeChannel( - long chipClusterPtr, - ChangeChannelResponseCallback Callback, - String match, - @Nullable Integer timedInvokeTimeoutMs); - - private native void changeChannelByNumber( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer majorNumber, - Integer minorNumber, - @Nullable Integer timedInvokeTimeoutMs); - - private native void skipChannel( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer count, - @Nullable Integer timedInvokeTimeoutMs); - - public interface ChangeChannelResponseCallback { - void onSuccess(Integer status, Optional data); - - void onError(Exception error); - } - - public interface ChannelListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readChannelListAttribute(ChannelListAttributeCallback callback) { - readChannelListAttribute(chipClusterPtr, callback); - } - - public void subscribeChannelListAttribute( - ChannelListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeChannelListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readChannelListAttribute( - long chipClusterPtr, ChannelListAttributeCallback callback); - - private native void subscribeChannelListAttribute( - long chipClusterPtr, - ChannelListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class TargetNavigatorCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1285L; - - public TargetNavigatorCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void navigateTarget( - NavigateTargetResponseCallback callback, Integer target, Optional data) { - navigateTarget(chipClusterPtr, callback, target, data, null); - } - - public void navigateTarget( - NavigateTargetResponseCallback callback, - Integer target, - Optional data, - int timedInvokeTimeoutMs) { - navigateTarget(chipClusterPtr, callback, target, data, timedInvokeTimeoutMs); - } - - private native void navigateTarget( - long chipClusterPtr, - NavigateTargetResponseCallback Callback, - Integer target, - Optional data, - @Nullable Integer timedInvokeTimeoutMs); - - public interface NavigateTargetResponseCallback { - void onSuccess(Integer status, Optional data); - - void onError(Exception error); - } - - public interface TargetListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readTargetListAttribute(TargetListAttributeCallback callback) { - readTargetListAttribute(chipClusterPtr, callback); - } - - public void subscribeTargetListAttribute( - TargetListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTargetListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readCurrentTargetAttribute(IntegerAttributeCallback callback) { - readCurrentTargetAttribute(chipClusterPtr, callback); - } - - public void subscribeCurrentTargetAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentTargetAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readTargetListAttribute( - long chipClusterPtr, TargetListAttributeCallback callback); - - private native void subscribeTargetListAttribute( - long chipClusterPtr, - TargetListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCurrentTargetAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentTargetAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class MediaPlaybackCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1286L; - - public MediaPlaybackCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void play(PlaybackResponseCallback callback) { - play(chipClusterPtr, callback, null); - } - - public void play(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - play(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void pause(PlaybackResponseCallback callback) { - pause(chipClusterPtr, callback, null); - } - - public void pause(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - pause(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void stop(PlaybackResponseCallback callback) { - stop(chipClusterPtr, callback, null); - } - - public void stop(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - stop(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void startOver(PlaybackResponseCallback callback) { - startOver(chipClusterPtr, callback, null); - } - - public void startOver(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - startOver(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void previous(PlaybackResponseCallback callback) { - previous(chipClusterPtr, callback, null); - } - - public void previous(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - previous(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void next(PlaybackResponseCallback callback) { - next(chipClusterPtr, callback, null); - } - - public void next(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - next(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void rewind(PlaybackResponseCallback callback) { - rewind(chipClusterPtr, callback, null); - } - - public void rewind(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - rewind(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void fastForward(PlaybackResponseCallback callback) { - fastForward(chipClusterPtr, callback, null); - } - - public void fastForward(PlaybackResponseCallback callback, int timedInvokeTimeoutMs) { - - fastForward(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void skipForward(PlaybackResponseCallback callback, Long deltaPositionMilliseconds) { - skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, null); - } - - public void skipForward( - PlaybackResponseCallback callback, - Long deltaPositionMilliseconds, - int timedInvokeTimeoutMs) { - skipForward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); - } - - public void skipBackward(PlaybackResponseCallback callback, Long deltaPositionMilliseconds) { - skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, null); - } - - public void skipBackward( - PlaybackResponseCallback callback, - Long deltaPositionMilliseconds, - int timedInvokeTimeoutMs) { - skipBackward(chipClusterPtr, callback, deltaPositionMilliseconds, timedInvokeTimeoutMs); - } - - public void seek(PlaybackResponseCallback callback, Long position) { - seek(chipClusterPtr, callback, position, null); - } - - public void seek(PlaybackResponseCallback callback, Long position, int timedInvokeTimeoutMs) { - seek(chipClusterPtr, callback, position, timedInvokeTimeoutMs); - } - - private native void play( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void pause( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stop( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void startOver( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void previous( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void next( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void rewind( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void fastForward( - long chipClusterPtr, - PlaybackResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void skipForward( - long chipClusterPtr, - PlaybackResponseCallback Callback, - Long deltaPositionMilliseconds, - @Nullable Integer timedInvokeTimeoutMs); - - private native void skipBackward( - long chipClusterPtr, - PlaybackResponseCallback Callback, - Long deltaPositionMilliseconds, - @Nullable Integer timedInvokeTimeoutMs); - - private native void seek( - long chipClusterPtr, - PlaybackResponseCallback Callback, - Long position, - @Nullable Integer timedInvokeTimeoutMs); - - public interface PlaybackResponseCallback { - void onSuccess(Integer status, Optional data); - - void onError(Exception error); - } - - public interface StartTimeAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface DurationAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface SeekRangeEndAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface SeekRangeStartAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readCurrentStateAttribute(IntegerAttributeCallback callback) { - readCurrentStateAttribute(chipClusterPtr, callback); - } - - public void subscribeCurrentStateAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentStateAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readStartTimeAttribute(StartTimeAttributeCallback callback) { - readStartTimeAttribute(chipClusterPtr, callback); - } - - public void subscribeStartTimeAttribute( - StartTimeAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStartTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDurationAttribute(DurationAttributeCallback callback) { - readDurationAttribute(chipClusterPtr, callback); - } - - public void subscribeDurationAttribute( - DurationAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDurationAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPlaybackSpeedAttribute(FloatAttributeCallback callback) { - readPlaybackSpeedAttribute(chipClusterPtr, callback); - } - - public void subscribePlaybackSpeedAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { - subscribePlaybackSpeedAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readSeekRangeEndAttribute(SeekRangeEndAttributeCallback callback) { - readSeekRangeEndAttribute(chipClusterPtr, callback); - } - - public void subscribeSeekRangeEndAttribute( - SeekRangeEndAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSeekRangeEndAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readSeekRangeStartAttribute(SeekRangeStartAttributeCallback callback) { - readSeekRangeStartAttribute(chipClusterPtr, callback); - } - - public void subscribeSeekRangeStartAttribute( - SeekRangeStartAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSeekRangeStartAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readCurrentStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentStateAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readStartTimeAttribute( - long chipClusterPtr, StartTimeAttributeCallback callback); - - private native void subscribeStartTimeAttribute( - long chipClusterPtr, StartTimeAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDurationAttribute( - long chipClusterPtr, DurationAttributeCallback callback); - - private native void subscribeDurationAttribute( - long chipClusterPtr, DurationAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPlaybackSpeedAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void subscribePlaybackSpeedAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readSeekRangeEndAttribute( - long chipClusterPtr, SeekRangeEndAttributeCallback callback); - - private native void subscribeSeekRangeEndAttribute( - long chipClusterPtr, - SeekRangeEndAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSeekRangeStartAttribute( - long chipClusterPtr, SeekRangeStartAttributeCallback callback); - - private native void subscribeSeekRangeStartAttribute( - long chipClusterPtr, - SeekRangeStartAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class MediaInputCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1287L; - - public MediaInputCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void selectInput(DefaultClusterCallback callback, Integer index) { - selectInput(chipClusterPtr, callback, index, null); - } - - public void selectInput( - DefaultClusterCallback callback, Integer index, int timedInvokeTimeoutMs) { - selectInput(chipClusterPtr, callback, index, timedInvokeTimeoutMs); - } - - public void showInputStatus(DefaultClusterCallback callback) { - showInputStatus(chipClusterPtr, callback, null); - } - - public void showInputStatus(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - showInputStatus(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void hideInputStatus(DefaultClusterCallback callback) { - hideInputStatus(chipClusterPtr, callback, null); - } - - public void hideInputStatus(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - hideInputStatus(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - public void renameInput(DefaultClusterCallback callback, Integer index, String name) { - renameInput(chipClusterPtr, callback, index, name, null); - } - - public void renameInput( - DefaultClusterCallback callback, Integer index, String name, int timedInvokeTimeoutMs) { - renameInput(chipClusterPtr, callback, index, name, timedInvokeTimeoutMs); - } - - private native void selectInput( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer index, - @Nullable Integer timedInvokeTimeoutMs); - - private native void showInputStatus( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void hideInputStatus( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void renameInput( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer index, - String name, - @Nullable Integer timedInvokeTimeoutMs); - - public interface InputListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readInputListAttribute(InputListAttributeCallback callback) { - readInputListAttribute(chipClusterPtr, callback); - } - - public void subscribeInputListAttribute( - InputListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInputListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readCurrentInputAttribute(IntegerAttributeCallback callback) { - readCurrentInputAttribute(chipClusterPtr, callback); - } - - public void subscribeCurrentInputAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentInputAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readInputListAttribute( - long chipClusterPtr, InputListAttributeCallback callback); - - private native void subscribeInputListAttribute( - long chipClusterPtr, InputListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentInputAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentInputAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class LowPowerCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1288L; - - public LowPowerCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void sleep(DefaultClusterCallback callback) { - sleep(chipClusterPtr, callback, null); - } - - public void sleep(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - sleep(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - private native void sleep( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class KeypadInputCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1289L; - - public KeypadInputCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void sendKey(SendKeyResponseCallback callback, Integer keyCode) { - sendKey(chipClusterPtr, callback, keyCode, null); - } - - public void sendKey( - SendKeyResponseCallback callback, Integer keyCode, int timedInvokeTimeoutMs) { - sendKey(chipClusterPtr, callback, keyCode, timedInvokeTimeoutMs); - } - - private native void sendKey( - long chipClusterPtr, - SendKeyResponseCallback Callback, - Integer keyCode, - @Nullable Integer timedInvokeTimeoutMs); - - public interface SendKeyResponseCallback { - void onSuccess(Integer status); - - void onError(Exception error); - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ContentLauncherCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1290L; - - public ContentLauncherCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void launchContent( - LauncherResponseCallback callback, - ChipStructs.ContentLauncherClusterContentSearchStruct search, - Boolean autoPlay, - Optional data) { - launchContent(chipClusterPtr, callback, search, autoPlay, data, null); - } - - public void launchContent( - LauncherResponseCallback callback, - ChipStructs.ContentLauncherClusterContentSearchStruct search, - Boolean autoPlay, - Optional data, - int timedInvokeTimeoutMs) { - launchContent(chipClusterPtr, callback, search, autoPlay, data, timedInvokeTimeoutMs); - } - - public void launchURL( - LauncherResponseCallback callback, - String contentURL, - Optional displayString, - Optional brandingInformation) { - launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, null); - } - - public void launchURL( - LauncherResponseCallback callback, - String contentURL, - Optional displayString, - Optional brandingInformation, - int timedInvokeTimeoutMs) { - launchURL( - chipClusterPtr, - callback, - contentURL, - displayString, - brandingInformation, - timedInvokeTimeoutMs); - } - - private native void launchContent( - long chipClusterPtr, - LauncherResponseCallback Callback, - ChipStructs.ContentLauncherClusterContentSearchStruct search, - Boolean autoPlay, - Optional data, - @Nullable Integer timedInvokeTimeoutMs); - - private native void launchURL( - long chipClusterPtr, - LauncherResponseCallback Callback, - String contentURL, - Optional displayString, - Optional brandingInformation, - @Nullable Integer timedInvokeTimeoutMs); - - public interface LauncherResponseCallback { - void onSuccess(Integer status, Optional data); - - void onError(Exception error); - } - - public interface AcceptHeaderAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readAcceptHeaderAttribute(AcceptHeaderAttributeCallback callback) { - readAcceptHeaderAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptHeaderAttribute( - AcceptHeaderAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptHeaderAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readSupportedStreamingProtocolsAttribute(LongAttributeCallback callback) { - readSupportedStreamingProtocolsAttribute(chipClusterPtr, callback); - } - - public void writeSupportedStreamingProtocolsAttribute( - DefaultClusterCallback callback, Long value) { - writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, null); - } - - public void writeSupportedStreamingProtocolsAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { - writeSupportedStreamingProtocolsAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeSupportedStreamingProtocolsAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeSupportedStreamingProtocolsAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readAcceptHeaderAttribute( - long chipClusterPtr, AcceptHeaderAttributeCallback callback); - - private native void subscribeAcceptHeaderAttribute( - long chipClusterPtr, - AcceptHeaderAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readSupportedStreamingProtocolsAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void writeSupportedStreamingProtocolsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeSupportedStreamingProtocolsAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class AudioOutputCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1291L; - - public AudioOutputCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void selectOutput(DefaultClusterCallback callback, Integer index) { - selectOutput(chipClusterPtr, callback, index, null); - } - - public void selectOutput( - DefaultClusterCallback callback, Integer index, int timedInvokeTimeoutMs) { - selectOutput(chipClusterPtr, callback, index, timedInvokeTimeoutMs); - } - - public void renameOutput(DefaultClusterCallback callback, Integer index, String name) { - renameOutput(chipClusterPtr, callback, index, name, null); - } - - public void renameOutput( - DefaultClusterCallback callback, Integer index, String name, int timedInvokeTimeoutMs) { - renameOutput(chipClusterPtr, callback, index, name, timedInvokeTimeoutMs); - } - - private native void selectOutput( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer index, - @Nullable Integer timedInvokeTimeoutMs); - - private native void renameOutput( - long chipClusterPtr, - DefaultClusterCallback Callback, - Integer index, - String name, - @Nullable Integer timedInvokeTimeoutMs); - - public interface OutputListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readOutputListAttribute(OutputListAttributeCallback callback) { - readOutputListAttribute(chipClusterPtr, callback); - } - - public void subscribeOutputListAttribute( - OutputListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOutputListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readCurrentOutputAttribute(IntegerAttributeCallback callback) { - readCurrentOutputAttribute(chipClusterPtr, callback); - } - - public void subscribeCurrentOutputAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentOutputAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readOutputListAttribute( - long chipClusterPtr, OutputListAttributeCallback callback); - - private native void subscribeOutputListAttribute( - long chipClusterPtr, - OutputListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCurrentOutputAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentOutputAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ApplicationLauncherCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1292L; - - public ApplicationLauncherCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void launchApp( - LauncherResponseCallback callback, - Optional application, - Optional data) { - launchApp(chipClusterPtr, callback, application, data, null); - } - - public void launchApp( - LauncherResponseCallback callback, - Optional application, - Optional data, - int timedInvokeTimeoutMs) { - launchApp(chipClusterPtr, callback, application, data, timedInvokeTimeoutMs); - } - - public void stopApp( - LauncherResponseCallback callback, - Optional application) { - stopApp(chipClusterPtr, callback, application, null); - } - - public void stopApp( - LauncherResponseCallback callback, - Optional application, - int timedInvokeTimeoutMs) { - stopApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); - } - - public void hideApp( - LauncherResponseCallback callback, - Optional application) { - hideApp(chipClusterPtr, callback, application, null); - } - - public void hideApp( - LauncherResponseCallback callback, - Optional application, - int timedInvokeTimeoutMs) { - hideApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs); - } - - private native void launchApp( - long chipClusterPtr, - LauncherResponseCallback Callback, - Optional application, - Optional data, - @Nullable Integer timedInvokeTimeoutMs); - - private native void stopApp( - long chipClusterPtr, - LauncherResponseCallback Callback, - Optional application, - @Nullable Integer timedInvokeTimeoutMs); - - private native void hideApp( - long chipClusterPtr, - LauncherResponseCallback Callback, - Optional application, - @Nullable Integer timedInvokeTimeoutMs); - - public interface LauncherResponseCallback { - void onSuccess(Integer status, Optional data); - - void onError(Exception error); - } - - public interface CatalogListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readCatalogListAttribute(CatalogListAttributeCallback callback) { - readCatalogListAttribute(chipClusterPtr, callback); - } - - public void subscribeCatalogListAttribute( - CatalogListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCatalogListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readCatalogListAttribute( - long chipClusterPtr, CatalogListAttributeCallback callback); - - private native void subscribeCatalogListAttribute( - long chipClusterPtr, - CatalogListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ApplicationBasicCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1293L; - - public ApplicationBasicCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface AllowedVendorListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readVendorNameAttribute(CharStringAttributeCallback callback) { - readVendorNameAttribute(chipClusterPtr, callback); - } - - public void subscribeVendorNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readVendorIDAttribute(IntegerAttributeCallback callback) { - readVendorIDAttribute(chipClusterPtr, callback); - } - - public void subscribeVendorIDAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readApplicationNameAttribute(CharStringAttributeCallback callback) { - readApplicationNameAttribute(chipClusterPtr, callback); - } - - public void subscribeApplicationNameAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeApplicationNameAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readProductIDAttribute(IntegerAttributeCallback callback) { - readProductIDAttribute(chipClusterPtr, callback); - } - - public void subscribeProductIDAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeProductIDAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readStatusAttribute(IntegerAttributeCallback callback) { - readStatusAttribute(chipClusterPtr, callback); - } - - public void subscribeStatusAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readApplicationVersionAttribute(CharStringAttributeCallback callback) { - readApplicationVersionAttribute(chipClusterPtr, callback); - } - - public void subscribeApplicationVersionAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { - subscribeApplicationVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAllowedVendorListAttribute(AllowedVendorListAttributeCallback callback) { - readAllowedVendorListAttribute(chipClusterPtr, callback); - } - - public void subscribeAllowedVendorListAttribute( - AllowedVendorListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAllowedVendorListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readVendorNameAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeVendorNameAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readVendorIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeVendorIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readApplicationNameAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeApplicationNameAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readProductIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeProductIDAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readStatusAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeStatusAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readApplicationVersionAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void subscribeApplicationVersionAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAllowedVendorListAttribute( - long chipClusterPtr, AllowedVendorListAttributeCallback callback); - - private native void subscribeAllowedVendorListAttribute( - long chipClusterPtr, - AllowedVendorListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class AccountLoginCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 1294L; - - public AccountLoginCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public void getSetupPIN( - GetSetupPINResponseCallback callback, - String tempAccountIdentifier, - int timedInvokeTimeoutMs) { - getSetupPIN(chipClusterPtr, callback, tempAccountIdentifier, timedInvokeTimeoutMs); - } - - public void login( - DefaultClusterCallback callback, - String tempAccountIdentifier, - String setupPIN, - int timedInvokeTimeoutMs) { - login(chipClusterPtr, callback, tempAccountIdentifier, setupPIN, timedInvokeTimeoutMs); - } - - public void logout(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - - logout(chipClusterPtr, callback, timedInvokeTimeoutMs); - } - - private native void getSetupPIN( - long chipClusterPtr, - GetSetupPINResponseCallback Callback, - String tempAccountIdentifier, - @Nullable Integer timedInvokeTimeoutMs); - - private native void login( - long chipClusterPtr, - DefaultClusterCallback Callback, - String tempAccountIdentifier, - String setupPIN, - @Nullable Integer timedInvokeTimeoutMs); - - private native void logout( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - public interface GetSetupPINResponseCallback { - void onSuccess(String setupPIN); - - void onError(Exception error); - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - } - - public static class ElectricalMeasurementCluster extends BaseChipCluster { - public static final long CLUSTER_ID = 2820L; - - public ElectricalMeasurementCluster(long devicePtr, int endpointId) { - super(devicePtr, endpointId); - } - - @Override - public native long initWithDevice(long devicePtr, int endpointId); - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public void readMeasurementTypeAttribute(LongAttributeCallback callback) { - readMeasurementTypeAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasurementTypeAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasurementTypeAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcVoltageAttribute(IntegerAttributeCallback callback) { - readDcVoltageAttribute(chipClusterPtr, callback); - } - - public void subscribeDcVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcVoltageMinAttribute(IntegerAttributeCallback callback) { - readDcVoltageMinAttribute(chipClusterPtr, callback); - } - - public void subscribeDcVoltageMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcVoltageMaxAttribute(IntegerAttributeCallback callback) { - readDcVoltageMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeDcVoltageMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcCurrentAttribute(IntegerAttributeCallback callback) { - readDcCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeDcCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcCurrentMinAttribute(IntegerAttributeCallback callback) { - readDcCurrentMinAttribute(chipClusterPtr, callback); - } - - public void subscribeDcCurrentMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcCurrentMaxAttribute(IntegerAttributeCallback callback) { - readDcCurrentMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeDcCurrentMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcPowerAttribute(IntegerAttributeCallback callback) { - readDcPowerAttribute(chipClusterPtr, callback); - } - - public void subscribeDcPowerAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcPowerMinAttribute(IntegerAttributeCallback callback) { - readDcPowerMinAttribute(chipClusterPtr, callback); - } - - public void subscribeDcPowerMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcPowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcPowerMaxAttribute(IntegerAttributeCallback callback) { - readDcPowerMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeDcPowerMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcPowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcVoltageMultiplierAttribute(IntegerAttributeCallback callback) { - readDcVoltageMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeDcVoltageMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcVoltageMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcVoltageDivisorAttribute(IntegerAttributeCallback callback) { - readDcVoltageDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribeDcVoltageDivisorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcCurrentMultiplierAttribute(IntegerAttributeCallback callback) { - readDcCurrentMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeDcCurrentMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcCurrentDivisorAttribute(IntegerAttributeCallback callback) { - readDcCurrentDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribeDcCurrentDivisorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcPowerMultiplierAttribute(IntegerAttributeCallback callback) { - readDcPowerMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeDcPowerMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcPowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readDcPowerDivisorAttribute(IntegerAttributeCallback callback) { - readDcPowerDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribeDcPowerDivisorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeDcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcFrequencyAttribute(IntegerAttributeCallback callback) { - readAcFrequencyAttribute(chipClusterPtr, callback); - } - - public void subscribeAcFrequencyAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcFrequencyAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcFrequencyMinAttribute(IntegerAttributeCallback callback) { - readAcFrequencyMinAttribute(chipClusterPtr, callback); - } - - public void subscribeAcFrequencyMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcFrequencyMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcFrequencyMaxAttribute(IntegerAttributeCallback callback) { - readAcFrequencyMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeAcFrequencyMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcFrequencyMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readNeutralCurrentAttribute(IntegerAttributeCallback callback) { - readNeutralCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeNeutralCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNeutralCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readTotalActivePowerAttribute(LongAttributeCallback callback) { - readTotalActivePowerAttribute(chipClusterPtr, callback); - } - - public void subscribeTotalActivePowerAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTotalActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readTotalReactivePowerAttribute(LongAttributeCallback callback) { - readTotalReactivePowerAttribute(chipClusterPtr, callback); - } - - public void subscribeTotalReactivePowerAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTotalReactivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readTotalApparentPowerAttribute(LongAttributeCallback callback) { - readTotalApparentPowerAttribute(chipClusterPtr, callback); - } - - public void subscribeTotalApparentPowerAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeTotalApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasured1stHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasured1stHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasured1stHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasured1stHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasured3rdHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasured3rdHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasured3rdHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasured3rdHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasured5thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasured5thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasured5thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasured5thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasured7thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasured7thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasured7thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasured7thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasured9thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasured9thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasured9thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasured9thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasured11thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasured11thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasured11thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasured11thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasuredPhase1stHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasuredPhase1stHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredPhase1stHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredPhase1stHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasuredPhase3rdHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasuredPhase3rdHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredPhase3rdHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredPhase3rdHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasuredPhase5thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasuredPhase5thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredPhase5thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredPhase5thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasuredPhase7thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasuredPhase7thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredPhase7thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredPhase7thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasuredPhase9thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasuredPhase9thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredPhase9thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredPhase9thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readMeasuredPhase11thHarmonicCurrentAttribute(IntegerAttributeCallback callback) { - readMeasuredPhase11thHarmonicCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeMeasuredPhase11thHarmonicCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeMeasuredPhase11thHarmonicCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcFrequencyMultiplierAttribute(IntegerAttributeCallback callback) { - readAcFrequencyMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeAcFrequencyMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcFrequencyMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcFrequencyDivisorAttribute(IntegerAttributeCallback callback) { - readAcFrequencyDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribeAcFrequencyDivisorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcFrequencyDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPowerMultiplierAttribute(LongAttributeCallback callback) { - readPowerMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribePowerMultiplierAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPowerDivisorAttribute(LongAttributeCallback callback) { - readPowerDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribePowerDivisorAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribePowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readHarmonicCurrentMultiplierAttribute(IntegerAttributeCallback callback) { - readHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeHarmonicCurrentMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeHarmonicCurrentMultiplierAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPhaseHarmonicCurrentMultiplierAttribute(IntegerAttributeCallback callback) { - readPhaseHarmonicCurrentMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribePhaseHarmonicCurrentMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePhaseHarmonicCurrentMultiplierAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readInstantaneousVoltageAttribute(IntegerAttributeCallback callback) { - readInstantaneousVoltageAttribute(chipClusterPtr, callback); - } - - public void subscribeInstantaneousVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstantaneousVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readInstantaneousLineCurrentAttribute(IntegerAttributeCallback callback) { - readInstantaneousLineCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeInstantaneousLineCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstantaneousLineCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readInstantaneousActiveCurrentAttribute(IntegerAttributeCallback callback) { - readInstantaneousActiveCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeInstantaneousActiveCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstantaneousActiveCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readInstantaneousReactiveCurrentAttribute(IntegerAttributeCallback callback) { - readInstantaneousReactiveCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeInstantaneousReactiveCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstantaneousReactiveCurrentAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readInstantaneousPowerAttribute(IntegerAttributeCallback callback) { - readInstantaneousPowerAttribute(chipClusterPtr, callback); - } - - public void subscribeInstantaneousPowerAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeInstantaneousPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageAttribute(IntegerAttributeCallback callback) { - readRmsVoltageAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageMinAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMinAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageMaxAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentAttribute(IntegerAttributeCallback callback) { - readRmsCurrentAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentMinAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMinAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentMaxAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerAttribute(IntegerAttributeCallback callback) { - readActivePowerAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerMinAttribute(IntegerAttributeCallback callback) { - readActivePowerMinAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerMinAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMinAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerMaxAttribute(IntegerAttributeCallback callback) { - readActivePowerMaxAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerMaxAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readReactivePowerAttribute(IntegerAttributeCallback callback) { - readReactivePowerAttribute(chipClusterPtr, callback); - } - - public void subscribeReactivePowerAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeReactivePowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readApparentPowerAttribute(IntegerAttributeCallback callback) { - readApparentPowerAttribute(chipClusterPtr, callback); - } - - public void subscribeApparentPowerAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeApparentPowerAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPowerFactorAttribute(IntegerAttributeCallback callback) { - readPowerFactorAttribute(chipClusterPtr, callback); - } - - public void subscribePowerFactorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePowerFactorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsVoltageMeasurementPeriodAttribute(IntegerAttributeCallback callback) { - readAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback); - } - - public void writeAverageRmsVoltageMeasurementPeriodAttribute( - DefaultClusterCallback callback, Integer value) { - writeAverageRmsVoltageMeasurementPeriodAttribute(chipClusterPtr, callback, value, null); - } - - public void writeAverageRmsVoltageMeasurementPeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeAverageRmsVoltageMeasurementPeriodAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeAverageRmsVoltageMeasurementPeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsVoltageMeasurementPeriodAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsUnderVoltageCounterAttribute(IntegerAttributeCallback callback) { - readAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback); - } - - public void writeAverageRmsUnderVoltageCounterAttribute( - DefaultClusterCallback callback, Integer value) { - writeAverageRmsUnderVoltageCounterAttribute(chipClusterPtr, callback, value, null); - } - - public void writeAverageRmsUnderVoltageCounterAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeAverageRmsUnderVoltageCounterAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeAverageRmsUnderVoltageCounterAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsUnderVoltageCounterAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeOverVoltagePeriodAttribute(IntegerAttributeCallback callback) { - readRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback); - } - - public void writeRmsExtremeOverVoltagePeriodAttribute( - DefaultClusterCallback callback, Integer value) { - writeRmsExtremeOverVoltagePeriodAttribute(chipClusterPtr, callback, value, null); - } - - public void writeRmsExtremeOverVoltagePeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRmsExtremeOverVoltagePeriodAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeRmsExtremeOverVoltagePeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeOverVoltagePeriodAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeUnderVoltagePeriodAttribute(IntegerAttributeCallback callback) { - readRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback); - } - - public void writeRmsExtremeUnderVoltagePeriodAttribute( - DefaultClusterCallback callback, Integer value) { - writeRmsExtremeUnderVoltagePeriodAttribute(chipClusterPtr, callback, value, null); - } - - public void writeRmsExtremeUnderVoltagePeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRmsExtremeUnderVoltagePeriodAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeRmsExtremeUnderVoltagePeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeUnderVoltagePeriodAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSagPeriodAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSagPeriodAttribute(chipClusterPtr, callback); - } - - public void writeRmsVoltageSagPeriodAttribute(DefaultClusterCallback callback, Integer value) { - writeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, value, null); - } - - public void writeRmsVoltageSagPeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeRmsVoltageSagPeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSagPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSwellPeriodAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback); - } - - public void writeRmsVoltageSwellPeriodAttribute( - DefaultClusterCallback callback, Integer value) { - writeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, value, null); - } - - public void writeRmsVoltageSwellPeriodAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeRmsVoltageSwellPeriodAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSwellPeriodAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcVoltageMultiplierAttribute(IntegerAttributeCallback callback) { - readAcVoltageMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeAcVoltageMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcVoltageMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcVoltageDivisorAttribute(IntegerAttributeCallback callback) { - readAcVoltageDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribeAcVoltageDivisorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcVoltageDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcCurrentMultiplierAttribute(IntegerAttributeCallback callback) { - readAcCurrentMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeAcCurrentMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcCurrentMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcCurrentDivisorAttribute(IntegerAttributeCallback callback) { - readAcCurrentDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribeAcCurrentDivisorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcCurrentDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcPowerMultiplierAttribute(IntegerAttributeCallback callback) { - readAcPowerMultiplierAttribute(chipClusterPtr, callback); - } - - public void subscribeAcPowerMultiplierAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcPowerMultiplierAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcPowerDivisorAttribute(IntegerAttributeCallback callback) { - readAcPowerDivisorAttribute(chipClusterPtr, callback); - } - - public void subscribeAcPowerDivisorAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcPowerDivisorAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readOverloadAlarmsMaskAttribute(IntegerAttributeCallback callback) { - readOverloadAlarmsMaskAttribute(chipClusterPtr, callback); - } - - public void writeOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value) { - writeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, null); - } - - public void writeOverloadAlarmsMaskAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeOverloadAlarmsMaskAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeOverloadAlarmsMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readVoltageOverloadAttribute(IntegerAttributeCallback callback) { - readVoltageOverloadAttribute(chipClusterPtr, callback); - } - - public void subscribeVoltageOverloadAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeVoltageOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readCurrentOverloadAttribute(IntegerAttributeCallback callback) { - readCurrentOverloadAttribute(chipClusterPtr, callback); - } - - public void subscribeCurrentOverloadAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeCurrentOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcOverloadAlarmsMaskAttribute(IntegerAttributeCallback callback) { - readAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback); - } - - public void writeAcOverloadAlarmsMaskAttribute(DefaultClusterCallback callback, Integer value) { - writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, null); - } - - public void writeAcOverloadAlarmsMaskAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); - } - - public void subscribeAcOverloadAlarmsMaskAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcOverloadAlarmsMaskAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcVoltageOverloadAttribute(IntegerAttributeCallback callback) { - readAcVoltageOverloadAttribute(chipClusterPtr, callback); - } - - public void subscribeAcVoltageOverloadAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcVoltageOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcCurrentOverloadAttribute(IntegerAttributeCallback callback) { - readAcCurrentOverloadAttribute(chipClusterPtr, callback); - } - - public void subscribeAcCurrentOverloadAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcCurrentOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcActivePowerOverloadAttribute(IntegerAttributeCallback callback) { - readAcActivePowerOverloadAttribute(chipClusterPtr, callback); - } - - public void subscribeAcActivePowerOverloadAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcActivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcReactivePowerOverloadAttribute(IntegerAttributeCallback callback) { - readAcReactivePowerOverloadAttribute(chipClusterPtr, callback); - } - - public void subscribeAcReactivePowerOverloadAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcReactivePowerOverloadAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsOverVoltageAttribute(IntegerAttributeCallback callback) { - readAverageRmsOverVoltageAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsOverVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsUnderVoltageAttribute(IntegerAttributeCallback callback) { - readAverageRmsUnderVoltageAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsUnderVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeOverVoltageAttribute(IntegerAttributeCallback callback) { - readRmsExtremeOverVoltageAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsExtremeOverVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeOverVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeUnderVoltageAttribute(IntegerAttributeCallback callback) { - readRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsExtremeUnderVoltageAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeUnderVoltageAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSagAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSagAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageSagAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSagAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSwellAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSwellAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageSwellAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSwellAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLineCurrentPhaseBAttribute(IntegerAttributeCallback callback) { - readLineCurrentPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeLineCurrentPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLineCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActiveCurrentPhaseBAttribute(IntegerAttributeCallback callback) { - readActiveCurrentPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeActiveCurrentPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readReactiveCurrentPhaseBAttribute(IntegerAttributeCallback callback) { - readReactiveCurrentPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeReactiveCurrentPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeReactiveCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltagePhaseBAttribute(IntegerAttributeCallback callback) { - readRmsVoltagePhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltagePhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltagePhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageMinPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageMinPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageMaxPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageMaxPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsCurrentPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentMinPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentMinPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentMaxPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentMaxPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerPhaseBAttribute(IntegerAttributeCallback callback) { - readActivePowerPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerMinPhaseBAttribute(IntegerAttributeCallback callback) { - readActivePowerMinPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerMinPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMinPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerMaxPhaseBAttribute(IntegerAttributeCallback callback) { - readActivePowerMaxPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerMaxPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMaxPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readReactivePowerPhaseBAttribute(IntegerAttributeCallback callback) { - readReactivePowerPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeReactivePowerPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeReactivePowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readApparentPowerPhaseBAttribute(IntegerAttributeCallback callback) { - readApparentPowerPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeApparentPowerPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeApparentPowerPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPowerFactorPhaseBAttribute(IntegerAttributeCallback callback) { - readPowerFactorPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribePowerFactorPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePowerFactorPhaseBAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - IntegerAttributeCallback callback) { - readAverageRmsVoltageMeasurementPeriodPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsOverVoltageCounterPhaseBAttribute(IntegerAttributeCallback callback) { - readAverageRmsOverVoltageCounterPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsOverVoltageCounterPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsOverVoltageCounterPhaseBAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsUnderVoltageCounterPhaseBAttribute( - IntegerAttributeCallback callback) { - readAverageRmsUnderVoltageCounterPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsUnderVoltageCounterPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsUnderVoltageCounterPhaseBAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeOverVoltagePeriodPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsExtremeOverVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeUnderVoltagePeriodPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsExtremeUnderVoltagePeriodPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSagPeriodPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSagPeriodPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageSagPeriodPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSagPeriodPhaseBAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSwellPeriodPhaseBAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSwellPeriodPhaseBAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageSwellPeriodPhaseBAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSwellPeriodPhaseBAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readLineCurrentPhaseCAttribute(IntegerAttributeCallback callback) { - readLineCurrentPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeLineCurrentPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeLineCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActiveCurrentPhaseCAttribute(IntegerAttributeCallback callback) { - readActiveCurrentPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeActiveCurrentPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readReactiveCurrentPhaseCAttribute(IntegerAttributeCallback callback) { - readReactiveCurrentPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeReactiveCurrentPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeReactiveCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltagePhaseCAttribute(IntegerAttributeCallback callback) { - readRmsVoltagePhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltagePhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltagePhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageMinPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageMinPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageMaxPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageMaxPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsCurrentPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentMinPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMinPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentMinPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsCurrentMaxPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsCurrentMaxPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsCurrentMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerPhaseCAttribute(IntegerAttributeCallback callback) { - readActivePowerPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerMinPhaseCAttribute(IntegerAttributeCallback callback) { - readActivePowerMinPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerMinPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMinPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readActivePowerMaxPhaseCAttribute(IntegerAttributeCallback callback) { - readActivePowerMaxPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeActivePowerMaxPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeActivePowerMaxPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readReactivePowerPhaseCAttribute(IntegerAttributeCallback callback) { - readReactivePowerPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeReactivePowerPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeReactivePowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readApparentPowerPhaseCAttribute(IntegerAttributeCallback callback) { - readApparentPowerPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeApparentPowerPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeApparentPowerPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readPowerFactorPhaseCAttribute(IntegerAttributeCallback callback) { - readPowerFactorPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribePowerFactorPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribePowerFactorPhaseCAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - IntegerAttributeCallback callback) { - readAverageRmsVoltageMeasurementPeriodPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsOverVoltageCounterPhaseCAttribute(IntegerAttributeCallback callback) { - readAverageRmsOverVoltageCounterPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsOverVoltageCounterPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsOverVoltageCounterPhaseCAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAverageRmsUnderVoltageCounterPhaseCAttribute( - IntegerAttributeCallback callback) { - readAverageRmsUnderVoltageCounterPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeAverageRmsUnderVoltageCounterPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAverageRmsUnderVoltageCounterPhaseCAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeOverVoltagePeriodPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsExtremeOverVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsExtremeUnderVoltagePeriodPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsExtremeUnderVoltagePeriodPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSagPeriodPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSagPeriodPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageSagPeriodPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSagPeriodPhaseCAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readRmsVoltageSwellPeriodPhaseCAttribute(IntegerAttributeCallback callback) { - readRmsVoltageSwellPeriodPhaseCAttribute(chipClusterPtr, callback); - } - - public void subscribeRmsVoltageSwellPeriodPhaseCAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeRmsVoltageSwellPeriodPhaseCAttribute( - chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { - readGeneratedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { - readAcceptedCommandListAttribute(chipClusterPtr, callback); - } - - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readEventListAttribute(EventListAttributeCallback callback) { - readEventListAttribute(chipClusterPtr, callback); - } - - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { - readAttributeListAttribute(chipClusterPtr, callback); - } - - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { - subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readFeatureMapAttribute(LongAttributeCallback callback) { - readFeatureMapAttribute(chipClusterPtr, callback); - } - - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { - subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { - readClusterRevisionAttribute(chipClusterPtr, callback); - } - - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { - subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); - } - - private native void readMeasurementTypeAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeMeasurementTypeAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcVoltageMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcVoltageMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcVoltageMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcVoltageMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcCurrentMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcCurrentMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcCurrentMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcCurrentMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcPowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcPowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcPowerMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcPowerMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcPowerMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcPowerMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcVoltageMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcVoltageMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcVoltageDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcVoltageDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcCurrentDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcCurrentDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcPowerMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcPowerMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readDcPowerDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeDcPowerDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcFrequencyAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcFrequencyMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcFrequencyMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcFrequencyMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcFrequencyMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNeutralCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeNeutralCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTotalActivePowerAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTotalActivePowerAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTotalReactivePowerAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTotalReactivePowerAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readTotalApparentPowerAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeTotalApparentPowerAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasured1stHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasured1stHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasured3rdHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasured3rdHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasured5thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasured5thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasured7thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasured7thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasured9thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasured9thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasured11thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasured11thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasuredPhase1stHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasuredPhase1stHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasuredPhase3rdHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasuredPhase3rdHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasuredPhase5thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasuredPhase5thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasuredPhase7thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasuredPhase7thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasuredPhase9thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasuredPhase9thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readMeasuredPhase11thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeMeasuredPhase11thHarmonicCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcFrequencyMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcFrequencyMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcFrequencyDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcFrequencyDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPowerMultiplierAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePowerMultiplierAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPowerDivisorAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribePowerDivisorAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readHarmonicCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeHarmonicCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPhaseHarmonicCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePhaseHarmonicCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstantaneousVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstantaneousVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstantaneousLineCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstantaneousLineCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstantaneousActiveCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstantaneousActiveCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstantaneousReactiveCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstantaneousReactiveCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInstantaneousPowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeInstantaneousPowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerMinAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerMaxAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readReactivePowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeReactivePowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readApparentPowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeApparentPowerAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPowerFactorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePowerFactorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsVoltageMeasurementPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeAverageRmsVoltageMeasurementPeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeAverageRmsVoltageMeasurementPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsUnderVoltageCounterAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeAverageRmsUnderVoltageCounterAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeAverageRmsUnderVoltageCounterAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeOverVoltagePeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRmsExtremeOverVoltagePeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRmsExtremeOverVoltagePeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeUnderVoltagePeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRmsExtremeUnderVoltagePeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRmsExtremeUnderVoltagePeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSagPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRmsVoltageSagPeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRmsVoltageSagPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSwellPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRmsVoltageSwellPeriodAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRmsVoltageSwellPeriodAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcVoltageMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcVoltageMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcVoltageDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcVoltageDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcCurrentMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcCurrentDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcCurrentDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcPowerMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcPowerMultiplierAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcPowerDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcPowerDivisorAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOverloadAlarmsMaskAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeOverloadAlarmsMaskAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOverloadAlarmsMaskAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readVoltageOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeVoltageOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readCurrentOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeCurrentOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcOverloadAlarmsMaskAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeAcOverloadAlarmsMaskAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeAcOverloadAlarmsMaskAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcVoltageOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcVoltageOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcCurrentOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcCurrentOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcActivePowerOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcActivePowerOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAcReactivePowerOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAcReactivePowerOverloadAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsOverVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsOverVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsUnderVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsUnderVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeOverVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsExtremeOverVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeUnderVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsExtremeUnderVoltageAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSagAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageSagAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSwellAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageSwellAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLineCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLineCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActiveCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readReactiveCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeReactiveCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltagePhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltagePhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageMinPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageMinPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageMaxPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageMaxPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentMinPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentMinPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentMaxPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentMaxPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerMinPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerMinPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerMaxPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerMaxPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readReactivePowerPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeReactivePowerPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readApparentPowerPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeApparentPowerPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPowerFactorPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePowerFactorPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsOverVoltageCounterPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsOverVoltageCounterPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsUnderVoltageCounterPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsUnderVoltageCounterPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeOverVoltagePeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeUnderVoltagePeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSagPeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageSagPeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSwellPeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageSwellPeriodPhaseBAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readLineCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeLineCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActiveCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActiveCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readReactiveCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeReactiveCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltagePhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltagePhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageMinPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageMinPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageMaxPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageMaxPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentMinPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentMinPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsCurrentMaxPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsCurrentMaxPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerMinPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerMinPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readActivePowerMaxPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeActivePowerMaxPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readReactivePowerPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeReactivePowerPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readApparentPowerPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeApparentPowerPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readPowerFactorPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribePowerFactorPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsOverVoltageCounterPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsOverVoltageCounterPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAverageRmsUnderVoltageCounterPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeAverageRmsUnderVoltageCounterPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeOverVoltagePeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsExtremeUnderVoltagePeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSagPeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageSagPeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRmsVoltageSwellPeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeRmsVoltageSwellPeriodPhaseCAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); + } + public void subscribeEventListAttribute( + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { + readAttributeListAttribute(chipClusterPtr, callback); + } + public void subscribeAttributeListAttribute( + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { + readFeatureMapAttribute(chipClusterPtr, callback); + } + public void subscribeFeatureMapAttribute( + LongAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + public void subscribeClusterRevisionAttribute( + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { + subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readMeasurementTypeAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeMeasurementTypeAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcVoltageMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcVoltageMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcVoltageMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcVoltageMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcCurrentMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcCurrentMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcCurrentMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcCurrentMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcPowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcPowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcPowerMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcPowerMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcPowerMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcPowerMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcVoltageMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcVoltageMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcVoltageDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcVoltageDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcCurrentDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcCurrentDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcPowerMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcPowerMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readDcPowerDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeDcPowerDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcFrequencyAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcFrequencyMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcFrequencyMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcFrequencyMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcFrequencyMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNeutralCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeNeutralCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTotalActivePowerAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTotalActivePowerAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTotalReactivePowerAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTotalReactivePowerAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readTotalApparentPowerAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeTotalApparentPowerAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasured1stHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasured1stHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasured3rdHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasured3rdHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasured5thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasured5thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasured7thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasured7thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasured9thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasured9thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasured11thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasured11thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasuredPhase1stHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasuredPhase1stHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasuredPhase3rdHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasuredPhase3rdHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasuredPhase5thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasuredPhase5thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasuredPhase7thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasuredPhase7thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasuredPhase9thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasuredPhase9thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readMeasuredPhase11thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeMeasuredPhase11thHarmonicCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcFrequencyMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcFrequencyMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcFrequencyDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcFrequencyDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPowerMultiplierAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePowerMultiplierAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPowerDivisorAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribePowerDivisorAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readHarmonicCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeHarmonicCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPhaseHarmonicCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePhaseHarmonicCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstantaneousVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstantaneousVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstantaneousLineCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstantaneousLineCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstantaneousActiveCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstantaneousActiveCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstantaneousReactiveCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstantaneousReactiveCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInstantaneousPowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeInstantaneousPowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerMinAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerMaxAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReactivePowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeReactivePowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readApparentPowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeApparentPowerAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPowerFactorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePowerFactorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsVoltageMeasurementPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeAverageRmsVoltageMeasurementPeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeAverageRmsVoltageMeasurementPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsUnderVoltageCounterAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeAverageRmsUnderVoltageCounterAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeAverageRmsUnderVoltageCounterAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeOverVoltagePeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRmsExtremeOverVoltagePeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRmsExtremeOverVoltagePeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeUnderVoltagePeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRmsExtremeUnderVoltagePeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRmsExtremeUnderVoltagePeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSagPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRmsVoltageSagPeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRmsVoltageSagPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSwellPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRmsVoltageSwellPeriodAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRmsVoltageSwellPeriodAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcVoltageMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcVoltageMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcVoltageDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcVoltageDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcCurrentMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcCurrentDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcCurrentDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcPowerMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcPowerMultiplierAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcPowerDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcPowerDivisorAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOverloadAlarmsMaskAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeOverloadAlarmsMaskAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOverloadAlarmsMaskAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readVoltageOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeVoltageOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCurrentOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeCurrentOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcOverloadAlarmsMaskAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeAcOverloadAlarmsMaskAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeAcOverloadAlarmsMaskAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcVoltageOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcVoltageOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcCurrentOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcCurrentOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcActivePowerOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcActivePowerOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAcReactivePowerOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAcReactivePowerOverloadAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsOverVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsOverVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsUnderVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsUnderVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeOverVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsExtremeOverVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeUnderVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsExtremeUnderVoltageAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSagAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageSagAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSwellAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageSwellAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLineCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLineCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActiveCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReactiveCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeReactiveCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltagePhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltagePhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageMinPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageMinPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageMaxPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageMaxPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentMinPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentMinPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentMaxPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentMaxPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerMinPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerMinPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerMaxPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerMaxPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReactivePowerPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeReactivePowerPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readApparentPowerPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeApparentPowerPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPowerFactorPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePowerFactorPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsVoltageMeasurementPeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsVoltageMeasurementPeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsOverVoltageCounterPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsOverVoltageCounterPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsUnderVoltageCounterPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsUnderVoltageCounterPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeOverVoltagePeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsExtremeOverVoltagePeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeUnderVoltagePeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsExtremeUnderVoltagePeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSagPeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageSagPeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSwellPeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageSwellPeriodPhaseBAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLineCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeLineCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActiveCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActiveCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReactiveCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeReactiveCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltagePhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltagePhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageMinPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageMinPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageMaxPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageMaxPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentMinPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentMinPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsCurrentMaxPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsCurrentMaxPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerMinPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerMinPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readActivePowerMaxPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeActivePowerMaxPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readReactivePowerPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeReactivePowerPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readApparentPowerPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeApparentPowerPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readPowerFactorPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribePowerFactorPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsVoltageMeasurementPeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsVoltageMeasurementPeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsOverVoltageCounterPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsOverVoltageCounterPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readAverageRmsUnderVoltageCounterPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeAverageRmsUnderVoltageCounterPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeOverVoltagePeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsExtremeOverVoltagePeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsExtremeUnderVoltagePeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsExtremeUnderVoltagePeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSagPeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageSagPeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRmsVoltageSwellPeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeRmsVoltageSwellPeriodPhaseCAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class UnitTestingCluster extends BaseChipCluster { @@ -45700,3329 +45834,2863 @@ public UnitTestingCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public void test(DefaultClusterCallback callback) { + public void test(DefaultClusterCallback callback + ) { test(chipClusterPtr, callback, null); } - public void test(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void test(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { test(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void testNotHandled(DefaultClusterCallback callback) { + public void testNotHandled(DefaultClusterCallback callback + ) { testNotHandled(chipClusterPtr, callback, null); } - public void testNotHandled(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void testNotHandled(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { testNotHandled(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void testSpecific(TestSpecificResponseCallback callback) { + public void testSpecific(TestSpecificResponseCallback callback + ) { testSpecific(chipClusterPtr, callback, null); } - public void testSpecific(TestSpecificResponseCallback callback, int timedInvokeTimeoutMs) { - + public void testSpecific(TestSpecificResponseCallback callback + + , int timedInvokeTimeoutMs) { testSpecific(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void testUnknownCommand(DefaultClusterCallback callback) { + public void testUnknownCommand(DefaultClusterCallback callback + ) { testUnknownCommand(chipClusterPtr, callback, null); } - public void testUnknownCommand(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { - + public void testUnknownCommand(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { testUnknownCommand(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void testAddArguments( - TestAddArgumentsResponseCallback callback, Integer arg1, Integer arg2) { + public void testAddArguments(TestAddArgumentsResponseCallback callback + , Integer arg1, Integer arg2) { testAddArguments(chipClusterPtr, callback, arg1, arg2, null); } - public void testAddArguments( - TestAddArgumentsResponseCallback callback, - Integer arg1, - Integer arg2, - int timedInvokeTimeoutMs) { + public void testAddArguments(TestAddArgumentsResponseCallback callback + , Integer arg1, Integer arg2 + , int timedInvokeTimeoutMs) { testAddArguments(chipClusterPtr, callback, arg1, arg2, timedInvokeTimeoutMs); } - public void testStructArgumentRequest( - BooleanResponseCallback callback, ChipStructs.UnitTestingClusterSimpleStruct arg1) { + public void testStructArgumentRequest(BooleanResponseCallback callback + , ChipStructs.UnitTestingClusterSimpleStruct arg1) { testStructArgumentRequest(chipClusterPtr, callback, arg1, null); } - public void testStructArgumentRequest( - BooleanResponseCallback callback, - ChipStructs.UnitTestingClusterSimpleStruct arg1, - int timedInvokeTimeoutMs) { + public void testStructArgumentRequest(BooleanResponseCallback callback + , ChipStructs.UnitTestingClusterSimpleStruct arg1 + , int timedInvokeTimeoutMs) { testStructArgumentRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testNestedStructArgumentRequest( - BooleanResponseCallback callback, ChipStructs.UnitTestingClusterNestedStruct arg1) { + public void testNestedStructArgumentRequest(BooleanResponseCallback callback + , ChipStructs.UnitTestingClusterNestedStruct arg1) { testNestedStructArgumentRequest(chipClusterPtr, callback, arg1, null); } - public void testNestedStructArgumentRequest( - BooleanResponseCallback callback, - ChipStructs.UnitTestingClusterNestedStruct arg1, - int timedInvokeTimeoutMs) { + public void testNestedStructArgumentRequest(BooleanResponseCallback callback + , ChipStructs.UnitTestingClusterNestedStruct arg1 + , int timedInvokeTimeoutMs) { testNestedStructArgumentRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testListStructArgumentRequest( - BooleanResponseCallback callback, - ArrayList arg1) { + public void testListStructArgumentRequest(BooleanResponseCallback callback + , ArrayList arg1) { testListStructArgumentRequest(chipClusterPtr, callback, arg1, null); } - public void testListStructArgumentRequest( - BooleanResponseCallback callback, - ArrayList arg1, - int timedInvokeTimeoutMs) { + public void testListStructArgumentRequest(BooleanResponseCallback callback + , ArrayList arg1 + , int timedInvokeTimeoutMs) { testListStructArgumentRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testListInt8UArgumentRequest( - BooleanResponseCallback callback, ArrayList arg1) { + public void testListInt8UArgumentRequest(BooleanResponseCallback callback + , ArrayList arg1) { testListInt8UArgumentRequest(chipClusterPtr, callback, arg1, null); } - public void testListInt8UArgumentRequest( - BooleanResponseCallback callback, ArrayList arg1, int timedInvokeTimeoutMs) { + public void testListInt8UArgumentRequest(BooleanResponseCallback callback + , ArrayList arg1 + , int timedInvokeTimeoutMs) { testListInt8UArgumentRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testNestedStructListArgumentRequest( - BooleanResponseCallback callback, ChipStructs.UnitTestingClusterNestedStructList arg1) { + public void testNestedStructListArgumentRequest(BooleanResponseCallback callback + , ChipStructs.UnitTestingClusterNestedStructList arg1) { testNestedStructListArgumentRequest(chipClusterPtr, callback, arg1, null); } - public void testNestedStructListArgumentRequest( - BooleanResponseCallback callback, - ChipStructs.UnitTestingClusterNestedStructList arg1, - int timedInvokeTimeoutMs) { + public void testNestedStructListArgumentRequest(BooleanResponseCallback callback + , ChipStructs.UnitTestingClusterNestedStructList arg1 + , int timedInvokeTimeoutMs) { testNestedStructListArgumentRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testListNestedStructListArgumentRequest( - BooleanResponseCallback callback, - ArrayList arg1) { + public void testListNestedStructListArgumentRequest(BooleanResponseCallback callback + , ArrayList arg1) { testListNestedStructListArgumentRequest(chipClusterPtr, callback, arg1, null); } - public void testListNestedStructListArgumentRequest( - BooleanResponseCallback callback, - ArrayList arg1, - int timedInvokeTimeoutMs) { + public void testListNestedStructListArgumentRequest(BooleanResponseCallback callback + , ArrayList arg1 + , int timedInvokeTimeoutMs) { testListNestedStructListArgumentRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testListInt8UReverseRequest( - TestListInt8UReverseResponseCallback callback, ArrayList arg1) { + public void testListInt8UReverseRequest(TestListInt8UReverseResponseCallback callback + , ArrayList arg1) { testListInt8UReverseRequest(chipClusterPtr, callback, arg1, null); } - public void testListInt8UReverseRequest( - TestListInt8UReverseResponseCallback callback, - ArrayList arg1, - int timedInvokeTimeoutMs) { + public void testListInt8UReverseRequest(TestListInt8UReverseResponseCallback callback + , ArrayList arg1 + , int timedInvokeTimeoutMs) { testListInt8UReverseRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testEnumsRequest(TestEnumsResponseCallback callback, Integer arg1, Integer arg2) { + public void testEnumsRequest(TestEnumsResponseCallback callback + , Integer arg1, Integer arg2) { testEnumsRequest(chipClusterPtr, callback, arg1, arg2, null); } - public void testEnumsRequest( - TestEnumsResponseCallback callback, Integer arg1, Integer arg2, int timedInvokeTimeoutMs) { + public void testEnumsRequest(TestEnumsResponseCallback callback + , Integer arg1, Integer arg2 + , int timedInvokeTimeoutMs) { testEnumsRequest(chipClusterPtr, callback, arg1, arg2, timedInvokeTimeoutMs); } - public void testNullableOptionalRequest( - TestNullableOptionalResponseCallback callback, @Nullable Optional arg1) { + public void testNullableOptionalRequest(TestNullableOptionalResponseCallback callback + , @Nullable Optional arg1) { testNullableOptionalRequest(chipClusterPtr, callback, arg1, null); } - public void testNullableOptionalRequest( - TestNullableOptionalResponseCallback callback, - @Nullable Optional arg1, - int timedInvokeTimeoutMs) { + public void testNullableOptionalRequest(TestNullableOptionalResponseCallback callback + , @Nullable Optional arg1 + , int timedInvokeTimeoutMs) { testNullableOptionalRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void simpleStructEchoRequest( - SimpleStructResponseCallback callback, ChipStructs.UnitTestingClusterSimpleStruct arg1) { + public void simpleStructEchoRequest(SimpleStructResponseCallback callback + , ChipStructs.UnitTestingClusterSimpleStruct arg1) { simpleStructEchoRequest(chipClusterPtr, callback, arg1, null); } - public void simpleStructEchoRequest( - SimpleStructResponseCallback callback, - ChipStructs.UnitTestingClusterSimpleStruct arg1, - int timedInvokeTimeoutMs) { + public void simpleStructEchoRequest(SimpleStructResponseCallback callback + , ChipStructs.UnitTestingClusterSimpleStruct arg1 + , int timedInvokeTimeoutMs) { simpleStructEchoRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void timedInvokeRequest(DefaultClusterCallback callback, int timedInvokeTimeoutMs) { + public void timedInvokeRequest(DefaultClusterCallback callback + + , int timedInvokeTimeoutMs) { timedInvokeRequest(chipClusterPtr, callback, timedInvokeTimeoutMs); } - public void testSimpleOptionalArgumentRequest( - DefaultClusterCallback callback, Optional arg1) { + public void testSimpleOptionalArgumentRequest(DefaultClusterCallback callback + , Optional arg1) { testSimpleOptionalArgumentRequest(chipClusterPtr, callback, arg1, null); } - public void testSimpleOptionalArgumentRequest( - DefaultClusterCallback callback, Optional arg1, int timedInvokeTimeoutMs) { + public void testSimpleOptionalArgumentRequest(DefaultClusterCallback callback + , Optional arg1 + , int timedInvokeTimeoutMs) { testSimpleOptionalArgumentRequest(chipClusterPtr, callback, arg1, timedInvokeTimeoutMs); } - public void testEmitTestEventRequest( - TestEmitTestEventResponseCallback callback, Integer arg1, Integer arg2, Boolean arg3) { + public void testEmitTestEventRequest(TestEmitTestEventResponseCallback callback + , Integer arg1, Integer arg2, Boolean arg3) { testEmitTestEventRequest(chipClusterPtr, callback, arg1, arg2, arg3, null); } - public void testEmitTestEventRequest( - TestEmitTestEventResponseCallback callback, - Integer arg1, - Integer arg2, - Boolean arg3, - int timedInvokeTimeoutMs) { + public void testEmitTestEventRequest(TestEmitTestEventResponseCallback callback + , Integer arg1, Integer arg2, Boolean arg3 + , int timedInvokeTimeoutMs) { testEmitTestEventRequest(chipClusterPtr, callback, arg1, arg2, arg3, timedInvokeTimeoutMs); } - - private native void test( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testNotHandled( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testSpecific( - long chipClusterPtr, - TestSpecificResponseCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testUnknownCommand( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testAddArguments( - long chipClusterPtr, - TestAddArgumentsResponseCallback Callback, - Integer arg1, - Integer arg2, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testStructArgumentRequest( - long chipClusterPtr, - BooleanResponseCallback Callback, - ChipStructs.UnitTestingClusterSimpleStruct arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testNestedStructArgumentRequest( - long chipClusterPtr, - BooleanResponseCallback Callback, - ChipStructs.UnitTestingClusterNestedStruct arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testListStructArgumentRequest( - long chipClusterPtr, - BooleanResponseCallback Callback, - ArrayList arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testListInt8UArgumentRequest( - long chipClusterPtr, - BooleanResponseCallback Callback, - ArrayList arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testNestedStructListArgumentRequest( - long chipClusterPtr, - BooleanResponseCallback Callback, - ChipStructs.UnitTestingClusterNestedStructList arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testListNestedStructListArgumentRequest( - long chipClusterPtr, - BooleanResponseCallback Callback, - ArrayList arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testListInt8UReverseRequest( - long chipClusterPtr, - TestListInt8UReverseResponseCallback Callback, - ArrayList arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testEnumsRequest( - long chipClusterPtr, - TestEnumsResponseCallback Callback, - Integer arg1, - Integer arg2, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testNullableOptionalRequest( - long chipClusterPtr, - TestNullableOptionalResponseCallback Callback, - @Nullable Optional arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void simpleStructEchoRequest( - long chipClusterPtr, - SimpleStructResponseCallback Callback, - ChipStructs.UnitTestingClusterSimpleStruct arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void timedInvokeRequest( - long chipClusterPtr, - DefaultClusterCallback Callback, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testSimpleOptionalArgumentRequest( - long chipClusterPtr, - DefaultClusterCallback Callback, - Optional arg1, - @Nullable Integer timedInvokeTimeoutMs); - - private native void testEmitTestEventRequest( - long chipClusterPtr, - TestEmitTestEventResponseCallback Callback, - Integer arg1, - Integer arg2, - Boolean arg3, - @Nullable Integer timedInvokeTimeoutMs); - + private native void test(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void testNotHandled(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void testSpecific(long chipClusterPtr, TestSpecificResponseCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void testUnknownCommand(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void testAddArguments(long chipClusterPtr, TestAddArgumentsResponseCallback Callback + , Integer arg1, Integer arg2 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testStructArgumentRequest(long chipClusterPtr, BooleanResponseCallback Callback + , ChipStructs.UnitTestingClusterSimpleStruct arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testNestedStructArgumentRequest(long chipClusterPtr, BooleanResponseCallback Callback + , ChipStructs.UnitTestingClusterNestedStruct arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testListStructArgumentRequest(long chipClusterPtr, BooleanResponseCallback Callback + , ArrayList arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testListInt8UArgumentRequest(long chipClusterPtr, BooleanResponseCallback Callback + , ArrayList arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testNestedStructListArgumentRequest(long chipClusterPtr, BooleanResponseCallback Callback + , ChipStructs.UnitTestingClusterNestedStructList arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testListNestedStructListArgumentRequest(long chipClusterPtr, BooleanResponseCallback Callback + , ArrayList arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testListInt8UReverseRequest(long chipClusterPtr, TestListInt8UReverseResponseCallback Callback + , ArrayList arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testEnumsRequest(long chipClusterPtr, TestEnumsResponseCallback Callback + , Integer arg1, Integer arg2 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testNullableOptionalRequest(long chipClusterPtr, TestNullableOptionalResponseCallback Callback + , @Nullable Optional arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void simpleStructEchoRequest(long chipClusterPtr, SimpleStructResponseCallback Callback + , ChipStructs.UnitTestingClusterSimpleStruct arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void timedInvokeRequest(long chipClusterPtr, DefaultClusterCallback Callback + + , @Nullable Integer timedInvokeTimeoutMs); + private native void testSimpleOptionalArgumentRequest(long chipClusterPtr, DefaultClusterCallback Callback + , Optional arg1 + , @Nullable Integer timedInvokeTimeoutMs); + private native void testEmitTestEventRequest(long chipClusterPtr, TestEmitTestEventResponseCallback Callback + , Integer arg1, Integer arg2, Boolean arg3 + , @Nullable Integer timedInvokeTimeoutMs); public interface TestSpecificResponseCallback { void onSuccess(Integer returnValue); - + void onError(Exception error); } public interface TestAddArgumentsResponseCallback { void onSuccess(Integer returnValue); - + void onError(Exception error); } public interface TestListInt8UReverseResponseCallback { void onSuccess(ArrayList arg1); - + void onError(Exception error); } public interface TestEnumsResponseCallback { void onSuccess(Integer arg1, Integer arg2); - + void onError(Exception error); } public interface TestNullableOptionalResponseCallback { - void onSuccess( - Boolean wasPresent, - Optional wasNull, - Optional value, - @Nullable Optional originalValue); - + void onSuccess(Boolean wasPresent, Optional wasNull, Optional value, @Nullable Optional originalValue); + void onError(Exception error); } public interface BooleanResponseCallback { void onSuccess(Boolean value); - + void onError(Exception error); } public interface SimpleStructResponseCallback { void onSuccess(ChipStructs.UnitTestingClusterSimpleStruct arg1); - + void onError(Exception error); } public interface TestEmitTestEventResponseCallback { void onSuccess(Long value); - + void onError(Exception error); } - public interface ListInt8uAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ListOctetStringAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ListStructOctetStringAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ListNullablesAndOptionalsStructAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ListLongOctetStringAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface ListFabricScopedAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableBooleanAttributeCallback { - void onSuccess(@Nullable Boolean value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableBitmap8AttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableBitmap16AttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableBitmap32AttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableBitmap64AttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt8uAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt16uAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt24uAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt32uAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt40uAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt48uAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt56uAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt64uAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt8sAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt16sAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt24sAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt32sAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt40sAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt48sAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt56sAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableInt64sAttributeCallback { - void onSuccess(@Nullable Long value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableEnum8AttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableEnum16AttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableFloatSingleAttributeCallback { - void onSuccess(@Nullable Float value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableFloatDoubleAttributeCallback { - void onSuccess(@Nullable Double value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableOctetStringAttributeCallback { - void onSuccess(@Nullable byte[] value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableCharStringAttributeCallback { - void onSuccess(@Nullable String value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableEnumAttrAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableRangeRestrictedInt8uAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableRangeRestrictedInt8sAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableRangeRestrictedInt16uAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface NullableRangeRestrictedInt16sAttributeCallback { - void onSuccess(@Nullable Integer value); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface ListInt8uAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ListOctetStringAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ListStructOctetStringAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ListNullablesAndOptionalsStructAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ListLongOctetStringAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface ListFabricScopedAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableBooleanAttributeCallback { + void onSuccess(@Nullable Boolean value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableBitmap8AttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableBitmap16AttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableBitmap32AttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableBitmap64AttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt8uAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt16uAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt24uAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt32uAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt40uAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt48uAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt56uAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt64uAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt8sAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt16sAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt24sAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt32sAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt40sAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt48sAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt56sAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableInt64sAttributeCallback { + void onSuccess(@Nullable Long value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableEnum8AttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableEnum16AttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableFloatSingleAttributeCallback { + void onSuccess(@Nullable Float value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableFloatDoubleAttributeCallback { + void onSuccess(@Nullable Double value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableOctetStringAttributeCallback { + void onSuccess(@Nullable byte[] value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableCharStringAttributeCallback { + void onSuccess(@Nullable String value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableEnumAttrAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableRangeRestrictedInt8uAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableRangeRestrictedInt8sAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableRangeRestrictedInt16uAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface NullableRangeRestrictedInt16sAttributeCallback { + void onSuccess(@Nullable Integer value); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readBooleanAttribute(BooleanAttributeCallback callback) { + public void readBooleanAttribute( + BooleanAttributeCallback callback + ) { readBooleanAttribute(chipClusterPtr, callback); } - public void writeBooleanAttribute(DefaultClusterCallback callback, Boolean value) { writeBooleanAttribute(chipClusterPtr, callback, value, null); } - public void writeBooleanAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeBooleanAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeBooleanAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBooleanAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBooleanAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBitmap8Attribute(IntegerAttributeCallback callback) { + public void readBitmap8Attribute( + IntegerAttributeCallback callback + ) { readBitmap8Attribute(chipClusterPtr, callback); } - public void writeBitmap8Attribute(DefaultClusterCallback callback, Integer value) { writeBitmap8Attribute(chipClusterPtr, callback, value, null); } - public void writeBitmap8Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeBitmap8Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeBitmap8Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBitmap8Attribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBitmap8Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBitmap16Attribute(IntegerAttributeCallback callback) { + public void readBitmap16Attribute( + IntegerAttributeCallback callback + ) { readBitmap16Attribute(chipClusterPtr, callback); } - public void writeBitmap16Attribute(DefaultClusterCallback callback, Integer value) { writeBitmap16Attribute(chipClusterPtr, callback, value, null); } - public void writeBitmap16Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeBitmap16Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeBitmap16Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBitmap16Attribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBitmap16Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBitmap32Attribute(LongAttributeCallback callback) { + public void readBitmap32Attribute( + LongAttributeCallback callback + ) { readBitmap32Attribute(chipClusterPtr, callback); } - public void writeBitmap32Attribute(DefaultClusterCallback callback, Long value) { writeBitmap32Attribute(chipClusterPtr, callback, value, null); } - public void writeBitmap32Attribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeBitmap32Attribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeBitmap32Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBitmap32Attribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBitmap32Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readBitmap64Attribute(LongAttributeCallback callback) { + public void readBitmap64Attribute( + LongAttributeCallback callback + ) { readBitmap64Attribute(chipClusterPtr, callback); } - public void writeBitmap64Attribute(DefaultClusterCallback callback, Long value) { writeBitmap64Attribute(chipClusterPtr, callback, value, null); } - public void writeBitmap64Attribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeBitmap64Attribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeBitmap64Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeBitmap64Attribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeBitmap64Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt8uAttribute(IntegerAttributeCallback callback) { + public void readInt8uAttribute( + IntegerAttributeCallback callback + ) { readInt8uAttribute(chipClusterPtr, callback); } - public void writeInt8uAttribute(DefaultClusterCallback callback, Integer value) { writeInt8uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt8uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeInt8uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt8uAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt8uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt16uAttribute(IntegerAttributeCallback callback) { + public void readInt16uAttribute( + IntegerAttributeCallback callback + ) { readInt16uAttribute(chipClusterPtr, callback); } - public void writeInt16uAttribute(DefaultClusterCallback callback, Integer value) { writeInt16uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt16uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeInt16uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeInt16uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt16uAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt16uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt24uAttribute(LongAttributeCallback callback) { + public void readInt24uAttribute( + LongAttributeCallback callback + ) { readInt24uAttribute(chipClusterPtr, callback); } - public void writeInt24uAttribute(DefaultClusterCallback callback, Long value) { writeInt24uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt24uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt24uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt24uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt24uAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt24uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt32uAttribute(LongAttributeCallback callback) { + public void readInt32uAttribute( + LongAttributeCallback callback + ) { readInt32uAttribute(chipClusterPtr, callback); } - public void writeInt32uAttribute(DefaultClusterCallback callback, Long value) { writeInt32uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt32uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt32uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt32uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt32uAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt32uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt40uAttribute(LongAttributeCallback callback) { + public void readInt40uAttribute( + LongAttributeCallback callback + ) { readInt40uAttribute(chipClusterPtr, callback); } - public void writeInt40uAttribute(DefaultClusterCallback callback, Long value) { writeInt40uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt40uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt40uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt40uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt40uAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt40uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt48uAttribute(LongAttributeCallback callback) { + public void readInt48uAttribute( + LongAttributeCallback callback + ) { readInt48uAttribute(chipClusterPtr, callback); } - public void writeInt48uAttribute(DefaultClusterCallback callback, Long value) { writeInt48uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt48uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt48uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt48uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt48uAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt48uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt56uAttribute(LongAttributeCallback callback) { + public void readInt56uAttribute( + LongAttributeCallback callback + ) { readInt56uAttribute(chipClusterPtr, callback); } - public void writeInt56uAttribute(DefaultClusterCallback callback, Long value) { writeInt56uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt56uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt56uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt56uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt56uAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt56uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt64uAttribute(LongAttributeCallback callback) { + public void readInt64uAttribute( + LongAttributeCallback callback + ) { readInt64uAttribute(chipClusterPtr, callback); } - public void writeInt64uAttribute(DefaultClusterCallback callback, Long value) { writeInt64uAttribute(chipClusterPtr, callback, value, null); } - public void writeInt64uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt64uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt64uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt64uAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt64uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt8sAttribute(IntegerAttributeCallback callback) { + public void readInt8sAttribute( + IntegerAttributeCallback callback + ) { readInt8sAttribute(chipClusterPtr, callback); } - public void writeInt8sAttribute(DefaultClusterCallback callback, Integer value) { writeInt8sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt8sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeInt8sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeInt8sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt8sAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt8sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt16sAttribute(IntegerAttributeCallback callback) { + public void readInt16sAttribute( + IntegerAttributeCallback callback + ) { readInt16sAttribute(chipClusterPtr, callback); } - public void writeInt16sAttribute(DefaultClusterCallback callback, Integer value) { writeInt16sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt16sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeInt16sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeInt16sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt16sAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt16sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt24sAttribute(LongAttributeCallback callback) { + public void readInt24sAttribute( + LongAttributeCallback callback + ) { readInt24sAttribute(chipClusterPtr, callback); } - public void writeInt24sAttribute(DefaultClusterCallback callback, Long value) { writeInt24sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt24sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt24sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt24sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt24sAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt24sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt32sAttribute(LongAttributeCallback callback) { + public void readInt32sAttribute( + LongAttributeCallback callback + ) { readInt32sAttribute(chipClusterPtr, callback); } - public void writeInt32sAttribute(DefaultClusterCallback callback, Long value) { writeInt32sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt32sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt32sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt32sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt32sAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt32sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt40sAttribute(LongAttributeCallback callback) { + public void readInt40sAttribute( + LongAttributeCallback callback + ) { readInt40sAttribute(chipClusterPtr, callback); } - public void writeInt40sAttribute(DefaultClusterCallback callback, Long value) { writeInt40sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt40sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt40sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt40sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt40sAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt40sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt48sAttribute(LongAttributeCallback callback) { + public void readInt48sAttribute( + LongAttributeCallback callback + ) { readInt48sAttribute(chipClusterPtr, callback); } - public void writeInt48sAttribute(DefaultClusterCallback callback, Long value) { writeInt48sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt48sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt48sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt48sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt48sAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt48sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt56sAttribute(LongAttributeCallback callback) { + public void readInt56sAttribute( + LongAttributeCallback callback + ) { readInt56sAttribute(chipClusterPtr, callback); } - public void writeInt56sAttribute(DefaultClusterCallback callback, Long value) { writeInt56sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt56sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt56sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt56sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt56sAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt56sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readInt64sAttribute(LongAttributeCallback callback) { + public void readInt64sAttribute( + LongAttributeCallback callback + ) { readInt64sAttribute(chipClusterPtr, callback); } - public void writeInt64sAttribute(DefaultClusterCallback callback, Long value) { writeInt64sAttribute(chipClusterPtr, callback, value, null); } - public void writeInt64sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeInt64sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeInt64sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeInt64sAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeInt64sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEnum8Attribute(IntegerAttributeCallback callback) { + public void readEnum8Attribute( + IntegerAttributeCallback callback + ) { readEnum8Attribute(chipClusterPtr, callback); } - public void writeEnum8Attribute(DefaultClusterCallback callback, Integer value) { writeEnum8Attribute(chipClusterPtr, callback, value, null); } - public void writeEnum8Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeEnum8Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeEnum8Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeEnum8Attribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeEnum8Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEnum16Attribute(IntegerAttributeCallback callback) { + public void readEnum16Attribute( + IntegerAttributeCallback callback + ) { readEnum16Attribute(chipClusterPtr, callback); } - public void writeEnum16Attribute(DefaultClusterCallback callback, Integer value) { writeEnum16Attribute(chipClusterPtr, callback, value, null); } - public void writeEnum16Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeEnum16Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeEnum16Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeEnum16Attribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeEnum16Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFloatSingleAttribute(FloatAttributeCallback callback) { + public void readFloatSingleAttribute( + FloatAttributeCallback callback + ) { readFloatSingleAttribute(chipClusterPtr, callback); } - public void writeFloatSingleAttribute(DefaultClusterCallback callback, Float value) { writeFloatSingleAttribute(chipClusterPtr, callback, value, null); } - public void writeFloatSingleAttribute( - DefaultClusterCallback callback, Float value, int timedWriteTimeoutMs) { + public void writeFloatSingleAttribute(DefaultClusterCallback callback, Float value, int timedWriteTimeoutMs) { writeFloatSingleAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeFloatSingleAttribute( - FloatAttributeCallback callback, int minInterval, int maxInterval) { + FloatAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFloatSingleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFloatDoubleAttribute(DoubleAttributeCallback callback) { + public void readFloatDoubleAttribute( + DoubleAttributeCallback callback + ) { readFloatDoubleAttribute(chipClusterPtr, callback); } - public void writeFloatDoubleAttribute(DefaultClusterCallback callback, Double value) { writeFloatDoubleAttribute(chipClusterPtr, callback, value, null); } - public void writeFloatDoubleAttribute( - DefaultClusterCallback callback, Double value, int timedWriteTimeoutMs) { + public void writeFloatDoubleAttribute(DefaultClusterCallback callback, Double value, int timedWriteTimeoutMs) { writeFloatDoubleAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeFloatDoubleAttribute( - DoubleAttributeCallback callback, int minInterval, int maxInterval) { + DoubleAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFloatDoubleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readOctetStringAttribute(OctetStringAttributeCallback callback) { + public void readOctetStringAttribute( + OctetStringAttributeCallback callback + ) { readOctetStringAttribute(chipClusterPtr, callback); } - public void writeOctetStringAttribute(DefaultClusterCallback callback, byte[] value) { writeOctetStringAttribute(chipClusterPtr, callback, value, null); } - public void writeOctetStringAttribute( - DefaultClusterCallback callback, byte[] value, int timedWriteTimeoutMs) { + public void writeOctetStringAttribute(DefaultClusterCallback callback, byte[] value, int timedWriteTimeoutMs) { writeOctetStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeOctetStringAttribute( - OctetStringAttributeCallback callback, int minInterval, int maxInterval) { + OctetStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeOctetStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readListInt8uAttribute(ListInt8uAttributeCallback callback) { + public void readListInt8uAttribute( + ListInt8uAttributeCallback callback + ) { readListInt8uAttribute(chipClusterPtr, callback); } - public void writeListInt8uAttribute(DefaultClusterCallback callback, ArrayList value) { writeListInt8uAttribute(chipClusterPtr, callback, value, null); } - public void writeListInt8uAttribute( - DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + public void writeListInt8uAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeListInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeListInt8uAttribute( - ListInt8uAttributeCallback callback, int minInterval, int maxInterval) { + ListInt8uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeListInt8uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readListOctetStringAttribute(ListOctetStringAttributeCallback callback) { + public void readListOctetStringAttribute( + ListOctetStringAttributeCallback callback + ) { readListOctetStringAttribute(chipClusterPtr, callback); } - - public void writeListOctetStringAttribute( - DefaultClusterCallback callback, ArrayList value) { + public void writeListOctetStringAttribute(DefaultClusterCallback callback, ArrayList value) { writeListOctetStringAttribute(chipClusterPtr, callback, value, null); } - public void writeListOctetStringAttribute( - DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + public void writeListOctetStringAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeListOctetStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeListOctetStringAttribute( - ListOctetStringAttributeCallback callback, int minInterval, int maxInterval) { + ListOctetStringAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeListOctetStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readListStructOctetStringAttribute( - ListStructOctetStringAttributeCallback callback) { + ListStructOctetStringAttributeCallback callback + ) { readListStructOctetStringAttribute(chipClusterPtr, callback); } - - public void writeListStructOctetStringAttribute( - DefaultClusterCallback callback, - ArrayList value) { + public void writeListStructOctetStringAttribute(DefaultClusterCallback callback, ArrayList value) { writeListStructOctetStringAttribute(chipClusterPtr, callback, value, null); } - public void writeListStructOctetStringAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { + public void writeListStructOctetStringAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeListStructOctetStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeListStructOctetStringAttribute( - ListStructOctetStringAttributeCallback callback, int minInterval, int maxInterval) { + ListStructOctetStringAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeListStructOctetStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLongOctetStringAttribute(OctetStringAttributeCallback callback) { + public void readLongOctetStringAttribute( + OctetStringAttributeCallback callback + ) { readLongOctetStringAttribute(chipClusterPtr, callback); } - public void writeLongOctetStringAttribute(DefaultClusterCallback callback, byte[] value) { writeLongOctetStringAttribute(chipClusterPtr, callback, value, null); } - public void writeLongOctetStringAttribute( - DefaultClusterCallback callback, byte[] value, int timedWriteTimeoutMs) { + public void writeLongOctetStringAttribute(DefaultClusterCallback callback, byte[] value, int timedWriteTimeoutMs) { writeLongOctetStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeLongOctetStringAttribute( - OctetStringAttributeCallback callback, int minInterval, int maxInterval) { + OctetStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLongOctetStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readCharStringAttribute(CharStringAttributeCallback callback) { + public void readCharStringAttribute( + CharStringAttributeCallback callback + ) { readCharStringAttribute(chipClusterPtr, callback); } - public void writeCharStringAttribute(DefaultClusterCallback callback, String value) { writeCharStringAttribute(chipClusterPtr, callback, value, null); } - public void writeCharStringAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeCharStringAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeCharStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeCharStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeCharStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readLongCharStringAttribute(CharStringAttributeCallback callback) { + public void readLongCharStringAttribute( + CharStringAttributeCallback callback + ) { readLongCharStringAttribute(chipClusterPtr, callback); } - public void writeLongCharStringAttribute(DefaultClusterCallback callback, String value) { writeLongCharStringAttribute(chipClusterPtr, callback, value, null); } - public void writeLongCharStringAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeLongCharStringAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeLongCharStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeLongCharStringAttribute( - CharStringAttributeCallback callback, int minInterval, int maxInterval) { + CharStringAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeLongCharStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEpochUsAttribute(LongAttributeCallback callback) { + public void readEpochUsAttribute( + LongAttributeCallback callback + ) { readEpochUsAttribute(chipClusterPtr, callback); } - public void writeEpochUsAttribute(DefaultClusterCallback callback, Long value) { writeEpochUsAttribute(chipClusterPtr, callback, value, null); } - public void writeEpochUsAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeEpochUsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeEpochUsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeEpochUsAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeEpochUsAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEpochSAttribute(LongAttributeCallback callback) { + public void readEpochSAttribute( + LongAttributeCallback callback + ) { readEpochSAttribute(chipClusterPtr, callback); } - public void writeEpochSAttribute(DefaultClusterCallback callback, Long value) { writeEpochSAttribute(chipClusterPtr, callback, value, null); } - public void writeEpochSAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeEpochSAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeEpochSAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeEpochSAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeEpochSAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readVendorIdAttribute(IntegerAttributeCallback callback) { + public void readVendorIdAttribute( + IntegerAttributeCallback callback + ) { readVendorIdAttribute(chipClusterPtr, callback); } - public void writeVendorIdAttribute(DefaultClusterCallback callback, Integer value) { writeVendorIdAttribute(chipClusterPtr, callback, value, null); } - public void writeVendorIdAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeVendorIdAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeVendorIdAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeVendorIdAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeVendorIdAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readListNullablesAndOptionalsStructAttribute( - ListNullablesAndOptionalsStructAttributeCallback callback) { + ListNullablesAndOptionalsStructAttributeCallback callback + ) { readListNullablesAndOptionalsStructAttribute(chipClusterPtr, callback); } - - public void writeListNullablesAndOptionalsStructAttribute( - DefaultClusterCallback callback, - ArrayList value) { + public void writeListNullablesAndOptionalsStructAttribute(DefaultClusterCallback callback, ArrayList value) { writeListNullablesAndOptionalsStructAttribute(chipClusterPtr, callback, value, null); } - public void writeListNullablesAndOptionalsStructAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { - writeListNullablesAndOptionalsStructAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeListNullablesAndOptionalsStructAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + writeListNullablesAndOptionalsStructAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeListNullablesAndOptionalsStructAttribute( - ListNullablesAndOptionalsStructAttributeCallback callback, - int minInterval, - int maxInterval) { - subscribeListNullablesAndOptionalsStructAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + ListNullablesAndOptionalsStructAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeListNullablesAndOptionalsStructAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEnumAttrAttribute(IntegerAttributeCallback callback) { + public void readEnumAttrAttribute( + IntegerAttributeCallback callback + ) { readEnumAttrAttribute(chipClusterPtr, callback); } - public void writeEnumAttrAttribute(DefaultClusterCallback callback, Integer value) { writeEnumAttrAttribute(chipClusterPtr, callback, value, null); } - public void writeEnumAttrAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeEnumAttrAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeEnumAttrAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeEnumAttrAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeEnumAttrAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRangeRestrictedInt8uAttribute(IntegerAttributeCallback callback) { + public void readRangeRestrictedInt8uAttribute( + IntegerAttributeCallback callback + ) { readRangeRestrictedInt8uAttribute(chipClusterPtr, callback); } - public void writeRangeRestrictedInt8uAttribute(DefaultClusterCallback callback, Integer value) { writeRangeRestrictedInt8uAttribute(chipClusterPtr, callback, value, null); } - public void writeRangeRestrictedInt8uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeRangeRestrictedInt8uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeRangeRestrictedInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeRangeRestrictedInt8uAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRangeRestrictedInt8uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRangeRestrictedInt8sAttribute(IntegerAttributeCallback callback) { + public void readRangeRestrictedInt8sAttribute( + IntegerAttributeCallback callback + ) { readRangeRestrictedInt8sAttribute(chipClusterPtr, callback); } - public void writeRangeRestrictedInt8sAttribute(DefaultClusterCallback callback, Integer value) { writeRangeRestrictedInt8sAttribute(chipClusterPtr, callback, value, null); } - public void writeRangeRestrictedInt8sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeRangeRestrictedInt8sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeRangeRestrictedInt8sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeRangeRestrictedInt8sAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRangeRestrictedInt8sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRangeRestrictedInt16uAttribute(IntegerAttributeCallback callback) { + public void readRangeRestrictedInt16uAttribute( + IntegerAttributeCallback callback + ) { readRangeRestrictedInt16uAttribute(chipClusterPtr, callback); } - - public void writeRangeRestrictedInt16uAttribute( - DefaultClusterCallback callback, Integer value) { + public void writeRangeRestrictedInt16uAttribute(DefaultClusterCallback callback, Integer value) { writeRangeRestrictedInt16uAttribute(chipClusterPtr, callback, value, null); } - public void writeRangeRestrictedInt16uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeRangeRestrictedInt16uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeRangeRestrictedInt16uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeRangeRestrictedInt16uAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRangeRestrictedInt16uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readRangeRestrictedInt16sAttribute(IntegerAttributeCallback callback) { + public void readRangeRestrictedInt16sAttribute( + IntegerAttributeCallback callback + ) { readRangeRestrictedInt16sAttribute(chipClusterPtr, callback); } - - public void writeRangeRestrictedInt16sAttribute( - DefaultClusterCallback callback, Integer value) { + public void writeRangeRestrictedInt16sAttribute(DefaultClusterCallback callback, Integer value) { writeRangeRestrictedInt16sAttribute(chipClusterPtr, callback, value, null); } - public void writeRangeRestrictedInt16sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeRangeRestrictedInt16sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeRangeRestrictedInt16sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeRangeRestrictedInt16sAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeRangeRestrictedInt16sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readListLongOctetStringAttribute(ListLongOctetStringAttributeCallback callback) { + public void readListLongOctetStringAttribute( + ListLongOctetStringAttributeCallback callback + ) { readListLongOctetStringAttribute(chipClusterPtr, callback); } - - public void writeListLongOctetStringAttribute( - DefaultClusterCallback callback, ArrayList value) { + public void writeListLongOctetStringAttribute(DefaultClusterCallback callback, ArrayList value) { writeListLongOctetStringAttribute(chipClusterPtr, callback, value, null); } - public void writeListLongOctetStringAttribute( - DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { + public void writeListLongOctetStringAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeListLongOctetStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeListLongOctetStringAttribute( - ListLongOctetStringAttributeCallback callback, int minInterval, int maxInterval) { + ListLongOctetStringAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeListLongOctetStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readListFabricScopedAttribute(ListFabricScopedAttributeCallback callback) { + public void readListFabricScopedAttribute( + ListFabricScopedAttributeCallback callback + ) { readListFabricScopedAttribute(chipClusterPtr, callback); } - - public void writeListFabricScopedAttribute( - DefaultClusterCallback callback, - ArrayList value) { + public void writeListFabricScopedAttribute(DefaultClusterCallback callback, ArrayList value) { writeListFabricScopedAttribute(chipClusterPtr, callback, value, null); } - public void writeListFabricScopedAttribute( - DefaultClusterCallback callback, - ArrayList value, - int timedWriteTimeoutMs) { + public void writeListFabricScopedAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) { writeListFabricScopedAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeListFabricScopedAttribute( - ListFabricScopedAttributeCallback callback, int minInterval, int maxInterval) { + ListFabricScopedAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeListFabricScopedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readTimedWriteBooleanAttribute(BooleanAttributeCallback callback) { + public void readTimedWriteBooleanAttribute( + BooleanAttributeCallback callback + ) { readTimedWriteBooleanAttribute(chipClusterPtr, callback); } - public void writeTimedWriteBooleanAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeTimedWriteBooleanAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeTimedWriteBooleanAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeTimedWriteBooleanAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeTimedWriteBooleanAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneralErrorBooleanAttribute(BooleanAttributeCallback callback) { + public void readGeneralErrorBooleanAttribute( + BooleanAttributeCallback callback + ) { readGeneralErrorBooleanAttribute(chipClusterPtr, callback); } - public void writeGeneralErrorBooleanAttribute(DefaultClusterCallback callback, Boolean value) { writeGeneralErrorBooleanAttribute(chipClusterPtr, callback, value, null); } - public void writeGeneralErrorBooleanAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeGeneralErrorBooleanAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeGeneralErrorBooleanAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeGeneralErrorBooleanAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeGeneralErrorBooleanAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterErrorBooleanAttribute(BooleanAttributeCallback callback) { + public void readClusterErrorBooleanAttribute( + BooleanAttributeCallback callback + ) { readClusterErrorBooleanAttribute(chipClusterPtr, callback); } - public void writeClusterErrorBooleanAttribute(DefaultClusterCallback callback, Boolean value) { writeClusterErrorBooleanAttribute(chipClusterPtr, callback, value, null); } - public void writeClusterErrorBooleanAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeClusterErrorBooleanAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeClusterErrorBooleanAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeClusterErrorBooleanAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterErrorBooleanAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readUnsupportedAttribute(BooleanAttributeCallback callback) { + public void readUnsupportedAttribute( + BooleanAttributeCallback callback + ) { readUnsupportedAttribute(chipClusterPtr, callback); } - public void writeUnsupportedAttribute(DefaultClusterCallback callback, Boolean value) { writeUnsupportedAttribute(chipClusterPtr, callback, value, null); } - public void writeUnsupportedAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeUnsupportedAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeUnsupportedAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeUnsupportedAttribute( - BooleanAttributeCallback callback, int minInterval, int maxInterval) { + BooleanAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeUnsupportedAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableBooleanAttribute(NullableBooleanAttributeCallback callback) { + public void readNullableBooleanAttribute( + NullableBooleanAttributeCallback callback + ) { readNullableBooleanAttribute(chipClusterPtr, callback); } - public void writeNullableBooleanAttribute(DefaultClusterCallback callback, Boolean value) { writeNullableBooleanAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableBooleanAttribute( - DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { + public void writeNullableBooleanAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) { writeNullableBooleanAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableBooleanAttribute( - NullableBooleanAttributeCallback callback, int minInterval, int maxInterval) { + NullableBooleanAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableBooleanAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableBitmap8Attribute(NullableBitmap8AttributeCallback callback) { + public void readNullableBitmap8Attribute( + NullableBitmap8AttributeCallback callback + ) { readNullableBitmap8Attribute(chipClusterPtr, callback); } - public void writeNullableBitmap8Attribute(DefaultClusterCallback callback, Integer value) { writeNullableBitmap8Attribute(chipClusterPtr, callback, value, null); } - public void writeNullableBitmap8Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableBitmap8Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableBitmap8Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableBitmap8Attribute( - NullableBitmap8AttributeCallback callback, int minInterval, int maxInterval) { + NullableBitmap8AttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableBitmap8Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableBitmap16Attribute(NullableBitmap16AttributeCallback callback) { + public void readNullableBitmap16Attribute( + NullableBitmap16AttributeCallback callback + ) { readNullableBitmap16Attribute(chipClusterPtr, callback); } - public void writeNullableBitmap16Attribute(DefaultClusterCallback callback, Integer value) { writeNullableBitmap16Attribute(chipClusterPtr, callback, value, null); } - public void writeNullableBitmap16Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableBitmap16Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableBitmap16Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableBitmap16Attribute( - NullableBitmap16AttributeCallback callback, int minInterval, int maxInterval) { + NullableBitmap16AttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableBitmap16Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableBitmap32Attribute(NullableBitmap32AttributeCallback callback) { + public void readNullableBitmap32Attribute( + NullableBitmap32AttributeCallback callback + ) { readNullableBitmap32Attribute(chipClusterPtr, callback); } - public void writeNullableBitmap32Attribute(DefaultClusterCallback callback, Long value) { writeNullableBitmap32Attribute(chipClusterPtr, callback, value, null); } - public void writeNullableBitmap32Attribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableBitmap32Attribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableBitmap32Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableBitmap32Attribute( - NullableBitmap32AttributeCallback callback, int minInterval, int maxInterval) { + NullableBitmap32AttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableBitmap32Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableBitmap64Attribute(NullableBitmap64AttributeCallback callback) { + public void readNullableBitmap64Attribute( + NullableBitmap64AttributeCallback callback + ) { readNullableBitmap64Attribute(chipClusterPtr, callback); } - public void writeNullableBitmap64Attribute(DefaultClusterCallback callback, Long value) { writeNullableBitmap64Attribute(chipClusterPtr, callback, value, null); } - public void writeNullableBitmap64Attribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableBitmap64Attribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableBitmap64Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableBitmap64Attribute( - NullableBitmap64AttributeCallback callback, int minInterval, int maxInterval) { + NullableBitmap64AttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableBitmap64Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt8uAttribute(NullableInt8uAttributeCallback callback) { + public void readNullableInt8uAttribute( + NullableInt8uAttributeCallback callback + ) { readNullableInt8uAttribute(chipClusterPtr, callback); } - public void writeNullableInt8uAttribute(DefaultClusterCallback callback, Integer value) { writeNullableInt8uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt8uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableInt8uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt8uAttribute( - NullableInt8uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt8uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt8uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt16uAttribute(NullableInt16uAttributeCallback callback) { + public void readNullableInt16uAttribute( + NullableInt16uAttributeCallback callback + ) { readNullableInt16uAttribute(chipClusterPtr, callback); } - public void writeNullableInt16uAttribute(DefaultClusterCallback callback, Integer value) { writeNullableInt16uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt16uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableInt16uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableInt16uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt16uAttribute( - NullableInt16uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt16uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt16uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt24uAttribute(NullableInt24uAttributeCallback callback) { + public void readNullableInt24uAttribute( + NullableInt24uAttributeCallback callback + ) { readNullableInt24uAttribute(chipClusterPtr, callback); } - public void writeNullableInt24uAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt24uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt24uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt24uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt24uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt24uAttribute( - NullableInt24uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt24uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt24uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt32uAttribute(NullableInt32uAttributeCallback callback) { + public void readNullableInt32uAttribute( + NullableInt32uAttributeCallback callback + ) { readNullableInt32uAttribute(chipClusterPtr, callback); } - public void writeNullableInt32uAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt32uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt32uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt32uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt32uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt32uAttribute( - NullableInt32uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt32uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt32uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt40uAttribute(NullableInt40uAttributeCallback callback) { + public void readNullableInt40uAttribute( + NullableInt40uAttributeCallback callback + ) { readNullableInt40uAttribute(chipClusterPtr, callback); } - public void writeNullableInt40uAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt40uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt40uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt40uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt40uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt40uAttribute( - NullableInt40uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt40uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt40uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt48uAttribute(NullableInt48uAttributeCallback callback) { + public void readNullableInt48uAttribute( + NullableInt48uAttributeCallback callback + ) { readNullableInt48uAttribute(chipClusterPtr, callback); } - public void writeNullableInt48uAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt48uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt48uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt48uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt48uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt48uAttribute( - NullableInt48uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt48uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt48uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt56uAttribute(NullableInt56uAttributeCallback callback) { + public void readNullableInt56uAttribute( + NullableInt56uAttributeCallback callback + ) { readNullableInt56uAttribute(chipClusterPtr, callback); } - public void writeNullableInt56uAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt56uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt56uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt56uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt56uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt56uAttribute( - NullableInt56uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt56uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt56uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt64uAttribute(NullableInt64uAttributeCallback callback) { + public void readNullableInt64uAttribute( + NullableInt64uAttributeCallback callback + ) { readNullableInt64uAttribute(chipClusterPtr, callback); } - public void writeNullableInt64uAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt64uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt64uAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt64uAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt64uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt64uAttribute( - NullableInt64uAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt64uAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt64uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt8sAttribute(NullableInt8sAttributeCallback callback) { + public void readNullableInt8sAttribute( + NullableInt8sAttributeCallback callback + ) { readNullableInt8sAttribute(chipClusterPtr, callback); } - public void writeNullableInt8sAttribute(DefaultClusterCallback callback, Integer value) { writeNullableInt8sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt8sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableInt8sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableInt8sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt8sAttribute( - NullableInt8sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt8sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt8sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt16sAttribute(NullableInt16sAttributeCallback callback) { + public void readNullableInt16sAttribute( + NullableInt16sAttributeCallback callback + ) { readNullableInt16sAttribute(chipClusterPtr, callback); } - public void writeNullableInt16sAttribute(DefaultClusterCallback callback, Integer value) { writeNullableInt16sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt16sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableInt16sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableInt16sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt16sAttribute( - NullableInt16sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt16sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt16sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt24sAttribute(NullableInt24sAttributeCallback callback) { + public void readNullableInt24sAttribute( + NullableInt24sAttributeCallback callback + ) { readNullableInt24sAttribute(chipClusterPtr, callback); } - public void writeNullableInt24sAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt24sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt24sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt24sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt24sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt24sAttribute( - NullableInt24sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt24sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt24sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt32sAttribute(NullableInt32sAttributeCallback callback) { + public void readNullableInt32sAttribute( + NullableInt32sAttributeCallback callback + ) { readNullableInt32sAttribute(chipClusterPtr, callback); } - public void writeNullableInt32sAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt32sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt32sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt32sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt32sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt32sAttribute( - NullableInt32sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt32sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt32sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt40sAttribute(NullableInt40sAttributeCallback callback) { + public void readNullableInt40sAttribute( + NullableInt40sAttributeCallback callback + ) { readNullableInt40sAttribute(chipClusterPtr, callback); } - public void writeNullableInt40sAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt40sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt40sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt40sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt40sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt40sAttribute( - NullableInt40sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt40sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt40sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt48sAttribute(NullableInt48sAttributeCallback callback) { + public void readNullableInt48sAttribute( + NullableInt48sAttributeCallback callback + ) { readNullableInt48sAttribute(chipClusterPtr, callback); } - public void writeNullableInt48sAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt48sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt48sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt48sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt48sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt48sAttribute( - NullableInt48sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt48sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt48sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt56sAttribute(NullableInt56sAttributeCallback callback) { + public void readNullableInt56sAttribute( + NullableInt56sAttributeCallback callback + ) { readNullableInt56sAttribute(chipClusterPtr, callback); } - public void writeNullableInt56sAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt56sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt56sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt56sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt56sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt56sAttribute( - NullableInt56sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt56sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt56sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableInt64sAttribute(NullableInt64sAttributeCallback callback) { + public void readNullableInt64sAttribute( + NullableInt64sAttributeCallback callback + ) { readNullableInt64sAttribute(chipClusterPtr, callback); } - public void writeNullableInt64sAttribute(DefaultClusterCallback callback, Long value) { writeNullableInt64sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableInt64sAttribute( - DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { + public void writeNullableInt64sAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) { writeNullableInt64sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableInt64sAttribute( - NullableInt64sAttributeCallback callback, int minInterval, int maxInterval) { + NullableInt64sAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableInt64sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableEnum8Attribute(NullableEnum8AttributeCallback callback) { + public void readNullableEnum8Attribute( + NullableEnum8AttributeCallback callback + ) { readNullableEnum8Attribute(chipClusterPtr, callback); } - public void writeNullableEnum8Attribute(DefaultClusterCallback callback, Integer value) { writeNullableEnum8Attribute(chipClusterPtr, callback, value, null); } - public void writeNullableEnum8Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableEnum8Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableEnum8Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableEnum8Attribute( - NullableEnum8AttributeCallback callback, int minInterval, int maxInterval) { + NullableEnum8AttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableEnum8Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableEnum16Attribute(NullableEnum16AttributeCallback callback) { + public void readNullableEnum16Attribute( + NullableEnum16AttributeCallback callback + ) { readNullableEnum16Attribute(chipClusterPtr, callback); } - public void writeNullableEnum16Attribute(DefaultClusterCallback callback, Integer value) { writeNullableEnum16Attribute(chipClusterPtr, callback, value, null); } - public void writeNullableEnum16Attribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableEnum16Attribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableEnum16Attribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableEnum16Attribute( - NullableEnum16AttributeCallback callback, int minInterval, int maxInterval) { + NullableEnum16AttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableEnum16Attribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableFloatSingleAttribute(NullableFloatSingleAttributeCallback callback) { + public void readNullableFloatSingleAttribute( + NullableFloatSingleAttributeCallback callback + ) { readNullableFloatSingleAttribute(chipClusterPtr, callback); } - public void writeNullableFloatSingleAttribute(DefaultClusterCallback callback, Float value) { writeNullableFloatSingleAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableFloatSingleAttribute( - DefaultClusterCallback callback, Float value, int timedWriteTimeoutMs) { + public void writeNullableFloatSingleAttribute(DefaultClusterCallback callback, Float value, int timedWriteTimeoutMs) { writeNullableFloatSingleAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableFloatSingleAttribute( - NullableFloatSingleAttributeCallback callback, int minInterval, int maxInterval) { + NullableFloatSingleAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableFloatSingleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableFloatDoubleAttribute(NullableFloatDoubleAttributeCallback callback) { + public void readNullableFloatDoubleAttribute( + NullableFloatDoubleAttributeCallback callback + ) { readNullableFloatDoubleAttribute(chipClusterPtr, callback); } - public void writeNullableFloatDoubleAttribute(DefaultClusterCallback callback, Double value) { writeNullableFloatDoubleAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableFloatDoubleAttribute( - DefaultClusterCallback callback, Double value, int timedWriteTimeoutMs) { + public void writeNullableFloatDoubleAttribute(DefaultClusterCallback callback, Double value, int timedWriteTimeoutMs) { writeNullableFloatDoubleAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableFloatDoubleAttribute( - NullableFloatDoubleAttributeCallback callback, int minInterval, int maxInterval) { + NullableFloatDoubleAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableFloatDoubleAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableOctetStringAttribute(NullableOctetStringAttributeCallback callback) { + public void readNullableOctetStringAttribute( + NullableOctetStringAttributeCallback callback + ) { readNullableOctetStringAttribute(chipClusterPtr, callback); } - public void writeNullableOctetStringAttribute(DefaultClusterCallback callback, byte[] value) { writeNullableOctetStringAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableOctetStringAttribute( - DefaultClusterCallback callback, byte[] value, int timedWriteTimeoutMs) { + public void writeNullableOctetStringAttribute(DefaultClusterCallback callback, byte[] value, int timedWriteTimeoutMs) { writeNullableOctetStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableOctetStringAttribute( - NullableOctetStringAttributeCallback callback, int minInterval, int maxInterval) { + NullableOctetStringAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableOctetStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableCharStringAttribute(NullableCharStringAttributeCallback callback) { + public void readNullableCharStringAttribute( + NullableCharStringAttributeCallback callback + ) { readNullableCharStringAttribute(chipClusterPtr, callback); } - public void writeNullableCharStringAttribute(DefaultClusterCallback callback, String value) { writeNullableCharStringAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableCharStringAttribute( - DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { + public void writeNullableCharStringAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) { writeNullableCharStringAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableCharStringAttribute( - NullableCharStringAttributeCallback callback, int minInterval, int maxInterval) { + NullableCharStringAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableCharStringAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readNullableEnumAttrAttribute(NullableEnumAttrAttributeCallback callback) { + public void readNullableEnumAttrAttribute( + NullableEnumAttrAttributeCallback callback + ) { readNullableEnumAttrAttribute(chipClusterPtr, callback); } - public void writeNullableEnumAttrAttribute(DefaultClusterCallback callback, Integer value) { writeNullableEnumAttrAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableEnumAttrAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeNullableEnumAttrAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeNullableEnumAttrAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableEnumAttrAttribute( - NullableEnumAttrAttributeCallback callback, int minInterval, int maxInterval) { + NullableEnumAttrAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeNullableEnumAttrAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readNullableRangeRestrictedInt8uAttribute( - NullableRangeRestrictedInt8uAttributeCallback callback) { + NullableRangeRestrictedInt8uAttributeCallback callback + ) { readNullableRangeRestrictedInt8uAttribute(chipClusterPtr, callback); } - - public void writeNullableRangeRestrictedInt8uAttribute( - DefaultClusterCallback callback, Integer value) { + public void writeNullableRangeRestrictedInt8uAttribute(DefaultClusterCallback callback, Integer value) { writeNullableRangeRestrictedInt8uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableRangeRestrictedInt8uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeNullableRangeRestrictedInt8uAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeNullableRangeRestrictedInt8uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeNullableRangeRestrictedInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableRangeRestrictedInt8uAttribute( - NullableRangeRestrictedInt8uAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNullableRangeRestrictedInt8uAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + NullableRangeRestrictedInt8uAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNullableRangeRestrictedInt8uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readNullableRangeRestrictedInt8sAttribute( - NullableRangeRestrictedInt8sAttributeCallback callback) { + NullableRangeRestrictedInt8sAttributeCallback callback + ) { readNullableRangeRestrictedInt8sAttribute(chipClusterPtr, callback); } - - public void writeNullableRangeRestrictedInt8sAttribute( - DefaultClusterCallback callback, Integer value) { + public void writeNullableRangeRestrictedInt8sAttribute(DefaultClusterCallback callback, Integer value) { writeNullableRangeRestrictedInt8sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableRangeRestrictedInt8sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeNullableRangeRestrictedInt8sAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeNullableRangeRestrictedInt8sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeNullableRangeRestrictedInt8sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableRangeRestrictedInt8sAttribute( - NullableRangeRestrictedInt8sAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNullableRangeRestrictedInt8sAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + NullableRangeRestrictedInt8sAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNullableRangeRestrictedInt8sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readNullableRangeRestrictedInt16uAttribute( - NullableRangeRestrictedInt16uAttributeCallback callback) { + NullableRangeRestrictedInt16uAttributeCallback callback + ) { readNullableRangeRestrictedInt16uAttribute(chipClusterPtr, callback); } - - public void writeNullableRangeRestrictedInt16uAttribute( - DefaultClusterCallback callback, Integer value) { + public void writeNullableRangeRestrictedInt16uAttribute(DefaultClusterCallback callback, Integer value) { writeNullableRangeRestrictedInt16uAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableRangeRestrictedInt16uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeNullableRangeRestrictedInt16uAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeNullableRangeRestrictedInt16uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeNullableRangeRestrictedInt16uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableRangeRestrictedInt16uAttribute( - NullableRangeRestrictedInt16uAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNullableRangeRestrictedInt16uAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + NullableRangeRestrictedInt16uAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNullableRangeRestrictedInt16uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } public void readNullableRangeRestrictedInt16sAttribute( - NullableRangeRestrictedInt16sAttributeCallback callback) { + NullableRangeRestrictedInt16sAttributeCallback callback + ) { readNullableRangeRestrictedInt16sAttribute(chipClusterPtr, callback); } - - public void writeNullableRangeRestrictedInt16sAttribute( - DefaultClusterCallback callback, Integer value) { + public void writeNullableRangeRestrictedInt16sAttribute(DefaultClusterCallback callback, Integer value) { writeNullableRangeRestrictedInt16sAttribute(chipClusterPtr, callback, value, null); } - public void writeNullableRangeRestrictedInt16sAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { - writeNullableRangeRestrictedInt16sAttribute( - chipClusterPtr, callback, value, timedWriteTimeoutMs); + public void writeNullableRangeRestrictedInt16sAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + writeNullableRangeRestrictedInt16sAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeNullableRangeRestrictedInt16sAttribute( - NullableRangeRestrictedInt16sAttributeCallback callback, int minInterval, int maxInterval) { - subscribeNullableRangeRestrictedInt16sAttribute( - chipClusterPtr, callback, minInterval, maxInterval); + NullableRangeRestrictedInt16sAttributeCallback callback + , + int minInterval, int maxInterval) { + subscribeNullableRangeRestrictedInt16sAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readWriteOnlyInt8uAttribute(IntegerAttributeCallback callback) { + public void readWriteOnlyInt8uAttribute( + IntegerAttributeCallback callback + ) { readWriteOnlyInt8uAttribute(chipClusterPtr, callback); } - public void writeWriteOnlyInt8uAttribute(DefaultClusterCallback callback, Integer value) { writeWriteOnlyInt8uAttribute(chipClusterPtr, callback, value, null); } - public void writeWriteOnlyInt8uAttribute( - DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { + public void writeWriteOnlyInt8uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) { writeWriteOnlyInt8uAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs); } - public void subscribeWriteOnlyInt8uAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeWriteOnlyInt8uAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeBooleanAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBitmap8Attribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeBitmap8Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBitmap8Attribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBitmap16Attribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeBitmap16Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBitmap16Attribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBitmap32Attribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeBitmap32Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBitmap32Attribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readBitmap64Attribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeBitmap64Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeBitmap64Attribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt8uAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeInt8uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt8uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt16uAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeInt16uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt16uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt24uAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt24uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt24uAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt32uAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt32uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt32uAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt40uAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt40uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt40uAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt48uAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt48uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt48uAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt56uAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt56uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt56uAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt64uAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt64uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt64uAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt8sAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeInt8sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt8sAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt16sAttribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeInt16sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt16sAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt24sAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt24sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt24sAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt32sAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt32sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt32sAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt40sAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt40sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt40sAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt48sAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt48sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt48sAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt56sAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt56sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt56sAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readInt64sAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeInt64sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeInt64sAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEnum8Attribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeEnum8Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEnum8Attribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEnum16Attribute(long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeEnum16Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEnum16Attribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readFloatSingleAttribute( - long chipClusterPtr, FloatAttributeCallback callback); - - private native void writeFloatSingleAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Float value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeFloatSingleAttribute( - long chipClusterPtr, FloatAttributeCallback callback, int minInterval, int maxInterval); - - private native void readFloatDoubleAttribute( - long chipClusterPtr, DoubleAttributeCallback callback); - - private native void writeFloatDoubleAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Double value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeFloatDoubleAttribute( - long chipClusterPtr, DoubleAttributeCallback callback, int minInterval, int maxInterval); - - private native void readOctetStringAttribute( - long chipClusterPtr, OctetStringAttributeCallback callback); - - private native void writeOctetStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - byte[] value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeOctetStringAttribute( - long chipClusterPtr, - OctetStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readListInt8uAttribute( - long chipClusterPtr, ListInt8uAttributeCallback callback); - - private native void writeListInt8uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeListInt8uAttribute( - long chipClusterPtr, ListInt8uAttributeCallback callback, int minInterval, int maxInterval); - - private native void readListOctetStringAttribute( - long chipClusterPtr, ListOctetStringAttributeCallback callback); - - private native void writeListOctetStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeListOctetStringAttribute( - long chipClusterPtr, - ListOctetStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readListStructOctetStringAttribute( - long chipClusterPtr, ListStructOctetStringAttributeCallback callback); - - private native void writeListStructOctetStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeListStructOctetStringAttribute( - long chipClusterPtr, - ListStructOctetStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLongOctetStringAttribute( - long chipClusterPtr, OctetStringAttributeCallback callback); - - private native void writeLongOctetStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - byte[] value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLongOctetStringAttribute( - long chipClusterPtr, - OctetStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readCharStringAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeCharStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeCharStringAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readLongCharStringAttribute( - long chipClusterPtr, CharStringAttributeCallback callback); - - private native void writeLongCharStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeLongCharStringAttribute( - long chipClusterPtr, - CharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEpochUsAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeEpochUsAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEpochUsAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readEpochSAttribute(long chipClusterPtr, LongAttributeCallback callback); - - private native void writeEpochSAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEpochSAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readVendorIdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeVendorIdAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeVendorIdAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readListNullablesAndOptionalsStructAttribute( - long chipClusterPtr, ListNullablesAndOptionalsStructAttributeCallback callback); - - private native void writeListNullablesAndOptionalsStructAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeListNullablesAndOptionalsStructAttribute( - long chipClusterPtr, - ListNullablesAndOptionalsStructAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEnumAttrAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeEnumAttrAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeEnumAttrAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRangeRestrictedInt8uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRangeRestrictedInt8uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRangeRestrictedInt8uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRangeRestrictedInt8sAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRangeRestrictedInt8sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRangeRestrictedInt8sAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRangeRestrictedInt16uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRangeRestrictedInt16uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRangeRestrictedInt16uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readRangeRestrictedInt16sAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeRangeRestrictedInt16sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeRangeRestrictedInt16sAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readListLongOctetStringAttribute( - long chipClusterPtr, ListLongOctetStringAttributeCallback callback); - - private native void writeListLongOctetStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeListLongOctetStringAttribute( - long chipClusterPtr, - ListLongOctetStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readListFabricScopedAttribute( - long chipClusterPtr, ListFabricScopedAttributeCallback callback); - - private native void writeListFabricScopedAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - ArrayList value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeListFabricScopedAttribute( - long chipClusterPtr, - ListFabricScopedAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readTimedWriteBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeTimedWriteBooleanAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeTimedWriteBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneralErrorBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeGeneralErrorBooleanAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeGeneralErrorBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterErrorBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeClusterErrorBooleanAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeClusterErrorBooleanAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readUnsupportedAttribute( - long chipClusterPtr, BooleanAttributeCallback callback); - - private native void writeUnsupportedAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeUnsupportedAttribute( - long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval); - - private native void readNullableBooleanAttribute( - long chipClusterPtr, NullableBooleanAttributeCallback callback); - - private native void writeNullableBooleanAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Boolean value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableBooleanAttribute( - long chipClusterPtr, - NullableBooleanAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableBitmap8Attribute( - long chipClusterPtr, NullableBitmap8AttributeCallback callback); - - private native void writeNullableBitmap8Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableBitmap8Attribute( - long chipClusterPtr, - NullableBitmap8AttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableBitmap16Attribute( - long chipClusterPtr, NullableBitmap16AttributeCallback callback); - - private native void writeNullableBitmap16Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableBitmap16Attribute( - long chipClusterPtr, - NullableBitmap16AttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableBitmap32Attribute( - long chipClusterPtr, NullableBitmap32AttributeCallback callback); - - private native void writeNullableBitmap32Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableBitmap32Attribute( - long chipClusterPtr, - NullableBitmap32AttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableBitmap64Attribute( - long chipClusterPtr, NullableBitmap64AttributeCallback callback); - - private native void writeNullableBitmap64Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableBitmap64Attribute( - long chipClusterPtr, - NullableBitmap64AttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt8uAttribute( - long chipClusterPtr, NullableInt8uAttributeCallback callback); - - private native void writeNullableInt8uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt8uAttribute( - long chipClusterPtr, - NullableInt8uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt16uAttribute( - long chipClusterPtr, NullableInt16uAttributeCallback callback); - - private native void writeNullableInt16uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt16uAttribute( - long chipClusterPtr, - NullableInt16uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt24uAttribute( - long chipClusterPtr, NullableInt24uAttributeCallback callback); - - private native void writeNullableInt24uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt24uAttribute( - long chipClusterPtr, - NullableInt24uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt32uAttribute( - long chipClusterPtr, NullableInt32uAttributeCallback callback); - - private native void writeNullableInt32uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt32uAttribute( - long chipClusterPtr, - NullableInt32uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt40uAttribute( - long chipClusterPtr, NullableInt40uAttributeCallback callback); - - private native void writeNullableInt40uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt40uAttribute( - long chipClusterPtr, - NullableInt40uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt48uAttribute( - long chipClusterPtr, NullableInt48uAttributeCallback callback); - - private native void writeNullableInt48uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt48uAttribute( - long chipClusterPtr, - NullableInt48uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt56uAttribute( - long chipClusterPtr, NullableInt56uAttributeCallback callback); - - private native void writeNullableInt56uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt56uAttribute( - long chipClusterPtr, - NullableInt56uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt64uAttribute( - long chipClusterPtr, NullableInt64uAttributeCallback callback); - - private native void writeNullableInt64uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt64uAttribute( - long chipClusterPtr, - NullableInt64uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt8sAttribute( - long chipClusterPtr, NullableInt8sAttributeCallback callback); - - private native void writeNullableInt8sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt8sAttribute( - long chipClusterPtr, - NullableInt8sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt16sAttribute( - long chipClusterPtr, NullableInt16sAttributeCallback callback); - - private native void writeNullableInt16sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt16sAttribute( - long chipClusterPtr, - NullableInt16sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt24sAttribute( - long chipClusterPtr, NullableInt24sAttributeCallback callback); - - private native void writeNullableInt24sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt24sAttribute( - long chipClusterPtr, - NullableInt24sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt32sAttribute( - long chipClusterPtr, NullableInt32sAttributeCallback callback); - - private native void writeNullableInt32sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt32sAttribute( - long chipClusterPtr, - NullableInt32sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt40sAttribute( - long chipClusterPtr, NullableInt40sAttributeCallback callback); - - private native void writeNullableInt40sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt40sAttribute( - long chipClusterPtr, - NullableInt40sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt48sAttribute( - long chipClusterPtr, NullableInt48sAttributeCallback callback); - - private native void writeNullableInt48sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt48sAttribute( - long chipClusterPtr, - NullableInt48sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt56sAttribute( - long chipClusterPtr, NullableInt56sAttributeCallback callback); - - private native void writeNullableInt56sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt56sAttribute( - long chipClusterPtr, - NullableInt56sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableInt64sAttribute( - long chipClusterPtr, NullableInt64sAttributeCallback callback); - - private native void writeNullableInt64sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Long value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableInt64sAttribute( - long chipClusterPtr, - NullableInt64sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableEnum8Attribute( - long chipClusterPtr, NullableEnum8AttributeCallback callback); - - private native void writeNullableEnum8Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableEnum8Attribute( - long chipClusterPtr, - NullableEnum8AttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableEnum16Attribute( - long chipClusterPtr, NullableEnum16AttributeCallback callback); - - private native void writeNullableEnum16Attribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableEnum16Attribute( - long chipClusterPtr, - NullableEnum16AttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableFloatSingleAttribute( - long chipClusterPtr, NullableFloatSingleAttributeCallback callback); - - private native void writeNullableFloatSingleAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Float value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableFloatSingleAttribute( - long chipClusterPtr, - NullableFloatSingleAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableFloatDoubleAttribute( - long chipClusterPtr, NullableFloatDoubleAttributeCallback callback); - - private native void writeNullableFloatDoubleAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Double value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableFloatDoubleAttribute( - long chipClusterPtr, - NullableFloatDoubleAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableOctetStringAttribute( - long chipClusterPtr, NullableOctetStringAttributeCallback callback); - - private native void writeNullableOctetStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - byte[] value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableOctetStringAttribute( - long chipClusterPtr, - NullableOctetStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableCharStringAttribute( - long chipClusterPtr, NullableCharStringAttributeCallback callback); - - private native void writeNullableCharStringAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - String value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableCharStringAttribute( - long chipClusterPtr, - NullableCharStringAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableEnumAttrAttribute( - long chipClusterPtr, NullableEnumAttrAttributeCallback callback); - - private native void writeNullableEnumAttrAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableEnumAttrAttribute( - long chipClusterPtr, - NullableEnumAttrAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableRangeRestrictedInt8uAttribute( - long chipClusterPtr, NullableRangeRestrictedInt8uAttributeCallback callback); - - private native void writeNullableRangeRestrictedInt8uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableRangeRestrictedInt8uAttribute( - long chipClusterPtr, - NullableRangeRestrictedInt8uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableRangeRestrictedInt8sAttribute( - long chipClusterPtr, NullableRangeRestrictedInt8sAttributeCallback callback); - - private native void writeNullableRangeRestrictedInt8sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableRangeRestrictedInt8sAttribute( - long chipClusterPtr, - NullableRangeRestrictedInt8sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableRangeRestrictedInt16uAttribute( - long chipClusterPtr, NullableRangeRestrictedInt16uAttributeCallback callback); - - private native void writeNullableRangeRestrictedInt16uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableRangeRestrictedInt16uAttribute( - long chipClusterPtr, - NullableRangeRestrictedInt16uAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readNullableRangeRestrictedInt16sAttribute( - long chipClusterPtr, NullableRangeRestrictedInt16sAttributeCallback callback); - - private native void writeNullableRangeRestrictedInt16sAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeNullableRangeRestrictedInt16sAttribute( - long chipClusterPtr, - NullableRangeRestrictedInt16sAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readWriteOnlyInt8uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void writeWriteOnlyInt8uAttribute( - long chipClusterPtr, - DefaultClusterCallback callback, - Integer value, - @Nullable Integer timedWriteTimeoutMs); - - private native void subscribeWriteOnlyInt8uAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); - - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeBooleanAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBitmap8Attribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBitmap8Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBitmap8Attribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBitmap16Attribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeBitmap16Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBitmap16Attribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBitmap32Attribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeBitmap32Attribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBitmap32Attribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readBitmap64Attribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeBitmap64Attribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeBitmap64Attribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt8uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeInt8uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt8uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt16uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeInt16uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt16uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt24uAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt24uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt24uAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt32uAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt32uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt32uAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt40uAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt40uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt40uAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt48uAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt48uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt48uAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt56uAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt56uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt56uAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt64uAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt64uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt64uAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt8sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeInt8sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt8sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt16sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeInt16sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt16sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt24sAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt24sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt24sAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt32sAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt32sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt32sAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt40sAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt40sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt40sAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt48sAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt48sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt48sAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt56sAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt56sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt56sAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readInt64sAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeInt64sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeInt64sAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEnum8Attribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeEnum8Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEnum8Attribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEnum16Attribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeEnum16Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEnum16Attribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readFloatSingleAttribute(long chipClusterPtr, + FloatAttributeCallback callback + ); + + private native void writeFloatSingleAttribute(long chipClusterPtr, DefaultClusterCallback callback, Float value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeFloatSingleAttribute(long chipClusterPtr, + FloatAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readFloatDoubleAttribute(long chipClusterPtr, + DoubleAttributeCallback callback + ); + + private native void writeFloatDoubleAttribute(long chipClusterPtr, DefaultClusterCallback callback, Double value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeFloatDoubleAttribute(long chipClusterPtr, + DoubleAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readOctetStringAttribute(long chipClusterPtr, + OctetStringAttributeCallback callback + ); + + private native void writeOctetStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, byte[] value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeOctetStringAttribute(long chipClusterPtr, + OctetStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readListInt8uAttribute(long chipClusterPtr, + ListInt8uAttributeCallback callback + ); + + private native void writeListInt8uAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeListInt8uAttribute(long chipClusterPtr, + ListInt8uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readListOctetStringAttribute(long chipClusterPtr, + ListOctetStringAttributeCallback callback + ); + + private native void writeListOctetStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeListOctetStringAttribute(long chipClusterPtr, + ListOctetStringAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readListStructOctetStringAttribute(long chipClusterPtr, + ListStructOctetStringAttributeCallback callback + ); + + private native void writeListStructOctetStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeListStructOctetStringAttribute(long chipClusterPtr, + ListStructOctetStringAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readLongOctetStringAttribute(long chipClusterPtr, + OctetStringAttributeCallback callback + ); + + private native void writeLongOctetStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, byte[] value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLongOctetStringAttribute(long chipClusterPtr, + OctetStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readCharStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeCharStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeCharStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readLongCharStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback + ); + + private native void writeLongCharStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeLongCharStringAttribute(long chipClusterPtr, + CharStringAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEpochUsAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeEpochUsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEpochUsAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readEpochSAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + + private native void writeEpochSAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEpochSAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readVendorIdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeVendorIdAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeVendorIdAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readListNullablesAndOptionalsStructAttribute(long chipClusterPtr, + ListNullablesAndOptionalsStructAttributeCallback callback + ); + + private native void writeListNullablesAndOptionalsStructAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeListNullablesAndOptionalsStructAttribute(long chipClusterPtr, + ListNullablesAndOptionalsStructAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEnumAttrAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeEnumAttrAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeEnumAttrAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRangeRestrictedInt8uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRangeRestrictedInt8uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRangeRestrictedInt8uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRangeRestrictedInt8sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRangeRestrictedInt8sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRangeRestrictedInt8sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRangeRestrictedInt16uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRangeRestrictedInt16uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRangeRestrictedInt16uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readRangeRestrictedInt16sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeRangeRestrictedInt16sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeRangeRestrictedInt16sAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readListLongOctetStringAttribute(long chipClusterPtr, + ListLongOctetStringAttributeCallback callback + ); + + private native void writeListLongOctetStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeListLongOctetStringAttribute(long chipClusterPtr, + ListLongOctetStringAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readListFabricScopedAttribute(long chipClusterPtr, + ListFabricScopedAttributeCallback callback + ); + + private native void writeListFabricScopedAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeListFabricScopedAttribute(long chipClusterPtr, + ListFabricScopedAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readTimedWriteBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeTimedWriteBooleanAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeTimedWriteBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneralErrorBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeGeneralErrorBooleanAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeGeneralErrorBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterErrorBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeClusterErrorBooleanAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeClusterErrorBooleanAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readUnsupportedAttribute(long chipClusterPtr, + BooleanAttributeCallback callback + ); + + private native void writeUnsupportedAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeUnsupportedAttribute(long chipClusterPtr, + BooleanAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readNullableBooleanAttribute(long chipClusterPtr, + NullableBooleanAttributeCallback callback + ); + + private native void writeNullableBooleanAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableBooleanAttribute(long chipClusterPtr, + NullableBooleanAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableBitmap8Attribute(long chipClusterPtr, + NullableBitmap8AttributeCallback callback + ); + + private native void writeNullableBitmap8Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableBitmap8Attribute(long chipClusterPtr, + NullableBitmap8AttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableBitmap16Attribute(long chipClusterPtr, + NullableBitmap16AttributeCallback callback + ); + + private native void writeNullableBitmap16Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableBitmap16Attribute(long chipClusterPtr, + NullableBitmap16AttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableBitmap32Attribute(long chipClusterPtr, + NullableBitmap32AttributeCallback callback + ); + + private native void writeNullableBitmap32Attribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableBitmap32Attribute(long chipClusterPtr, + NullableBitmap32AttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableBitmap64Attribute(long chipClusterPtr, + NullableBitmap64AttributeCallback callback + ); + + private native void writeNullableBitmap64Attribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableBitmap64Attribute(long chipClusterPtr, + NullableBitmap64AttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt8uAttribute(long chipClusterPtr, + NullableInt8uAttributeCallback callback + ); + + private native void writeNullableInt8uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt8uAttribute(long chipClusterPtr, + NullableInt8uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt16uAttribute(long chipClusterPtr, + NullableInt16uAttributeCallback callback + ); + + private native void writeNullableInt16uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt16uAttribute(long chipClusterPtr, + NullableInt16uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt24uAttribute(long chipClusterPtr, + NullableInt24uAttributeCallback callback + ); + + private native void writeNullableInt24uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt24uAttribute(long chipClusterPtr, + NullableInt24uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt32uAttribute(long chipClusterPtr, + NullableInt32uAttributeCallback callback + ); + + private native void writeNullableInt32uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt32uAttribute(long chipClusterPtr, + NullableInt32uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt40uAttribute(long chipClusterPtr, + NullableInt40uAttributeCallback callback + ); + + private native void writeNullableInt40uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt40uAttribute(long chipClusterPtr, + NullableInt40uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt48uAttribute(long chipClusterPtr, + NullableInt48uAttributeCallback callback + ); + + private native void writeNullableInt48uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt48uAttribute(long chipClusterPtr, + NullableInt48uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt56uAttribute(long chipClusterPtr, + NullableInt56uAttributeCallback callback + ); + + private native void writeNullableInt56uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt56uAttribute(long chipClusterPtr, + NullableInt56uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt64uAttribute(long chipClusterPtr, + NullableInt64uAttributeCallback callback + ); + + private native void writeNullableInt64uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt64uAttribute(long chipClusterPtr, + NullableInt64uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt8sAttribute(long chipClusterPtr, + NullableInt8sAttributeCallback callback + ); + + private native void writeNullableInt8sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt8sAttribute(long chipClusterPtr, + NullableInt8sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt16sAttribute(long chipClusterPtr, + NullableInt16sAttributeCallback callback + ); + + private native void writeNullableInt16sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt16sAttribute(long chipClusterPtr, + NullableInt16sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt24sAttribute(long chipClusterPtr, + NullableInt24sAttributeCallback callback + ); + + private native void writeNullableInt24sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt24sAttribute(long chipClusterPtr, + NullableInt24sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt32sAttribute(long chipClusterPtr, + NullableInt32sAttributeCallback callback + ); + + private native void writeNullableInt32sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt32sAttribute(long chipClusterPtr, + NullableInt32sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt40sAttribute(long chipClusterPtr, + NullableInt40sAttributeCallback callback + ); + + private native void writeNullableInt40sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt40sAttribute(long chipClusterPtr, + NullableInt40sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt48sAttribute(long chipClusterPtr, + NullableInt48sAttributeCallback callback + ); + + private native void writeNullableInt48sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt48sAttribute(long chipClusterPtr, + NullableInt48sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt56sAttribute(long chipClusterPtr, + NullableInt56sAttributeCallback callback + ); + + private native void writeNullableInt56sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt56sAttribute(long chipClusterPtr, + NullableInt56sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableInt64sAttribute(long chipClusterPtr, + NullableInt64sAttributeCallback callback + ); + + private native void writeNullableInt64sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableInt64sAttribute(long chipClusterPtr, + NullableInt64sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableEnum8Attribute(long chipClusterPtr, + NullableEnum8AttributeCallback callback + ); + + private native void writeNullableEnum8Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableEnum8Attribute(long chipClusterPtr, + NullableEnum8AttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableEnum16Attribute(long chipClusterPtr, + NullableEnum16AttributeCallback callback + ); + + private native void writeNullableEnum16Attribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableEnum16Attribute(long chipClusterPtr, + NullableEnum16AttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableFloatSingleAttribute(long chipClusterPtr, + NullableFloatSingleAttributeCallback callback + ); + + private native void writeNullableFloatSingleAttribute(long chipClusterPtr, DefaultClusterCallback callback, Float value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableFloatSingleAttribute(long chipClusterPtr, + NullableFloatSingleAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableFloatDoubleAttribute(long chipClusterPtr, + NullableFloatDoubleAttributeCallback callback + ); + + private native void writeNullableFloatDoubleAttribute(long chipClusterPtr, DefaultClusterCallback callback, Double value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableFloatDoubleAttribute(long chipClusterPtr, + NullableFloatDoubleAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableOctetStringAttribute(long chipClusterPtr, + NullableOctetStringAttributeCallback callback + ); + + private native void writeNullableOctetStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, byte[] value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableOctetStringAttribute(long chipClusterPtr, + NullableOctetStringAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableCharStringAttribute(long chipClusterPtr, + NullableCharStringAttributeCallback callback + ); + + private native void writeNullableCharStringAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableCharStringAttribute(long chipClusterPtr, + NullableCharStringAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableEnumAttrAttribute(long chipClusterPtr, + NullableEnumAttrAttributeCallback callback + ); + + private native void writeNullableEnumAttrAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableEnumAttrAttribute(long chipClusterPtr, + NullableEnumAttrAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableRangeRestrictedInt8uAttribute(long chipClusterPtr, + NullableRangeRestrictedInt8uAttributeCallback callback + ); + + private native void writeNullableRangeRestrictedInt8uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableRangeRestrictedInt8uAttribute(long chipClusterPtr, + NullableRangeRestrictedInt8uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableRangeRestrictedInt8sAttribute(long chipClusterPtr, + NullableRangeRestrictedInt8sAttributeCallback callback + ); + + private native void writeNullableRangeRestrictedInt8sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableRangeRestrictedInt8sAttribute(long chipClusterPtr, + NullableRangeRestrictedInt8sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableRangeRestrictedInt16uAttribute(long chipClusterPtr, + NullableRangeRestrictedInt16uAttributeCallback callback + ); + + private native void writeNullableRangeRestrictedInt16uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableRangeRestrictedInt16uAttribute(long chipClusterPtr, + NullableRangeRestrictedInt16uAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readNullableRangeRestrictedInt16sAttribute(long chipClusterPtr, + NullableRangeRestrictedInt16sAttributeCallback callback + ); + + private native void writeNullableRangeRestrictedInt16sAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeNullableRangeRestrictedInt16sAttribute(long chipClusterPtr, + NullableRangeRestrictedInt16sAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readWriteOnlyInt8uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + + private native void writeWriteOnlyInt8uAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs); + private native void subscribeWriteOnlyInt8uAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } public static class FaultInjectionCluster extends BaseChipCluster { @@ -49035,135 +48703,140 @@ public FaultInjectionCluster(long devicePtr, int endpointId) { @Override public native long initWithDevice(long devicePtr, int endpointId); - public interface GeneratedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AcceptedCommandListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface EventListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } - - public interface AttributeListAttributeCallback { - void onSuccess(List valueList); - - void onError(Exception ex); - - default void onSubscriptionEstablished(long subscriptionId) {} - } + public interface GeneratedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AcceptedCommandListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface EventListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } + public interface AttributeListAttributeCallback { + void onSuccess( List valueList); + void onError(Exception ex); + default void onSubscriptionEstablished(long subscriptionId) {} + } - public void readGeneratedCommandListAttribute(GeneratedCommandListAttributeCallback callback) { + public void readGeneratedCommandListAttribute( + GeneratedCommandListAttributeCallback callback + ) { readGeneratedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeGeneratedCommandListAttribute( - GeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + GeneratedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAcceptedCommandListAttribute(AcceptedCommandListAttributeCallback callback) { + public void readAcceptedCommandListAttribute( + AcceptedCommandListAttributeCallback callback + ) { readAcceptedCommandListAttribute(chipClusterPtr, callback); } - public void subscribeAcceptedCommandListAttribute( - AcceptedCommandListAttributeCallback callback, int minInterval, int maxInterval) { + AcceptedCommandListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAcceptedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readEventListAttribute(EventListAttributeCallback callback) { + public void readEventListAttribute( + EventListAttributeCallback callback + ) { readEventListAttribute(chipClusterPtr, callback); } - public void subscribeEventListAttribute( - EventListAttributeCallback callback, int minInterval, int maxInterval) { + EventListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeEventListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readAttributeListAttribute(AttributeListAttributeCallback callback) { + public void readAttributeListAttribute( + AttributeListAttributeCallback callback + ) { readAttributeListAttribute(chipClusterPtr, callback); } - public void subscribeAttributeListAttribute( - AttributeListAttributeCallback callback, int minInterval, int maxInterval) { + AttributeListAttributeCallback callback + , + int minInterval, int maxInterval) { subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readFeatureMapAttribute(LongAttributeCallback callback) { + public void readFeatureMapAttribute( + LongAttributeCallback callback + ) { readFeatureMapAttribute(chipClusterPtr, callback); } - public void subscribeFeatureMapAttribute( - LongAttributeCallback callback, int minInterval, int maxInterval) { + LongAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeFeatureMapAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + public void readClusterRevisionAttribute( + IntegerAttributeCallback callback + ) { readClusterRevisionAttribute(chipClusterPtr, callback); } - public void subscribeClusterRevisionAttribute( - IntegerAttributeCallback callback, int minInterval, int maxInterval) { + IntegerAttributeCallback callback +, + int minInterval, int maxInterval) { subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval); } - private native void readGeneratedCommandListAttribute( - long chipClusterPtr, GeneratedCommandListAttributeCallback callback); - - private native void subscribeGeneratedCommandListAttribute( - long chipClusterPtr, - GeneratedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readAcceptedCommandListAttribute( - long chipClusterPtr, AcceptedCommandListAttributeCallback callback); - - private native void subscribeAcceptedCommandListAttribute( - long chipClusterPtr, - AcceptedCommandListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback); - - private native void subscribeEventListAttribute( - long chipClusterPtr, EventListAttributeCallback callback, int minInterval, int maxInterval); - - private native void readAttributeListAttribute( - long chipClusterPtr, AttributeListAttributeCallback callback); - - private native void subscribeAttributeListAttribute( - long chipClusterPtr, - AttributeListAttributeCallback callback, - int minInterval, - int maxInterval); - - private native void readFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback); - - private native void subscribeFeatureMapAttribute( - long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval); - - private native void readClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback); - - private native void subscribeClusterRevisionAttribute( - long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval); + private native void readGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + ); + private native void subscribeGeneratedCommandListAttribute(long chipClusterPtr, + GeneratedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + ); + private native void subscribeAcceptedCommandListAttribute(long chipClusterPtr, + AcceptedCommandListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + ); + private native void subscribeEventListAttribute(long chipClusterPtr, + EventListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + ); + private native void subscribeAttributeListAttribute(long chipClusterPtr, + AttributeListAttributeCallback callback + , int minInterval, int maxInterval); + + private native void readFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback + ); + private native void subscribeFeatureMapAttribute(long chipClusterPtr, + LongAttributeCallback callback +, int minInterval, int maxInterval); + + private native void readClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback + ); + private native void subscribeClusterRevisionAttribute(long chipClusterPtr, + IntegerAttributeCallback callback +, int minInterval, int maxInterval); } } + diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java index a255ca0ad569b8..5141fbb60aa041 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipEventStructs.java @@ -18,1667 +18,1825 @@ // THIS FILE IS GENERATED BY ZAP package chip.devicecontroller; +import javax.annotation.Nullable; import java.util.ArrayList; import java.util.Arrays; import java.util.Optional; -import javax.annotation.Nullable; public class ChipEventStructs { - public static class AccessControlClusterAccessControlEntryChangedEvent { - public @Nullable Long adminNodeID; - public @Nullable Integer adminPasscodeID; - public Integer changeType; - public @Nullable ChipStructs.AccessControlClusterAccessControlEntryStruct latestValue; - public Integer fabricIndex; - - public AccessControlClusterAccessControlEntryChangedEvent( - @Nullable Long adminNodeID, - @Nullable Integer adminPasscodeID, - Integer changeType, - @Nullable ChipStructs.AccessControlClusterAccessControlEntryStruct latestValue, - Integer fabricIndex) { - this.adminNodeID = adminNodeID; - this.adminPasscodeID = adminPasscodeID; - this.changeType = changeType; - this.latestValue = latestValue; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("AccessControlClusterAccessControlEntryChangedEvent {\n"); - output.append("\tadminNodeID: "); - output.append(adminNodeID); - output.append("\n"); - output.append("\tadminPasscodeID: "); - output.append(adminPasscodeID); - output.append("\n"); - output.append("\tchangeType: "); - output.append(changeType); - output.append("\n"); - output.append("\tlatestValue: "); - output.append(latestValue); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class AccessControlClusterAccessControlExtensionChangedEvent { - public @Nullable Long adminNodeID; - public @Nullable Integer adminPasscodeID; - public Integer changeType; - public @Nullable ChipStructs.AccessControlClusterAccessControlExtensionStruct latestValue; - public Integer fabricIndex; - - public AccessControlClusterAccessControlExtensionChangedEvent( - @Nullable Long adminNodeID, - @Nullable Integer adminPasscodeID, - Integer changeType, - @Nullable ChipStructs.AccessControlClusterAccessControlExtensionStruct latestValue, - Integer fabricIndex) { - this.adminNodeID = adminNodeID; - this.adminPasscodeID = adminPasscodeID; - this.changeType = changeType; - this.latestValue = latestValue; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("AccessControlClusterAccessControlExtensionChangedEvent {\n"); - output.append("\tadminNodeID: "); - output.append(adminNodeID); - output.append("\n"); - output.append("\tadminPasscodeID: "); - output.append(adminPasscodeID); - output.append("\n"); - output.append("\tchangeType: "); - output.append(changeType); - output.append("\n"); - output.append("\tlatestValue: "); - output.append(latestValue); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ActionsClusterStateChangedEvent { - public Integer actionID; - public Long invokeID; - public Integer newState; - - public ActionsClusterStateChangedEvent(Integer actionID, Long invokeID, Integer newState) { - this.actionID = actionID; - this.invokeID = invokeID; - this.newState = newState; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ActionsClusterStateChangedEvent {\n"); - output.append("\tactionID: "); - output.append(actionID); - output.append("\n"); - output.append("\tinvokeID: "); - output.append(invokeID); - output.append("\n"); - output.append("\tnewState: "); - output.append(newState); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ActionsClusterActionFailedEvent { - public Integer actionID; - public Long invokeID; - public Integer newState; - public Integer error; - - public ActionsClusterActionFailedEvent( - Integer actionID, Long invokeID, Integer newState, Integer error) { - this.actionID = actionID; - this.invokeID = invokeID; - this.newState = newState; - this.error = error; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ActionsClusterActionFailedEvent {\n"); - output.append("\tactionID: "); - output.append(actionID); - output.append("\n"); - output.append("\tinvokeID: "); - output.append(invokeID); - output.append("\n"); - output.append("\tnewState: "); - output.append(newState); - output.append("\n"); - output.append("\terror: "); - output.append(error); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BasicInformationClusterStartUpEvent { - public Long softwareVersion; - - public BasicInformationClusterStartUpEvent(Long softwareVersion) { - this.softwareVersion = softwareVersion; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BasicInformationClusterStartUpEvent {\n"); - output.append("\tsoftwareVersion: "); - output.append(softwareVersion); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BasicInformationClusterShutDownEvent { - - public BasicInformationClusterShutDownEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BasicInformationClusterShutDownEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BasicInformationClusterLeaveEvent { - public Integer fabricIndex; - - public BasicInformationClusterLeaveEvent(Integer fabricIndex) { - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BasicInformationClusterLeaveEvent {\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BasicInformationClusterReachableChangedEvent { - public Boolean reachableNewValue; - - public BasicInformationClusterReachableChangedEvent(Boolean reachableNewValue) { - this.reachableNewValue = reachableNewValue; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BasicInformationClusterReachableChangedEvent {\n"); - output.append("\treachableNewValue: "); - output.append(reachableNewValue); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OtaSoftwareUpdateRequestorClusterStateTransitionEvent { - public Integer previousState; - public Integer newState; - public Integer reason; - public @Nullable Long targetSoftwareVersion; - - public OtaSoftwareUpdateRequestorClusterStateTransitionEvent( - Integer previousState, - Integer newState, - Integer reason, - @Nullable Long targetSoftwareVersion) { - this.previousState = previousState; - this.newState = newState; - this.reason = reason; - this.targetSoftwareVersion = targetSoftwareVersion; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OtaSoftwareUpdateRequestorClusterStateTransitionEvent {\n"); - output.append("\tpreviousState: "); - output.append(previousState); - output.append("\n"); - output.append("\tnewState: "); - output.append(newState); - output.append("\n"); - output.append("\treason: "); - output.append(reason); - output.append("\n"); - output.append("\ttargetSoftwareVersion: "); - output.append(targetSoftwareVersion); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OtaSoftwareUpdateRequestorClusterVersionAppliedEvent { - public Long softwareVersion; - public Integer productID; - - public OtaSoftwareUpdateRequestorClusterVersionAppliedEvent( - Long softwareVersion, Integer productID) { - this.softwareVersion = softwareVersion; - this.productID = productID; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OtaSoftwareUpdateRequestorClusterVersionAppliedEvent {\n"); - output.append("\tsoftwareVersion: "); - output.append(softwareVersion); - output.append("\n"); - output.append("\tproductID: "); - output.append(productID); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OtaSoftwareUpdateRequestorClusterDownloadErrorEvent { - public Long softwareVersion; - public Long bytesDownloaded; - public @Nullable Integer progressPercent; - public @Nullable Long platformCode; - - public OtaSoftwareUpdateRequestorClusterDownloadErrorEvent( - Long softwareVersion, - Long bytesDownloaded, - @Nullable Integer progressPercent, - @Nullable Long platformCode) { - this.softwareVersion = softwareVersion; - this.bytesDownloaded = bytesDownloaded; - this.progressPercent = progressPercent; - this.platformCode = platformCode; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OtaSoftwareUpdateRequestorClusterDownloadErrorEvent {\n"); - output.append("\tsoftwareVersion: "); - output.append(softwareVersion); - output.append("\n"); - output.append("\tbytesDownloaded: "); - output.append(bytesDownloaded); - output.append("\n"); - output.append("\tprogressPercent: "); - output.append(progressPercent); - output.append("\n"); - output.append("\tplatformCode: "); - output.append(platformCode); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PowerSourceClusterWiredFaultChangeEvent { - public ArrayList current; - public ArrayList previous; - - public PowerSourceClusterWiredFaultChangeEvent( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PowerSourceClusterWiredFaultChangeEvent {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PowerSourceClusterBatFaultChangeEvent { - public ArrayList current; - public ArrayList previous; - - public PowerSourceClusterBatFaultChangeEvent( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PowerSourceClusterBatFaultChangeEvent {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PowerSourceClusterBatChargeFaultChangeEvent { - public ArrayList current; - public ArrayList previous; - - public PowerSourceClusterBatChargeFaultChangeEvent( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PowerSourceClusterBatChargeFaultChangeEvent {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GeneralDiagnosticsClusterHardwareFaultChangeEvent { - public ArrayList current; - public ArrayList previous; - - public GeneralDiagnosticsClusterHardwareFaultChangeEvent( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GeneralDiagnosticsClusterHardwareFaultChangeEvent {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GeneralDiagnosticsClusterRadioFaultChangeEvent { - public ArrayList current; - public ArrayList previous; - - public GeneralDiagnosticsClusterRadioFaultChangeEvent( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GeneralDiagnosticsClusterRadioFaultChangeEvent {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GeneralDiagnosticsClusterNetworkFaultChangeEvent { - public ArrayList current; - public ArrayList previous; - - public GeneralDiagnosticsClusterNetworkFaultChangeEvent( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GeneralDiagnosticsClusterNetworkFaultChangeEvent {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GeneralDiagnosticsClusterBootReasonEvent { - public Integer bootReason; - - public GeneralDiagnosticsClusterBootReasonEvent(Integer bootReason) { - this.bootReason = bootReason; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GeneralDiagnosticsClusterBootReasonEvent {\n"); - output.append("\tbootReason: "); - output.append(bootReason); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SoftwareDiagnosticsClusterSoftwareFaultEvent { - public Long id; - public Optional name; - public Optional faultRecording; - - public SoftwareDiagnosticsClusterSoftwareFaultEvent( - Long id, Optional name, Optional faultRecording) { - this.id = id; - this.name = name; - this.faultRecording = faultRecording; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SoftwareDiagnosticsClusterSoftwareFaultEvent {\n"); - output.append("\tid: "); - output.append(id); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\tfaultRecording: "); - output.append(faultRecording.isPresent() ? Arrays.toString(faultRecording.get()) : ""); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ThreadNetworkDiagnosticsClusterConnectionStatusEvent { - public Integer connectionStatus; - - public ThreadNetworkDiagnosticsClusterConnectionStatusEvent(Integer connectionStatus) { - this.connectionStatus = connectionStatus; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ThreadNetworkDiagnosticsClusterConnectionStatusEvent {\n"); - output.append("\tconnectionStatus: "); - output.append(connectionStatus); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent { - public ArrayList current; - public ArrayList previous; - - public ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class WiFiNetworkDiagnosticsClusterDisconnectionEvent { - public Integer reasonCode; - - public WiFiNetworkDiagnosticsClusterDisconnectionEvent(Integer reasonCode) { - this.reasonCode = reasonCode; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("WiFiNetworkDiagnosticsClusterDisconnectionEvent {\n"); - output.append("\treasonCode: "); - output.append(reasonCode); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class WiFiNetworkDiagnosticsClusterAssociationFailureEvent { - public Integer associationFailure; - public Integer status; - - public WiFiNetworkDiagnosticsClusterAssociationFailureEvent( - Integer associationFailure, Integer status) { - this.associationFailure = associationFailure; - this.status = status; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("WiFiNetworkDiagnosticsClusterAssociationFailureEvent {\n"); - output.append("\tassociationFailure: "); - output.append(associationFailure); - output.append("\n"); - output.append("\tstatus: "); - output.append(status); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class WiFiNetworkDiagnosticsClusterConnectionStatusEvent { - public Integer connectionStatus; - - public WiFiNetworkDiagnosticsClusterConnectionStatusEvent(Integer connectionStatus) { - this.connectionStatus = connectionStatus; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("WiFiNetworkDiagnosticsClusterConnectionStatusEvent {\n"); - output.append("\tconnectionStatus: "); - output.append(connectionStatus); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterDSTTableEmptyEvent { - - public TimeSynchronizationClusterDSTTableEmptyEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterDSTTableEmptyEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterDSTStatusEvent { - public Boolean DSTOffsetActive; - - public TimeSynchronizationClusterDSTStatusEvent(Boolean DSTOffsetActive) { - this.DSTOffsetActive = DSTOffsetActive; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterDSTStatusEvent {\n"); - output.append("\tDSTOffsetActive: "); - output.append(DSTOffsetActive); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterTimeZoneStatusEvent { - public Long offset; - public Optional name; - - public TimeSynchronizationClusterTimeZoneStatusEvent(Long offset, Optional name) { - this.offset = offset; - this.name = name; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterTimeZoneStatusEvent {\n"); - output.append("\toffset: "); - output.append(offset); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterTimeFailureEvent { - - public TimeSynchronizationClusterTimeFailureEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterTimeFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterMissingTrustedTimeSourceEvent { - - public TimeSynchronizationClusterMissingTrustedTimeSourceEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterMissingTrustedTimeSourceEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BridgedDeviceBasicInformationClusterStartUpEvent { - public Long softwareVersion; - - public BridgedDeviceBasicInformationClusterStartUpEvent(Long softwareVersion) { - this.softwareVersion = softwareVersion; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BridgedDeviceBasicInformationClusterStartUpEvent {\n"); - output.append("\tsoftwareVersion: "); - output.append(softwareVersion); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BridgedDeviceBasicInformationClusterShutDownEvent { - - public BridgedDeviceBasicInformationClusterShutDownEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BridgedDeviceBasicInformationClusterShutDownEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BridgedDeviceBasicInformationClusterLeaveEvent { - - public BridgedDeviceBasicInformationClusterLeaveEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BridgedDeviceBasicInformationClusterLeaveEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BridgedDeviceBasicInformationClusterReachableChangedEvent { - public Boolean reachableNewValue; - - public BridgedDeviceBasicInformationClusterReachableChangedEvent(Boolean reachableNewValue) { - this.reachableNewValue = reachableNewValue; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BridgedDeviceBasicInformationClusterReachableChangedEvent {\n"); - output.append("\treachableNewValue: "); - output.append(reachableNewValue); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SwitchClusterSwitchLatchedEvent { - public Integer newPosition; - - public SwitchClusterSwitchLatchedEvent(Integer newPosition) { - this.newPosition = newPosition; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SwitchClusterSwitchLatchedEvent {\n"); - output.append("\tnewPosition: "); - output.append(newPosition); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SwitchClusterInitialPressEvent { - public Integer newPosition; - - public SwitchClusterInitialPressEvent(Integer newPosition) { - this.newPosition = newPosition; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SwitchClusterInitialPressEvent {\n"); - output.append("\tnewPosition: "); - output.append(newPosition); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SwitchClusterLongPressEvent { - public Integer newPosition; - - public SwitchClusterLongPressEvent(Integer newPosition) { - this.newPosition = newPosition; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SwitchClusterLongPressEvent {\n"); - output.append("\tnewPosition: "); - output.append(newPosition); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SwitchClusterShortReleaseEvent { - public Integer previousPosition; - - public SwitchClusterShortReleaseEvent(Integer previousPosition) { - this.previousPosition = previousPosition; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SwitchClusterShortReleaseEvent {\n"); - output.append("\tpreviousPosition: "); - output.append(previousPosition); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SwitchClusterLongReleaseEvent { - public Integer previousPosition; - - public SwitchClusterLongReleaseEvent(Integer previousPosition) { - this.previousPosition = previousPosition; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SwitchClusterLongReleaseEvent {\n"); - output.append("\tpreviousPosition: "); - output.append(previousPosition); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SwitchClusterMultiPressOngoingEvent { - public Integer newPosition; - public Integer currentNumberOfPressesCounted; - - public SwitchClusterMultiPressOngoingEvent( - Integer newPosition, Integer currentNumberOfPressesCounted) { - this.newPosition = newPosition; - this.currentNumberOfPressesCounted = currentNumberOfPressesCounted; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SwitchClusterMultiPressOngoingEvent {\n"); - output.append("\tnewPosition: "); - output.append(newPosition); - output.append("\n"); - output.append("\tcurrentNumberOfPressesCounted: "); - output.append(currentNumberOfPressesCounted); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SwitchClusterMultiPressCompleteEvent { - public Integer previousPosition; - public Integer totalNumberOfPressesCounted; - - public SwitchClusterMultiPressCompleteEvent( - Integer previousPosition, Integer totalNumberOfPressesCounted) { - this.previousPosition = previousPosition; - this.totalNumberOfPressesCounted = totalNumberOfPressesCounted; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SwitchClusterMultiPressCompleteEvent {\n"); - output.append("\tpreviousPosition: "); - output.append(previousPosition); - output.append("\n"); - output.append("\ttotalNumberOfPressesCounted: "); - output.append(totalNumberOfPressesCounted); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BooleanStateClusterStateChangeEvent { - public Boolean stateValue; - - public BooleanStateClusterStateChangeEvent(Boolean stateValue) { - this.stateValue = stateValue; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BooleanStateClusterStateChangeEvent {\n"); - output.append("\tstateValue: "); - output.append(stateValue); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class RefrigeratorAlarmClusterNotifyEvent { - public Long active; - public Long inactive; - public Long state; - public Long mask; - - public RefrigeratorAlarmClusterNotifyEvent(Long active, Long inactive, Long state, Long mask) { - this.active = active; - this.inactive = inactive; - this.state = state; - this.mask = mask; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("RefrigeratorAlarmClusterNotifyEvent {\n"); - output.append("\tactive: "); - output.append(active); - output.append("\n"); - output.append("\tinactive: "); - output.append(inactive); - output.append("\n"); - output.append("\tstate: "); - output.append(state); - output.append("\n"); - output.append("\tmask: "); - output.append(mask); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SmokeCoAlarmClusterSmokeAlarmEvent { - - public SmokeCoAlarmClusterSmokeAlarmEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterSmokeAlarmEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SmokeCoAlarmClusterCOAlarmEvent { - - public SmokeCoAlarmClusterCOAlarmEvent() {} +public static class AccessControlClusterAccessControlEntryChangedEvent { +public @Nullable Long adminNodeID; +public @Nullable Integer adminPasscodeID; +public Integer changeType; +public @Nullable ChipStructs.AccessControlClusterAccessControlEntryStruct latestValue; +public Integer fabricIndex; + + public AccessControlClusterAccessControlEntryChangedEvent( + @Nullable Long adminNodeID + , @Nullable Integer adminPasscodeID + , Integer changeType + , @Nullable ChipStructs.AccessControlClusterAccessControlEntryStruct latestValue + , Integer fabricIndex + ) { + this.adminNodeID = adminNodeID; + this.adminPasscodeID = adminPasscodeID; + this.changeType = changeType; + this.latestValue = latestValue; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("AccessControlClusterAccessControlEntryChangedEvent {\n"); + output.append("\tadminNodeID: "); + output.append(adminNodeID); + output.append("\n"); + output.append("\tadminPasscodeID: "); + output.append(adminPasscodeID); + output.append("\n"); + output.append("\tchangeType: "); + output.append(changeType); + output.append("\n"); + output.append("\tlatestValue: "); + output.append(latestValue); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class AccessControlClusterAccessControlExtensionChangedEvent { +public @Nullable Long adminNodeID; +public @Nullable Integer adminPasscodeID; +public Integer changeType; +public @Nullable ChipStructs.AccessControlClusterAccessControlExtensionStruct latestValue; +public Integer fabricIndex; + + public AccessControlClusterAccessControlExtensionChangedEvent( + @Nullable Long adminNodeID + , @Nullable Integer adminPasscodeID + , Integer changeType + , @Nullable ChipStructs.AccessControlClusterAccessControlExtensionStruct latestValue + , Integer fabricIndex + ) { + this.adminNodeID = adminNodeID; + this.adminPasscodeID = adminPasscodeID; + this.changeType = changeType; + this.latestValue = latestValue; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("AccessControlClusterAccessControlExtensionChangedEvent {\n"); + output.append("\tadminNodeID: "); + output.append(adminNodeID); + output.append("\n"); + output.append("\tadminPasscodeID: "); + output.append(adminPasscodeID); + output.append("\n"); + output.append("\tchangeType: "); + output.append(changeType); + output.append("\n"); + output.append("\tlatestValue: "); + output.append(latestValue); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ActionsClusterStateChangedEvent { +public Integer actionID; +public Long invokeID; +public Integer newState; + + public ActionsClusterStateChangedEvent( + Integer actionID + , Long invokeID + , Integer newState + ) { + this.actionID = actionID; + this.invokeID = invokeID; + this.newState = newState; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ActionsClusterStateChangedEvent {\n"); + output.append("\tactionID: "); + output.append(actionID); + output.append("\n"); + output.append("\tinvokeID: "); + output.append(invokeID); + output.append("\n"); + output.append("\tnewState: "); + output.append(newState); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ActionsClusterActionFailedEvent { +public Integer actionID; +public Long invokeID; +public Integer newState; +public Integer error; + + public ActionsClusterActionFailedEvent( + Integer actionID + , Long invokeID + , Integer newState + , Integer error + ) { + this.actionID = actionID; + this.invokeID = invokeID; + this.newState = newState; + this.error = error; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ActionsClusterActionFailedEvent {\n"); + output.append("\tactionID: "); + output.append(actionID); + output.append("\n"); + output.append("\tinvokeID: "); + output.append(invokeID); + output.append("\n"); + output.append("\tnewState: "); + output.append(newState); + output.append("\n"); + output.append("\terror: "); + output.append(error); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BasicInformationClusterStartUpEvent { +public Long softwareVersion; + + public BasicInformationClusterStartUpEvent( + Long softwareVersion + ) { + this.softwareVersion = softwareVersion; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BasicInformationClusterStartUpEvent {\n"); + output.append("\tsoftwareVersion: "); + output.append(softwareVersion); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BasicInformationClusterShutDownEvent { + + public BasicInformationClusterShutDownEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BasicInformationClusterShutDownEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BasicInformationClusterLeaveEvent { +public Integer fabricIndex; + + public BasicInformationClusterLeaveEvent( + Integer fabricIndex + ) { + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BasicInformationClusterLeaveEvent {\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BasicInformationClusterReachableChangedEvent { +public Boolean reachableNewValue; + + public BasicInformationClusterReachableChangedEvent( + Boolean reachableNewValue + ) { + this.reachableNewValue = reachableNewValue; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BasicInformationClusterReachableChangedEvent {\n"); + output.append("\treachableNewValue: "); + output.append(reachableNewValue); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OtaSoftwareUpdateRequestorClusterStateTransitionEvent { +public Integer previousState; +public Integer newState; +public Integer reason; +public @Nullable Long targetSoftwareVersion; + + public OtaSoftwareUpdateRequestorClusterStateTransitionEvent( + Integer previousState + , Integer newState + , Integer reason + , @Nullable Long targetSoftwareVersion + ) { + this.previousState = previousState; + this.newState = newState; + this.reason = reason; + this.targetSoftwareVersion = targetSoftwareVersion; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OtaSoftwareUpdateRequestorClusterStateTransitionEvent {\n"); + output.append("\tpreviousState: "); + output.append(previousState); + output.append("\n"); + output.append("\tnewState: "); + output.append(newState); + output.append("\n"); + output.append("\treason: "); + output.append(reason); + output.append("\n"); + output.append("\ttargetSoftwareVersion: "); + output.append(targetSoftwareVersion); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OtaSoftwareUpdateRequestorClusterVersionAppliedEvent { +public Long softwareVersion; +public Integer productID; + + public OtaSoftwareUpdateRequestorClusterVersionAppliedEvent( + Long softwareVersion + , Integer productID + ) { + this.softwareVersion = softwareVersion; + this.productID = productID; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OtaSoftwareUpdateRequestorClusterVersionAppliedEvent {\n"); + output.append("\tsoftwareVersion: "); + output.append(softwareVersion); + output.append("\n"); + output.append("\tproductID: "); + output.append(productID); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OtaSoftwareUpdateRequestorClusterDownloadErrorEvent { +public Long softwareVersion; +public Long bytesDownloaded; +public @Nullable Integer progressPercent; +public @Nullable Long platformCode; + + public OtaSoftwareUpdateRequestorClusterDownloadErrorEvent( + Long softwareVersion + , Long bytesDownloaded + , @Nullable Integer progressPercent + , @Nullable Long platformCode + ) { + this.softwareVersion = softwareVersion; + this.bytesDownloaded = bytesDownloaded; + this.progressPercent = progressPercent; + this.platformCode = platformCode; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OtaSoftwareUpdateRequestorClusterDownloadErrorEvent {\n"); + output.append("\tsoftwareVersion: "); + output.append(softwareVersion); + output.append("\n"); + output.append("\tbytesDownloaded: "); + output.append(bytesDownloaded); + output.append("\n"); + output.append("\tprogressPercent: "); + output.append(progressPercent); + output.append("\n"); + output.append("\tplatformCode: "); + output.append(platformCode); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PowerSourceClusterWiredFaultChangeEvent { +public ArrayList current; +public ArrayList previous; + + public PowerSourceClusterWiredFaultChangeEvent( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PowerSourceClusterWiredFaultChangeEvent {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PowerSourceClusterBatFaultChangeEvent { +public ArrayList current; +public ArrayList previous; + + public PowerSourceClusterBatFaultChangeEvent( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PowerSourceClusterBatFaultChangeEvent {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PowerSourceClusterBatChargeFaultChangeEvent { +public ArrayList current; +public ArrayList previous; + + public PowerSourceClusterBatChargeFaultChangeEvent( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PowerSourceClusterBatChargeFaultChangeEvent {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GeneralDiagnosticsClusterHardwareFaultChangeEvent { +public ArrayList current; +public ArrayList previous; + + public GeneralDiagnosticsClusterHardwareFaultChangeEvent( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GeneralDiagnosticsClusterHardwareFaultChangeEvent {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GeneralDiagnosticsClusterRadioFaultChangeEvent { +public ArrayList current; +public ArrayList previous; + + public GeneralDiagnosticsClusterRadioFaultChangeEvent( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GeneralDiagnosticsClusterRadioFaultChangeEvent {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GeneralDiagnosticsClusterNetworkFaultChangeEvent { +public ArrayList current; +public ArrayList previous; + + public GeneralDiagnosticsClusterNetworkFaultChangeEvent( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GeneralDiagnosticsClusterNetworkFaultChangeEvent {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GeneralDiagnosticsClusterBootReasonEvent { +public Integer bootReason; + + public GeneralDiagnosticsClusterBootReasonEvent( + Integer bootReason + ) { + this.bootReason = bootReason; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GeneralDiagnosticsClusterBootReasonEvent {\n"); + output.append("\tbootReason: "); + output.append(bootReason); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SoftwareDiagnosticsClusterSoftwareFaultEvent { +public Long id; +public Optional name; +public Optional faultRecording; + + public SoftwareDiagnosticsClusterSoftwareFaultEvent( + Long id + , Optional name + , Optional faultRecording + ) { + this.id = id; + this.name = name; + this.faultRecording = faultRecording; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SoftwareDiagnosticsClusterSoftwareFaultEvent {\n"); + output.append("\tid: "); + output.append(id); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\tfaultRecording: "); + output.append(faultRecording.isPresent() ? Arrays.toString(faultRecording.get()) : ""); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ThreadNetworkDiagnosticsClusterConnectionStatusEvent { +public Integer connectionStatus; + + public ThreadNetworkDiagnosticsClusterConnectionStatusEvent( + Integer connectionStatus + ) { + this.connectionStatus = connectionStatus; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ThreadNetworkDiagnosticsClusterConnectionStatusEvent {\n"); + output.append("\tconnectionStatus: "); + output.append(connectionStatus); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent { +public ArrayList current; +public ArrayList previous; + + public ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class WiFiNetworkDiagnosticsClusterDisconnectionEvent { +public Integer reasonCode; + + public WiFiNetworkDiagnosticsClusterDisconnectionEvent( + Integer reasonCode + ) { + this.reasonCode = reasonCode; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("WiFiNetworkDiagnosticsClusterDisconnectionEvent {\n"); + output.append("\treasonCode: "); + output.append(reasonCode); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class WiFiNetworkDiagnosticsClusterAssociationFailureEvent { +public Integer associationFailure; +public Integer status; + + public WiFiNetworkDiagnosticsClusterAssociationFailureEvent( + Integer associationFailure + , Integer status + ) { + this.associationFailure = associationFailure; + this.status = status; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("WiFiNetworkDiagnosticsClusterAssociationFailureEvent {\n"); + output.append("\tassociationFailure: "); + output.append(associationFailure); + output.append("\n"); + output.append("\tstatus: "); + output.append(status); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class WiFiNetworkDiagnosticsClusterConnectionStatusEvent { +public Integer connectionStatus; + + public WiFiNetworkDiagnosticsClusterConnectionStatusEvent( + Integer connectionStatus + ) { + this.connectionStatus = connectionStatus; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("WiFiNetworkDiagnosticsClusterConnectionStatusEvent {\n"); + output.append("\tconnectionStatus: "); + output.append(connectionStatus); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterDSTTableEmptyEvent { + + public TimeSynchronizationClusterDSTTableEmptyEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterDSTTableEmptyEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterDSTStatusEvent { +public Boolean DSTOffsetActive; + + public TimeSynchronizationClusterDSTStatusEvent( + Boolean DSTOffsetActive + ) { + this.DSTOffsetActive = DSTOffsetActive; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterDSTStatusEvent {\n"); + output.append("\tDSTOffsetActive: "); + output.append(DSTOffsetActive); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterTimeZoneStatusEvent { +public Long offset; +public Optional name; + + public TimeSynchronizationClusterTimeZoneStatusEvent( + Long offset + , Optional name + ) { + this.offset = offset; + this.name = name; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterTimeZoneStatusEvent {\n"); + output.append("\toffset: "); + output.append(offset); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterTimeFailureEvent { + + public TimeSynchronizationClusterTimeFailureEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterTimeFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterMissingTrustedTimeSourceEvent { + + public TimeSynchronizationClusterMissingTrustedTimeSourceEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterMissingTrustedTimeSourceEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BridgedDeviceBasicInformationClusterStartUpEvent { +public Long softwareVersion; + + public BridgedDeviceBasicInformationClusterStartUpEvent( + Long softwareVersion + ) { + this.softwareVersion = softwareVersion; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BridgedDeviceBasicInformationClusterStartUpEvent {\n"); + output.append("\tsoftwareVersion: "); + output.append(softwareVersion); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BridgedDeviceBasicInformationClusterShutDownEvent { + + public BridgedDeviceBasicInformationClusterShutDownEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BridgedDeviceBasicInformationClusterShutDownEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BridgedDeviceBasicInformationClusterLeaveEvent { + + public BridgedDeviceBasicInformationClusterLeaveEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BridgedDeviceBasicInformationClusterLeaveEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BridgedDeviceBasicInformationClusterReachableChangedEvent { +public Boolean reachableNewValue; + + public BridgedDeviceBasicInformationClusterReachableChangedEvent( + Boolean reachableNewValue + ) { + this.reachableNewValue = reachableNewValue; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BridgedDeviceBasicInformationClusterReachableChangedEvent {\n"); + output.append("\treachableNewValue: "); + output.append(reachableNewValue); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SwitchClusterSwitchLatchedEvent { +public Integer newPosition; + + public SwitchClusterSwitchLatchedEvent( + Integer newPosition + ) { + this.newPosition = newPosition; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SwitchClusterSwitchLatchedEvent {\n"); + output.append("\tnewPosition: "); + output.append(newPosition); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SwitchClusterInitialPressEvent { +public Integer newPosition; + + public SwitchClusterInitialPressEvent( + Integer newPosition + ) { + this.newPosition = newPosition; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SwitchClusterInitialPressEvent {\n"); + output.append("\tnewPosition: "); + output.append(newPosition); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SwitchClusterLongPressEvent { +public Integer newPosition; + + public SwitchClusterLongPressEvent( + Integer newPosition + ) { + this.newPosition = newPosition; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SwitchClusterLongPressEvent {\n"); + output.append("\tnewPosition: "); + output.append(newPosition); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SwitchClusterShortReleaseEvent { +public Integer previousPosition; + + public SwitchClusterShortReleaseEvent( + Integer previousPosition + ) { + this.previousPosition = previousPosition; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SwitchClusterShortReleaseEvent {\n"); + output.append("\tpreviousPosition: "); + output.append(previousPosition); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SwitchClusterLongReleaseEvent { +public Integer previousPosition; + + public SwitchClusterLongReleaseEvent( + Integer previousPosition + ) { + this.previousPosition = previousPosition; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SwitchClusterLongReleaseEvent {\n"); + output.append("\tpreviousPosition: "); + output.append(previousPosition); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SwitchClusterMultiPressOngoingEvent { +public Integer newPosition; +public Integer currentNumberOfPressesCounted; + + public SwitchClusterMultiPressOngoingEvent( + Integer newPosition + , Integer currentNumberOfPressesCounted + ) { + this.newPosition = newPosition; + this.currentNumberOfPressesCounted = currentNumberOfPressesCounted; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SwitchClusterMultiPressOngoingEvent {\n"); + output.append("\tnewPosition: "); + output.append(newPosition); + output.append("\n"); + output.append("\tcurrentNumberOfPressesCounted: "); + output.append(currentNumberOfPressesCounted); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SwitchClusterMultiPressCompleteEvent { +public Integer previousPosition; +public Integer totalNumberOfPressesCounted; + + public SwitchClusterMultiPressCompleteEvent( + Integer previousPosition + , Integer totalNumberOfPressesCounted + ) { + this.previousPosition = previousPosition; + this.totalNumberOfPressesCounted = totalNumberOfPressesCounted; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SwitchClusterMultiPressCompleteEvent {\n"); + output.append("\tpreviousPosition: "); + output.append(previousPosition); + output.append("\n"); + output.append("\ttotalNumberOfPressesCounted: "); + output.append(totalNumberOfPressesCounted); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BooleanStateClusterStateChangeEvent { +public Boolean stateValue; + + public BooleanStateClusterStateChangeEvent( + Boolean stateValue + ) { + this.stateValue = stateValue; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BooleanStateClusterStateChangeEvent {\n"); + output.append("\tstateValue: "); + output.append(stateValue); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class RefrigeratorAlarmClusterNotifyEvent { +public Long active; +public Long inactive; +public Long state; +public Long mask; + + public RefrigeratorAlarmClusterNotifyEvent( + Long active + , Long inactive + , Long state + , Long mask + ) { + this.active = active; + this.inactive = inactive; + this.state = state; + this.mask = mask; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("RefrigeratorAlarmClusterNotifyEvent {\n"); + output.append("\tactive: "); + output.append(active); + output.append("\n"); + output.append("\tinactive: "); + output.append(inactive); + output.append("\n"); + output.append("\tstate: "); + output.append(state); + output.append("\n"); + output.append("\tmask: "); + output.append(mask); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterSmokeAlarmEvent { + + public SmokeCoAlarmClusterSmokeAlarmEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterSmokeAlarmEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterCOAlarmEvent { + + public SmokeCoAlarmClusterCOAlarmEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterCOAlarmEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterLowBatteryEvent { + + public SmokeCoAlarmClusterLowBatteryEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterLowBatteryEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterHardwareFaultEvent { + + public SmokeCoAlarmClusterHardwareFaultEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterHardwareFaultEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterEndOfServiceEvent { + + public SmokeCoAlarmClusterEndOfServiceEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterEndOfServiceEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterSelfTestCompleteEvent { + + public SmokeCoAlarmClusterSelfTestCompleteEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterSelfTestCompleteEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterAlarmMutedEvent { + + public SmokeCoAlarmClusterAlarmMutedEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterAlarmMutedEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterMuteEndedEvent { + + public SmokeCoAlarmClusterMuteEndedEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterMuteEndedEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterInterconnectSmokeAlarmEvent { + + public SmokeCoAlarmClusterInterconnectSmokeAlarmEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterInterconnectSmokeAlarmEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SmokeCoAlarmClusterInterconnectCOAlarmEvent { + + public SmokeCoAlarmClusterInterconnectCOAlarmEvent( +) { + } - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterCOAlarmEvent {\n"); - output.append("}\n"); - return output.toString(); - } + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterInterconnectCOAlarmEvent {\n"); + output.append("}\n"); + return output.toString(); } +} + +public static class SmokeCoAlarmClusterAllClearEvent { + + public SmokeCoAlarmClusterAllClearEvent( +) { + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SmokeCoAlarmClusterAllClearEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OperationalStateClusterOperationalErrorEvent { +public ChipStructs.OperationalStateClusterErrorStateStruct errorState; + + public OperationalStateClusterOperationalErrorEvent( + ChipStructs.OperationalStateClusterErrorStateStruct errorState + ) { + this.errorState = errorState; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OperationalStateClusterOperationalErrorEvent {\n"); + output.append("\terrorState: "); + output.append(errorState); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OperationalStateClusterOperationCompletionEvent { +public Integer completionErrorCode; +public @Nullable Optional totalOperationalTime; +public @Nullable Optional pausedTime; + + public OperationalStateClusterOperationCompletionEvent( + Integer completionErrorCode + , @Nullable Optional totalOperationalTime + , @Nullable Optional pausedTime + ) { + this.completionErrorCode = completionErrorCode; + this.totalOperationalTime = totalOperationalTime; + this.pausedTime = pausedTime; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OperationalStateClusterOperationCompletionEvent {\n"); + output.append("\tcompletionErrorCode: "); + output.append(completionErrorCode); + output.append("\n"); + output.append("\ttotalOperationalTime: "); + output.append(totalOperationalTime); + output.append("\n"); + output.append("\tpausedTime: "); + output.append(pausedTime); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class DoorLockClusterDoorLockAlarmEvent { +public Integer alarmCode; + + public DoorLockClusterDoorLockAlarmEvent( + Integer alarmCode + ) { + this.alarmCode = alarmCode; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("DoorLockClusterDoorLockAlarmEvent {\n"); + output.append("\talarmCode: "); + output.append(alarmCode); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class DoorLockClusterDoorStateChangeEvent { +public Integer doorState; + + public DoorLockClusterDoorStateChangeEvent( + Integer doorState + ) { + this.doorState = doorState; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("DoorLockClusterDoorStateChangeEvent {\n"); + output.append("\tdoorState: "); + output.append(doorState); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class DoorLockClusterLockOperationEvent { +public Integer lockOperationType; +public Integer operationSource; +public @Nullable Integer userIndex; +public @Nullable Integer fabricIndex; +public @Nullable Long sourceNode; +public @Nullable Optional> credentials; + + public DoorLockClusterLockOperationEvent( + Integer lockOperationType + , Integer operationSource + , @Nullable Integer userIndex + , @Nullable Integer fabricIndex + , @Nullable Long sourceNode + , @Nullable Optional> credentials + ) { + this.lockOperationType = lockOperationType; + this.operationSource = operationSource; + this.userIndex = userIndex; + this.fabricIndex = fabricIndex; + this.sourceNode = sourceNode; + this.credentials = credentials; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("DoorLockClusterLockOperationEvent {\n"); + output.append("\tlockOperationType: "); + output.append(lockOperationType); + output.append("\n"); + output.append("\toperationSource: "); + output.append(operationSource); + output.append("\n"); + output.append("\tuserIndex: "); + output.append(userIndex); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("\tsourceNode: "); + output.append(sourceNode); + output.append("\n"); + output.append("\tcredentials: "); + output.append(credentials); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class DoorLockClusterLockOperationErrorEvent { +public Integer lockOperationType; +public Integer operationSource; +public Integer operationError; +public @Nullable Integer userIndex; +public @Nullable Integer fabricIndex; +public @Nullable Long sourceNode; +public @Nullable Optional> credentials; + + public DoorLockClusterLockOperationErrorEvent( + Integer lockOperationType + , Integer operationSource + , Integer operationError + , @Nullable Integer userIndex + , @Nullable Integer fabricIndex + , @Nullable Long sourceNode + , @Nullable Optional> credentials + ) { + this.lockOperationType = lockOperationType; + this.operationSource = operationSource; + this.operationError = operationError; + this.userIndex = userIndex; + this.fabricIndex = fabricIndex; + this.sourceNode = sourceNode; + this.credentials = credentials; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("DoorLockClusterLockOperationErrorEvent {\n"); + output.append("\tlockOperationType: "); + output.append(lockOperationType); + output.append("\n"); + output.append("\toperationSource: "); + output.append(operationSource); + output.append("\n"); + output.append("\toperationError: "); + output.append(operationError); + output.append("\n"); + output.append("\tuserIndex: "); + output.append(userIndex); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("\tsourceNode: "); + output.append(sourceNode); + output.append("\n"); + output.append("\tcredentials: "); + output.append(credentials); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class DoorLockClusterLockUserChangeEvent { +public Integer lockDataType; +public Integer dataOperationType; +public Integer operationSource; +public @Nullable Integer userIndex; +public @Nullable Integer fabricIndex; +public @Nullable Long sourceNode; +public @Nullable Integer dataIndex; + + public DoorLockClusterLockUserChangeEvent( + Integer lockDataType + , Integer dataOperationType + , Integer operationSource + , @Nullable Integer userIndex + , @Nullable Integer fabricIndex + , @Nullable Long sourceNode + , @Nullable Integer dataIndex + ) { + this.lockDataType = lockDataType; + this.dataOperationType = dataOperationType; + this.operationSource = operationSource; + this.userIndex = userIndex; + this.fabricIndex = fabricIndex; + this.sourceNode = sourceNode; + this.dataIndex = dataIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("DoorLockClusterLockUserChangeEvent {\n"); + output.append("\tlockDataType: "); + output.append(lockDataType); + output.append("\n"); + output.append("\tdataOperationType: "); + output.append(dataOperationType); + output.append("\n"); + output.append("\toperationSource: "); + output.append(operationSource); + output.append("\n"); + output.append("\tuserIndex: "); + output.append(userIndex); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("\tsourceNode: "); + output.append(sourceNode); + output.append("\n"); + output.append("\tdataIndex: "); + output.append(dataIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} - public static class SmokeCoAlarmClusterLowBatteryEvent { - - public SmokeCoAlarmClusterLowBatteryEvent() {} +public static class PumpConfigurationAndControlClusterSupplyVoltageLowEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterLowBatteryEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterSupplyVoltageLowEvent( +) { } - public static class SmokeCoAlarmClusterHardwareFaultEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSupplyVoltageLowEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public SmokeCoAlarmClusterHardwareFaultEvent() {} +public static class PumpConfigurationAndControlClusterSupplyVoltageHighEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterHardwareFaultEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterSupplyVoltageHighEvent( +) { } - public static class SmokeCoAlarmClusterEndOfServiceEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSupplyVoltageHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public SmokeCoAlarmClusterEndOfServiceEvent() {} +public static class PumpConfigurationAndControlClusterPowerMissingPhaseEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterEndOfServiceEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterPowerMissingPhaseEvent( +) { } - public static class SmokeCoAlarmClusterSelfTestCompleteEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterPowerMissingPhaseEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public SmokeCoAlarmClusterSelfTestCompleteEvent() {} +public static class PumpConfigurationAndControlClusterSystemPressureLowEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterSelfTestCompleteEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterSystemPressureLowEvent( +) { } - public static class SmokeCoAlarmClusterAlarmMutedEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSystemPressureLowEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public SmokeCoAlarmClusterAlarmMutedEvent() {} +public static class PumpConfigurationAndControlClusterSystemPressureHighEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterAlarmMutedEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterSystemPressureHighEvent( +) { } - public static class SmokeCoAlarmClusterMuteEndedEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSystemPressureHighEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public SmokeCoAlarmClusterMuteEndedEvent() {} +public static class PumpConfigurationAndControlClusterDryRunningEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterMuteEndedEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterDryRunningEvent( +) { } - public static class SmokeCoAlarmClusterInterconnectSmokeAlarmEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterDryRunningEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PumpConfigurationAndControlClusterMotorTemperatureHighEvent { - public SmokeCoAlarmClusterInterconnectSmokeAlarmEvent() {} + public PumpConfigurationAndControlClusterMotorTemperatureHighEvent( +) { + } - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterInterconnectSmokeAlarmEvent {\n"); - output.append("}\n"); - return output.toString(); - } + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterMotorTemperatureHighEvent {\n"); + output.append("}\n"); + return output.toString(); } +} + +public static class PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent { - public static class SmokeCoAlarmClusterInterconnectCOAlarmEvent { + public PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent( +) { + } - public SmokeCoAlarmClusterInterconnectCOAlarmEvent() {} + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterInterconnectCOAlarmEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SmokeCoAlarmClusterAllClearEvent { - - public SmokeCoAlarmClusterAllClearEvent() {} +public static class PumpConfigurationAndControlClusterElectronicTemperatureHighEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SmokeCoAlarmClusterAllClearEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OperationalStateClusterOperationalErrorEvent { - public ChipStructs.OperationalStateClusterErrorStateStruct errorState; - - public OperationalStateClusterOperationalErrorEvent( - ChipStructs.OperationalStateClusterErrorStateStruct errorState) { - this.errorState = errorState; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OperationalStateClusterOperationalErrorEvent {\n"); - output.append("\terrorState: "); - output.append(errorState); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OperationalStateClusterOperationCompletionEvent { - public Integer completionErrorCode; - public @Nullable Optional totalOperationalTime; - public @Nullable Optional pausedTime; - - public OperationalStateClusterOperationCompletionEvent( - Integer completionErrorCode, - @Nullable Optional totalOperationalTime, - @Nullable Optional pausedTime) { - this.completionErrorCode = completionErrorCode; - this.totalOperationalTime = totalOperationalTime; - this.pausedTime = pausedTime; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OperationalStateClusterOperationCompletionEvent {\n"); - output.append("\tcompletionErrorCode: "); - output.append(completionErrorCode); - output.append("\n"); - output.append("\ttotalOperationalTime: "); - output.append(totalOperationalTime); - output.append("\n"); - output.append("\tpausedTime: "); - output.append(pausedTime); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class DoorLockClusterDoorLockAlarmEvent { - public Integer alarmCode; - - public DoorLockClusterDoorLockAlarmEvent(Integer alarmCode) { - this.alarmCode = alarmCode; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("DoorLockClusterDoorLockAlarmEvent {\n"); - output.append("\talarmCode: "); - output.append(alarmCode); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class DoorLockClusterDoorStateChangeEvent { - public Integer doorState; - - public DoorLockClusterDoorStateChangeEvent(Integer doorState) { - this.doorState = doorState; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("DoorLockClusterDoorStateChangeEvent {\n"); - output.append("\tdoorState: "); - output.append(doorState); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class DoorLockClusterLockOperationEvent { - public Integer lockOperationType; - public Integer operationSource; - public @Nullable Integer userIndex; - public @Nullable Integer fabricIndex; - public @Nullable Long sourceNode; - public @Nullable Optional> credentials; - - public DoorLockClusterLockOperationEvent( - Integer lockOperationType, - Integer operationSource, - @Nullable Integer userIndex, - @Nullable Integer fabricIndex, - @Nullable Long sourceNode, - @Nullable Optional> credentials) { - this.lockOperationType = lockOperationType; - this.operationSource = operationSource; - this.userIndex = userIndex; - this.fabricIndex = fabricIndex; - this.sourceNode = sourceNode; - this.credentials = credentials; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("DoorLockClusterLockOperationEvent {\n"); - output.append("\tlockOperationType: "); - output.append(lockOperationType); - output.append("\n"); - output.append("\toperationSource: "); - output.append(operationSource); - output.append("\n"); - output.append("\tuserIndex: "); - output.append(userIndex); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("\tsourceNode: "); - output.append(sourceNode); - output.append("\n"); - output.append("\tcredentials: "); - output.append(credentials); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class DoorLockClusterLockOperationErrorEvent { - public Integer lockOperationType; - public Integer operationSource; - public Integer operationError; - public @Nullable Integer userIndex; - public @Nullable Integer fabricIndex; - public @Nullable Long sourceNode; - public @Nullable Optional> credentials; - - public DoorLockClusterLockOperationErrorEvent( - Integer lockOperationType, - Integer operationSource, - Integer operationError, - @Nullable Integer userIndex, - @Nullable Integer fabricIndex, - @Nullable Long sourceNode, - @Nullable Optional> credentials) { - this.lockOperationType = lockOperationType; - this.operationSource = operationSource; - this.operationError = operationError; - this.userIndex = userIndex; - this.fabricIndex = fabricIndex; - this.sourceNode = sourceNode; - this.credentials = credentials; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("DoorLockClusterLockOperationErrorEvent {\n"); - output.append("\tlockOperationType: "); - output.append(lockOperationType); - output.append("\n"); - output.append("\toperationSource: "); - output.append(operationSource); - output.append("\n"); - output.append("\toperationError: "); - output.append(operationError); - output.append("\n"); - output.append("\tuserIndex: "); - output.append(userIndex); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("\tsourceNode: "); - output.append(sourceNode); - output.append("\n"); - output.append("\tcredentials: "); - output.append(credentials); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class DoorLockClusterLockUserChangeEvent { - public Integer lockDataType; - public Integer dataOperationType; - public Integer operationSource; - public @Nullable Integer userIndex; - public @Nullable Integer fabricIndex; - public @Nullable Long sourceNode; - public @Nullable Integer dataIndex; - - public DoorLockClusterLockUserChangeEvent( - Integer lockDataType, - Integer dataOperationType, - Integer operationSource, - @Nullable Integer userIndex, - @Nullable Integer fabricIndex, - @Nullable Long sourceNode, - @Nullable Integer dataIndex) { - this.lockDataType = lockDataType; - this.dataOperationType = dataOperationType; - this.operationSource = operationSource; - this.userIndex = userIndex; - this.fabricIndex = fabricIndex; - this.sourceNode = sourceNode; - this.dataIndex = dataIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("DoorLockClusterLockUserChangeEvent {\n"); - output.append("\tlockDataType: "); - output.append(lockDataType); - output.append("\n"); - output.append("\tdataOperationType: "); - output.append(dataOperationType); - output.append("\n"); - output.append("\toperationSource: "); - output.append(operationSource); - output.append("\n"); - output.append("\tuserIndex: "); - output.append(userIndex); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("\tsourceNode: "); - output.append(sourceNode); - output.append("\n"); - output.append("\tdataIndex: "); - output.append(dataIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterSupplyVoltageLowEvent { - - public PumpConfigurationAndControlClusterSupplyVoltageLowEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSupplyVoltageLowEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterSupplyVoltageHighEvent { - - public PumpConfigurationAndControlClusterSupplyVoltageHighEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSupplyVoltageHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterPowerMissingPhaseEvent { - - public PumpConfigurationAndControlClusterPowerMissingPhaseEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterPowerMissingPhaseEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterSystemPressureLowEvent { - - public PumpConfigurationAndControlClusterSystemPressureLowEvent() {} + public PumpConfigurationAndControlClusterElectronicTemperatureHighEvent( +) { + } - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSystemPressureLowEvent {\n"); - output.append("}\n"); - return output.toString(); - } + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicTemperatureHighEvent {\n"); + output.append("}\n"); + return output.toString(); } +} - public static class PumpConfigurationAndControlClusterSystemPressureHighEvent { - - public PumpConfigurationAndControlClusterSystemPressureHighEvent() {} +public static class PumpConfigurationAndControlClusterPumpBlockedEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSystemPressureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterPumpBlockedEvent( +) { } - public static class PumpConfigurationAndControlClusterDryRunningEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterPumpBlockedEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterDryRunningEvent() {} +public static class PumpConfigurationAndControlClusterSensorFailureEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterDryRunningEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterSensorFailureEvent( +) { } - public static class PumpConfigurationAndControlClusterMotorTemperatureHighEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterSensorFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterMotorTemperatureHighEvent() {} +public static class PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterMotorTemperatureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent( +) { } - public static class PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent() {} +public static class PumpConfigurationAndControlClusterElectronicFatalFailureEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterPumpMotorFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterElectronicFatalFailureEvent( +) { } - public static class PumpConfigurationAndControlClusterElectronicTemperatureHighEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterElectronicFatalFailureEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterElectronicTemperatureHighEvent() {} +public static class PumpConfigurationAndControlClusterGeneralFaultEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicTemperatureHighEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterGeneralFaultEvent( +) { } - public static class PumpConfigurationAndControlClusterPumpBlockedEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterGeneralFaultEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterPumpBlockedEvent() {} +public static class PumpConfigurationAndControlClusterLeakageEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterPumpBlockedEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterLeakageEvent( +) { } - public static class PumpConfigurationAndControlClusterSensorFailureEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterLeakageEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterSensorFailureEvent() {} +public static class PumpConfigurationAndControlClusterAirDetectionEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterSensorFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterAirDetectionEvent( +) { } - public static class PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterAirDetectionEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent() {} +public static class PumpConfigurationAndControlClusterTurbineOperationEvent { - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicNonFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } + public PumpConfigurationAndControlClusterTurbineOperationEvent( +) { } - public static class PumpConfigurationAndControlClusterElectronicFatalFailureEvent { + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PumpConfigurationAndControlClusterTurbineOperationEvent {\n"); + output.append("}\n"); + return output.toString(); + } +} - public PumpConfigurationAndControlClusterElectronicFatalFailureEvent() {} +public static class UnitTestingClusterTestEventEvent { +public Integer arg1; +public Integer arg2; +public Boolean arg3; +public ChipStructs.UnitTestingClusterSimpleStruct arg4; +public ArrayList arg5; +public ArrayList arg6; + + public UnitTestingClusterTestEventEvent( + Integer arg1 + , Integer arg2 + , Boolean arg3 + , ChipStructs.UnitTestingClusterSimpleStruct arg4 + , ArrayList arg5 + , ArrayList arg6 + ) { + this.arg1 = arg1; + this.arg2 = arg2; + this.arg3 = arg3; + this.arg4 = arg4; + this.arg5 = arg5; + this.arg6 = arg6; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterTestEventEvent {\n"); + output.append("\targ1: "); + output.append(arg1); + output.append("\n"); + output.append("\targ2: "); + output.append(arg2); + output.append("\n"); + output.append("\targ3: "); + output.append(arg3); + output.append("\n"); + output.append("\targ4: "); + output.append(arg4); + output.append("\n"); + output.append("\targ5: "); + output.append(arg5); + output.append("\n"); + output.append("\targ6: "); + output.append(arg6); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterElectronicFatalFailureEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterGeneralFaultEvent { +public static class UnitTestingClusterTestFabricScopedEventEvent { +public Integer fabricIndex; - public PumpConfigurationAndControlClusterGeneralFaultEvent() {} + public UnitTestingClusterTestFabricScopedEventEvent( + Integer fabricIndex + ) { + this.fabricIndex = fabricIndex; + } - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterGeneralFaultEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterLeakageEvent { - - public PumpConfigurationAndControlClusterLeakageEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterLeakageEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterAirDetectionEvent { - - public PumpConfigurationAndControlClusterAirDetectionEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterAirDetectionEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PumpConfigurationAndControlClusterTurbineOperationEvent { - - public PumpConfigurationAndControlClusterTurbineOperationEvent() {} - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PumpConfigurationAndControlClusterTurbineOperationEvent {\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterTestEventEvent { - public Integer arg1; - public Integer arg2; - public Boolean arg3; - public ChipStructs.UnitTestingClusterSimpleStruct arg4; - public ArrayList arg5; - public ArrayList arg6; - - public UnitTestingClusterTestEventEvent( - Integer arg1, - Integer arg2, - Boolean arg3, - ChipStructs.UnitTestingClusterSimpleStruct arg4, - ArrayList arg5, - ArrayList arg6) { - this.arg1 = arg1; - this.arg2 = arg2; - this.arg3 = arg3; - this.arg4 = arg4; - this.arg5 = arg5; - this.arg6 = arg6; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterTestEventEvent {\n"); - output.append("\targ1: "); - output.append(arg1); - output.append("\n"); - output.append("\targ2: "); - output.append(arg2); - output.append("\n"); - output.append("\targ3: "); - output.append(arg3); - output.append("\n"); - output.append("\targ4: "); - output.append(arg4); - output.append("\n"); - output.append("\targ5: "); - output.append(arg5); - output.append("\n"); - output.append("\targ6: "); - output.append(arg6); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterTestFabricScopedEventEvent { - public Integer fabricIndex; - - public UnitTestingClusterTestFabricScopedEventEvent(Integer fabricIndex) { - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterTestFabricScopedEventEvent {\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterTestFabricScopedEventEvent {\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); } } + +} \ No newline at end of file diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java index 7698da80bca76b..0a28a098b83aa9 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipIdLookup.java @@ -20,8 +20,8 @@ public final class ChipIdLookup { /** - * Translates cluster ID to a cluster name in upper camel case. If no matching ID is found, - * returns an empty string. + * Translates cluster ID to a cluster name in upper camel case. If no matching + * ID is found, returns an empty string. */ public static String clusterIdToName(long clusterId) { if (clusterId == 3L) { @@ -403,8 +403,8 @@ public static String clusterIdToName(long clusterId) { } /** - * Translates cluster ID and attribute ID to an attribute name in upper camel case. If no matching - * IDs are found, returns an empty string. + * Translates cluster ID and attribute ID to an attribute name in upper camel case. + * If no matching IDs are found, returns an empty string. */ public static String attributeIdToName(long clusterId, long attributeId) { if (clusterId == 3L) { @@ -6810,8 +6810,8 @@ public static String attributeIdToName(long clusterId, long attributeId) { } /** - * Translates cluster ID and event ID to an attribute name in upper camel case. If no matching IDs - * are found, returns an empty string. + * Translates cluster ID and event ID to an attribute name in upper camel case. + * If no matching IDs are found, returns an empty string. */ public static String eventIdToName(long clusterId, long eventId) { if (clusterId == 3L) { @@ -7429,3 +7429,4 @@ public static String eventIdToName(long clusterId, long eventId) { return ""; } } + diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java index 9f9b24fca943f8..2cc49cd990fbd2 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipStructs.java @@ -18,2428 +18,2575 @@ // THIS FILE IS GENERATED BY ZAP package chip.devicecontroller; +import javax.annotation.Nullable; import java.util.ArrayList; import java.util.Arrays; import java.util.Optional; -import javax.annotation.Nullable; public class ChipStructs { - public static class ScenesClusterAttributeValuePair { - public Optional attributeID; - public Long attributeValue; - - public ScenesClusterAttributeValuePair(Optional attributeID, Long attributeValue) { - this.attributeID = attributeID; - this.attributeValue = attributeValue; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ScenesClusterAttributeValuePair {\n"); - output.append("\tattributeID: "); - output.append(attributeID); - output.append("\n"); - output.append("\tattributeValue: "); - output.append(attributeValue); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ScenesClusterExtensionFieldSet { - public Long clusterID; - public ArrayList attributeValueList; - - public ScenesClusterExtensionFieldSet( - Long clusterID, ArrayList attributeValueList) { - this.clusterID = clusterID; - this.attributeValueList = attributeValueList; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ScenesClusterExtensionFieldSet {\n"); - output.append("\tclusterID: "); - output.append(clusterID); - output.append("\n"); - output.append("\tattributeValueList: "); - output.append(attributeValueList); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class DescriptorClusterDeviceTypeStruct { - public Long deviceType; - public Integer revision; - - public DescriptorClusterDeviceTypeStruct(Long deviceType, Integer revision) { - this.deviceType = deviceType; - this.revision = revision; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("DescriptorClusterDeviceTypeStruct {\n"); - output.append("\tdeviceType: "); - output.append(deviceType); - output.append("\n"); - output.append("\trevision: "); - output.append(revision); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BindingClusterTargetStruct { - public Optional node; - public Optional group; - public Optional endpoint; - public Optional cluster; - public Integer fabricIndex; - - public BindingClusterTargetStruct( - Optional node, - Optional group, - Optional endpoint, - Optional cluster, - Integer fabricIndex) { - this.node = node; - this.group = group; - this.endpoint = endpoint; - this.cluster = cluster; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BindingClusterTargetStruct {\n"); - output.append("\tnode: "); - output.append(node); - output.append("\n"); - output.append("\tgroup: "); - output.append(group); - output.append("\n"); - output.append("\tendpoint: "); - output.append(endpoint); - output.append("\n"); - output.append("\tcluster: "); - output.append(cluster); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class AccessControlClusterAccessControlTargetStruct { - public @Nullable Long cluster; - public @Nullable Integer endpoint; - public @Nullable Long deviceType; - - public AccessControlClusterAccessControlTargetStruct( - @Nullable Long cluster, @Nullable Integer endpoint, @Nullable Long deviceType) { - this.cluster = cluster; - this.endpoint = endpoint; - this.deviceType = deviceType; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("AccessControlClusterAccessControlTargetStruct {\n"); - output.append("\tcluster: "); - output.append(cluster); - output.append("\n"); - output.append("\tendpoint: "); - output.append(endpoint); - output.append("\n"); - output.append("\tdeviceType: "); - output.append(deviceType); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class AccessControlClusterAccessControlEntryStruct { - public Integer privilege; - public Integer authMode; - public @Nullable ArrayList subjects; - public @Nullable ArrayList targets; - public Integer fabricIndex; - - public AccessControlClusterAccessControlEntryStruct( - Integer privilege, - Integer authMode, - @Nullable ArrayList subjects, - @Nullable ArrayList targets, - Integer fabricIndex) { - this.privilege = privilege; - this.authMode = authMode; - this.subjects = subjects; - this.targets = targets; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("AccessControlClusterAccessControlEntryStruct {\n"); - output.append("\tprivilege: "); - output.append(privilege); - output.append("\n"); - output.append("\tauthMode: "); - output.append(authMode); - output.append("\n"); - output.append("\tsubjects: "); - output.append(subjects); - output.append("\n"); - output.append("\ttargets: "); - output.append(targets); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class AccessControlClusterAccessControlExtensionStruct { - public byte[] data; - public Integer fabricIndex; - - public AccessControlClusterAccessControlExtensionStruct(byte[] data, Integer fabricIndex) { - this.data = data; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("AccessControlClusterAccessControlExtensionStruct {\n"); - output.append("\tdata: "); - output.append(Arrays.toString(data)); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ActionsClusterActionStruct { - public Integer actionID; - public String name; - public Integer type; - public Integer endpointListID; - public Integer supportedCommands; - public Integer state; - - public ActionsClusterActionStruct( - Integer actionID, - String name, - Integer type, - Integer endpointListID, - Integer supportedCommands, - Integer state) { - this.actionID = actionID; - this.name = name; - this.type = type; - this.endpointListID = endpointListID; - this.supportedCommands = supportedCommands; - this.state = state; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ActionsClusterActionStruct {\n"); - output.append("\tactionID: "); - output.append(actionID); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\ttype: "); - output.append(type); - output.append("\n"); - output.append("\tendpointListID: "); - output.append(endpointListID); - output.append("\n"); - output.append("\tsupportedCommands: "); - output.append(supportedCommands); - output.append("\n"); - output.append("\tstate: "); - output.append(state); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ActionsClusterEndpointListStruct { - public Integer endpointListID; - public String name; - public Integer type; - public ArrayList endpoints; - - public ActionsClusterEndpointListStruct( - Integer endpointListID, String name, Integer type, ArrayList endpoints) { - this.endpointListID = endpointListID; - this.name = name; - this.type = type; - this.endpoints = endpoints; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ActionsClusterEndpointListStruct {\n"); - output.append("\tendpointListID: "); - output.append(endpointListID); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\ttype: "); - output.append(type); - output.append("\n"); - output.append("\tendpoints: "); - output.append(endpoints); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BasicInformationClusterCapabilityMinimaStruct { - public Integer caseSessionsPerFabric; - public Integer subscriptionsPerFabric; - - public BasicInformationClusterCapabilityMinimaStruct( - Integer caseSessionsPerFabric, Integer subscriptionsPerFabric) { - this.caseSessionsPerFabric = caseSessionsPerFabric; - this.subscriptionsPerFabric = subscriptionsPerFabric; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BasicInformationClusterCapabilityMinimaStruct {\n"); - output.append("\tcaseSessionsPerFabric: "); - output.append(caseSessionsPerFabric); - output.append("\n"); - output.append("\tsubscriptionsPerFabric: "); - output.append(subscriptionsPerFabric); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BasicInformationClusterProductAppearanceStruct { - public Integer finish; - public @Nullable Integer primaryColor; - - public BasicInformationClusterProductAppearanceStruct( - Integer finish, @Nullable Integer primaryColor) { - this.finish = finish; - this.primaryColor = primaryColor; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BasicInformationClusterProductAppearanceStruct {\n"); - output.append("\tfinish: "); - output.append(finish); - output.append("\n"); - output.append("\tprimaryColor: "); - output.append(primaryColor); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OtaSoftwareUpdateRequestorClusterProviderLocation { - public Long providerNodeID; - public Integer endpoint; - public Integer fabricIndex; - - public OtaSoftwareUpdateRequestorClusterProviderLocation( - Long providerNodeID, Integer endpoint, Integer fabricIndex) { - this.providerNodeID = providerNodeID; - this.endpoint = endpoint; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OtaSoftwareUpdateRequestorClusterProviderLocation {\n"); - output.append("\tproviderNodeID: "); - output.append(providerNodeID); - output.append("\n"); - output.append("\tendpoint: "); - output.append(endpoint); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PowerSourceClusterBatChargeFaultChangeType { - public ArrayList current; - public ArrayList previous; - - public PowerSourceClusterBatChargeFaultChangeType( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PowerSourceClusterBatChargeFaultChangeType {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PowerSourceClusterBatFaultChangeType { - public ArrayList current; - public ArrayList previous; - - public PowerSourceClusterBatFaultChangeType( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PowerSourceClusterBatFaultChangeType {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class PowerSourceClusterWiredFaultChangeType { - public ArrayList current; - public ArrayList previous; - - public PowerSourceClusterWiredFaultChangeType( - ArrayList current, ArrayList previous) { - this.current = current; - this.previous = previous; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("PowerSourceClusterWiredFaultChangeType {\n"); - output.append("\tcurrent: "); - output.append(current); - output.append("\n"); - output.append("\tprevious: "); - output.append(previous); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GeneralCommissioningClusterBasicCommissioningInfo { - public Integer failSafeExpiryLengthSeconds; - public Integer maxCumulativeFailsafeSeconds; - - public GeneralCommissioningClusterBasicCommissioningInfo( - Integer failSafeExpiryLengthSeconds, Integer maxCumulativeFailsafeSeconds) { - this.failSafeExpiryLengthSeconds = failSafeExpiryLengthSeconds; - this.maxCumulativeFailsafeSeconds = maxCumulativeFailsafeSeconds; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GeneralCommissioningClusterBasicCommissioningInfo {\n"); - output.append("\tfailSafeExpiryLengthSeconds: "); - output.append(failSafeExpiryLengthSeconds); - output.append("\n"); - output.append("\tmaxCumulativeFailsafeSeconds: "); - output.append(maxCumulativeFailsafeSeconds); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class NetworkCommissioningClusterNetworkInfo { - public byte[] networkID; - public Boolean connected; - - public NetworkCommissioningClusterNetworkInfo(byte[] networkID, Boolean connected) { - this.networkID = networkID; - this.connected = connected; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("NetworkCommissioningClusterNetworkInfo {\n"); - output.append("\tnetworkID: "); - output.append(Arrays.toString(networkID)); - output.append("\n"); - output.append("\tconnected: "); - output.append(connected); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class NetworkCommissioningClusterThreadInterfaceScanResult { - public Integer panId; - public Long extendedPanId; - public String networkName; - public Integer channel; - public Integer version; - public byte[] extendedAddress; - public Integer rssi; - public Integer lqi; - - public NetworkCommissioningClusterThreadInterfaceScanResult( - Integer panId, - Long extendedPanId, - String networkName, - Integer channel, - Integer version, - byte[] extendedAddress, - Integer rssi, - Integer lqi) { - this.panId = panId; - this.extendedPanId = extendedPanId; - this.networkName = networkName; - this.channel = channel; - this.version = version; - this.extendedAddress = extendedAddress; - this.rssi = rssi; - this.lqi = lqi; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("NetworkCommissioningClusterThreadInterfaceScanResult {\n"); - output.append("\tpanId: "); - output.append(panId); - output.append("\n"); - output.append("\textendedPanId: "); - output.append(extendedPanId); - output.append("\n"); - output.append("\tnetworkName: "); - output.append(networkName); - output.append("\n"); - output.append("\tchannel: "); - output.append(channel); - output.append("\n"); - output.append("\tversion: "); - output.append(version); - output.append("\n"); - output.append("\textendedAddress: "); - output.append(Arrays.toString(extendedAddress)); - output.append("\n"); - output.append("\trssi: "); - output.append(rssi); - output.append("\n"); - output.append("\tlqi: "); - output.append(lqi); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class NetworkCommissioningClusterWiFiInterfaceScanResult { - public Integer security; - public byte[] ssid; - public byte[] bssid; - public Integer channel; - public Integer wiFiBand; - public Integer rssi; - - public NetworkCommissioningClusterWiFiInterfaceScanResult( - Integer security, - byte[] ssid, - byte[] bssid, - Integer channel, - Integer wiFiBand, - Integer rssi) { - this.security = security; - this.ssid = ssid; - this.bssid = bssid; - this.channel = channel; - this.wiFiBand = wiFiBand; - this.rssi = rssi; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("NetworkCommissioningClusterWiFiInterfaceScanResult {\n"); - output.append("\tsecurity: "); - output.append(security); - output.append("\n"); - output.append("\tssid: "); - output.append(Arrays.toString(ssid)); - output.append("\n"); - output.append("\tbssid: "); - output.append(Arrays.toString(bssid)); - output.append("\n"); - output.append("\tchannel: "); - output.append(channel); - output.append("\n"); - output.append("\twiFiBand: "); - output.append(wiFiBand); - output.append("\n"); - output.append("\trssi: "); - output.append(rssi); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GeneralDiagnosticsClusterNetworkInterface { - public String name; - public Boolean isOperational; - public @Nullable Boolean offPremiseServicesReachableIPv4; - public @Nullable Boolean offPremiseServicesReachableIPv6; - public byte[] hardwareAddress; - public ArrayList IPv4Addresses; - public ArrayList IPv6Addresses; - public Integer type; - - public GeneralDiagnosticsClusterNetworkInterface( - String name, - Boolean isOperational, - @Nullable Boolean offPremiseServicesReachableIPv4, - @Nullable Boolean offPremiseServicesReachableIPv6, - byte[] hardwareAddress, - ArrayList IPv4Addresses, - ArrayList IPv6Addresses, - Integer type) { - this.name = name; - this.isOperational = isOperational; - this.offPremiseServicesReachableIPv4 = offPremiseServicesReachableIPv4; - this.offPremiseServicesReachableIPv6 = offPremiseServicesReachableIPv6; - this.hardwareAddress = hardwareAddress; - this.IPv4Addresses = IPv4Addresses; - this.IPv6Addresses = IPv6Addresses; - this.type = type; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GeneralDiagnosticsClusterNetworkInterface {\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\tisOperational: "); - output.append(isOperational); - output.append("\n"); - output.append("\toffPremiseServicesReachableIPv4: "); - output.append(offPremiseServicesReachableIPv4); - output.append("\n"); - output.append("\toffPremiseServicesReachableIPv6: "); - output.append(offPremiseServicesReachableIPv6); - output.append("\n"); - output.append("\thardwareAddress: "); - output.append(Arrays.toString(hardwareAddress)); - output.append("\n"); - output.append("\tIPv4Addresses: "); - output.append(IPv4Addresses); - output.append("\n"); - output.append("\tIPv6Addresses: "); - output.append(IPv6Addresses); - output.append("\n"); - output.append("\ttype: "); - output.append(type); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class SoftwareDiagnosticsClusterThreadMetricsStruct { - public Long id; - public Optional name; - public Optional stackFreeCurrent; - public Optional stackFreeMinimum; - public Optional stackSize; - - public SoftwareDiagnosticsClusterThreadMetricsStruct( - Long id, - Optional name, - Optional stackFreeCurrent, - Optional stackFreeMinimum, - Optional stackSize) { - this.id = id; - this.name = name; - this.stackFreeCurrent = stackFreeCurrent; - this.stackFreeMinimum = stackFreeMinimum; - this.stackSize = stackSize; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("SoftwareDiagnosticsClusterThreadMetricsStruct {\n"); - output.append("\tid: "); - output.append(id); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\tstackFreeCurrent: "); - output.append(stackFreeCurrent); - output.append("\n"); - output.append("\tstackFreeMinimum: "); - output.append(stackFreeMinimum); - output.append("\n"); - output.append("\tstackSize: "); - output.append(stackSize); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ThreadNetworkDiagnosticsClusterNeighborTableStruct { - public Long extAddress; - public Long age; - public Integer rloc16; - public Long linkFrameCounter; - public Long mleFrameCounter; - public Integer lqi; - public @Nullable Integer averageRssi; - public @Nullable Integer lastRssi; - public Integer frameErrorRate; - public Integer messageErrorRate; - public Boolean rxOnWhenIdle; - public Boolean fullThreadDevice; - public Boolean fullNetworkData; - public Boolean isChild; - - public ThreadNetworkDiagnosticsClusterNeighborTableStruct( - Long extAddress, - Long age, - Integer rloc16, - Long linkFrameCounter, - Long mleFrameCounter, - Integer lqi, - @Nullable Integer averageRssi, - @Nullable Integer lastRssi, - Integer frameErrorRate, - Integer messageErrorRate, - Boolean rxOnWhenIdle, - Boolean fullThreadDevice, - Boolean fullNetworkData, - Boolean isChild) { - this.extAddress = extAddress; - this.age = age; - this.rloc16 = rloc16; - this.linkFrameCounter = linkFrameCounter; - this.mleFrameCounter = mleFrameCounter; - this.lqi = lqi; - this.averageRssi = averageRssi; - this.lastRssi = lastRssi; - this.frameErrorRate = frameErrorRate; - this.messageErrorRate = messageErrorRate; - this.rxOnWhenIdle = rxOnWhenIdle; - this.fullThreadDevice = fullThreadDevice; - this.fullNetworkData = fullNetworkData; - this.isChild = isChild; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ThreadNetworkDiagnosticsClusterNeighborTableStruct {\n"); - output.append("\textAddress: "); - output.append(extAddress); - output.append("\n"); - output.append("\tage: "); - output.append(age); - output.append("\n"); - output.append("\trloc16: "); - output.append(rloc16); - output.append("\n"); - output.append("\tlinkFrameCounter: "); - output.append(linkFrameCounter); - output.append("\n"); - output.append("\tmleFrameCounter: "); - output.append(mleFrameCounter); - output.append("\n"); - output.append("\tlqi: "); - output.append(lqi); - output.append("\n"); - output.append("\taverageRssi: "); - output.append(averageRssi); - output.append("\n"); - output.append("\tlastRssi: "); - output.append(lastRssi); - output.append("\n"); - output.append("\tframeErrorRate: "); - output.append(frameErrorRate); - output.append("\n"); - output.append("\tmessageErrorRate: "); - output.append(messageErrorRate); - output.append("\n"); - output.append("\trxOnWhenIdle: "); - output.append(rxOnWhenIdle); - output.append("\n"); - output.append("\tfullThreadDevice: "); - output.append(fullThreadDevice); - output.append("\n"); - output.append("\tfullNetworkData: "); - output.append(fullNetworkData); - output.append("\n"); - output.append("\tisChild: "); - output.append(isChild); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ThreadNetworkDiagnosticsClusterOperationalDatasetComponents { - public Boolean activeTimestampPresent; - public Boolean pendingTimestampPresent; - public Boolean masterKeyPresent; - public Boolean networkNamePresent; - public Boolean extendedPanIdPresent; - public Boolean meshLocalPrefixPresent; - public Boolean delayPresent; - public Boolean panIdPresent; - public Boolean channelPresent; - public Boolean pskcPresent; - public Boolean securityPolicyPresent; - public Boolean channelMaskPresent; - - public ThreadNetworkDiagnosticsClusterOperationalDatasetComponents( - Boolean activeTimestampPresent, - Boolean pendingTimestampPresent, - Boolean masterKeyPresent, - Boolean networkNamePresent, - Boolean extendedPanIdPresent, - Boolean meshLocalPrefixPresent, - Boolean delayPresent, - Boolean panIdPresent, - Boolean channelPresent, - Boolean pskcPresent, - Boolean securityPolicyPresent, - Boolean channelMaskPresent) { - this.activeTimestampPresent = activeTimestampPresent; - this.pendingTimestampPresent = pendingTimestampPresent; - this.masterKeyPresent = masterKeyPresent; - this.networkNamePresent = networkNamePresent; - this.extendedPanIdPresent = extendedPanIdPresent; - this.meshLocalPrefixPresent = meshLocalPrefixPresent; - this.delayPresent = delayPresent; - this.panIdPresent = panIdPresent; - this.channelPresent = channelPresent; - this.pskcPresent = pskcPresent; - this.securityPolicyPresent = securityPolicyPresent; - this.channelMaskPresent = channelMaskPresent; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ThreadNetworkDiagnosticsClusterOperationalDatasetComponents {\n"); - output.append("\tactiveTimestampPresent: "); - output.append(activeTimestampPresent); - output.append("\n"); - output.append("\tpendingTimestampPresent: "); - output.append(pendingTimestampPresent); - output.append("\n"); - output.append("\tmasterKeyPresent: "); - output.append(masterKeyPresent); - output.append("\n"); - output.append("\tnetworkNamePresent: "); - output.append(networkNamePresent); - output.append("\n"); - output.append("\textendedPanIdPresent: "); - output.append(extendedPanIdPresent); - output.append("\n"); - output.append("\tmeshLocalPrefixPresent: "); - output.append(meshLocalPrefixPresent); - output.append("\n"); - output.append("\tdelayPresent: "); - output.append(delayPresent); - output.append("\n"); - output.append("\tpanIdPresent: "); - output.append(panIdPresent); - output.append("\n"); - output.append("\tchannelPresent: "); - output.append(channelPresent); - output.append("\n"); - output.append("\tpskcPresent: "); - output.append(pskcPresent); - output.append("\n"); - output.append("\tsecurityPolicyPresent: "); - output.append(securityPolicyPresent); - output.append("\n"); - output.append("\tchannelMaskPresent: "); - output.append(channelMaskPresent); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ThreadNetworkDiagnosticsClusterRouteTableStruct { - public Long extAddress; - public Integer rloc16; - public Integer routerId; - public Integer nextHop; - public Integer pathCost; - public Integer LQIIn; - public Integer LQIOut; - public Integer age; - public Boolean allocated; - public Boolean linkEstablished; - - public ThreadNetworkDiagnosticsClusterRouteTableStruct( - Long extAddress, - Integer rloc16, - Integer routerId, - Integer nextHop, - Integer pathCost, - Integer LQIIn, - Integer LQIOut, - Integer age, - Boolean allocated, - Boolean linkEstablished) { - this.extAddress = extAddress; - this.rloc16 = rloc16; - this.routerId = routerId; - this.nextHop = nextHop; - this.pathCost = pathCost; - this.LQIIn = LQIIn; - this.LQIOut = LQIOut; - this.age = age; - this.allocated = allocated; - this.linkEstablished = linkEstablished; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ThreadNetworkDiagnosticsClusterRouteTableStruct {\n"); - output.append("\textAddress: "); - output.append(extAddress); - output.append("\n"); - output.append("\trloc16: "); - output.append(rloc16); - output.append("\n"); - output.append("\trouterId: "); - output.append(routerId); - output.append("\n"); - output.append("\tnextHop: "); - output.append(nextHop); - output.append("\n"); - output.append("\tpathCost: "); - output.append(pathCost); - output.append("\n"); - output.append("\tLQIIn: "); - output.append(LQIIn); - output.append("\n"); - output.append("\tLQIOut: "); - output.append(LQIOut); - output.append("\n"); - output.append("\tage: "); - output.append(age); - output.append("\n"); - output.append("\tallocated: "); - output.append(allocated); - output.append("\n"); - output.append("\tlinkEstablished: "); - output.append(linkEstablished); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ThreadNetworkDiagnosticsClusterSecurityPolicy { - public Integer rotationTime; - public Integer flags; - - public ThreadNetworkDiagnosticsClusterSecurityPolicy(Integer rotationTime, Integer flags) { - this.rotationTime = rotationTime; - this.flags = flags; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ThreadNetworkDiagnosticsClusterSecurityPolicy {\n"); - output.append("\trotationTime: "); - output.append(rotationTime); - output.append("\n"); - output.append("\tflags: "); - output.append(flags); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterDSTOffsetStruct { - public Long offset; - public Long validStarting; - public @Nullable Long validUntil; - - public TimeSynchronizationClusterDSTOffsetStruct( - Long offset, Long validStarting, @Nullable Long validUntil) { - this.offset = offset; - this.validStarting = validStarting; - this.validUntil = validUntil; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterDSTOffsetStruct {\n"); - output.append("\toffset: "); - output.append(offset); - output.append("\n"); - output.append("\tvalidStarting: "); - output.append(validStarting); - output.append("\n"); - output.append("\tvalidUntil: "); - output.append(validUntil); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct { - public Long nodeID; - public Integer endpoint; - - public TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct( - Long nodeID, Integer endpoint) { - this.nodeID = nodeID; - this.endpoint = endpoint; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct {\n"); - output.append("\tnodeID: "); - output.append(nodeID); - output.append("\n"); - output.append("\tendpoint: "); - output.append(endpoint); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterTimeZoneStruct { - public Long offset; - public Long validAt; - public Optional name; - - public TimeSynchronizationClusterTimeZoneStruct( - Long offset, Long validAt, Optional name) { - this.offset = offset; - this.validAt = validAt; - this.name = name; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterTimeZoneStruct {\n"); - output.append("\toffset: "); - output.append(offset); - output.append("\n"); - output.append("\tvalidAt: "); - output.append(validAt); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TimeSynchronizationClusterTrustedTimeSourceStruct { - public Integer fabricIndex; - public Long nodeID; - public Integer endpoint; - - public TimeSynchronizationClusterTrustedTimeSourceStruct( - Integer fabricIndex, Long nodeID, Integer endpoint) { - this.fabricIndex = fabricIndex; - this.nodeID = nodeID; - this.endpoint = endpoint; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TimeSynchronizationClusterTrustedTimeSourceStruct {\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("\tnodeID: "); - output.append(nodeID); - output.append("\n"); - output.append("\tendpoint: "); - output.append(endpoint); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class BridgedDeviceBasicInformationClusterProductAppearanceStruct { - public Integer finish; - public @Nullable Integer primaryColor; - - public BridgedDeviceBasicInformationClusterProductAppearanceStruct( - Integer finish, @Nullable Integer primaryColor) { - this.finish = finish; - this.primaryColor = primaryColor; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("BridgedDeviceBasicInformationClusterProductAppearanceStruct {\n"); - output.append("\tfinish: "); - output.append(finish); - output.append("\n"); - output.append("\tprimaryColor: "); - output.append(primaryColor); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OperationalCredentialsClusterFabricDescriptorStruct { - public byte[] rootPublicKey; - public Integer vendorID; - public Long fabricID; - public Long nodeID; - public String label; - public Integer fabricIndex; - - public OperationalCredentialsClusterFabricDescriptorStruct( - byte[] rootPublicKey, - Integer vendorID, - Long fabricID, - Long nodeID, - String label, - Integer fabricIndex) { - this.rootPublicKey = rootPublicKey; - this.vendorID = vendorID; - this.fabricID = fabricID; - this.nodeID = nodeID; - this.label = label; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OperationalCredentialsClusterFabricDescriptorStruct {\n"); - output.append("\trootPublicKey: "); - output.append(Arrays.toString(rootPublicKey)); - output.append("\n"); - output.append("\tvendorID: "); - output.append(vendorID); - output.append("\n"); - output.append("\tfabricID: "); - output.append(fabricID); - output.append("\n"); - output.append("\tnodeID: "); - output.append(nodeID); - output.append("\n"); - output.append("\tlabel: "); - output.append(label); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OperationalCredentialsClusterNOCStruct { - public byte[] noc; - public @Nullable byte[] icac; - public Integer fabricIndex; - - public OperationalCredentialsClusterNOCStruct( - byte[] noc, @Nullable byte[] icac, Integer fabricIndex) { - this.noc = noc; - this.icac = icac; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OperationalCredentialsClusterNOCStruct {\n"); - output.append("\tnoc: "); - output.append(Arrays.toString(noc)); - output.append("\n"); - output.append("\ticac: "); - output.append(Arrays.toString(icac)); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GroupKeyManagementClusterGroupInfoMapStruct { - public Integer groupId; - public ArrayList endpoints; - public Optional groupName; - public Integer fabricIndex; - - public GroupKeyManagementClusterGroupInfoMapStruct( - Integer groupId, - ArrayList endpoints, - Optional groupName, - Integer fabricIndex) { - this.groupId = groupId; - this.endpoints = endpoints; - this.groupName = groupName; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GroupKeyManagementClusterGroupInfoMapStruct {\n"); - output.append("\tgroupId: "); - output.append(groupId); - output.append("\n"); - output.append("\tendpoints: "); - output.append(endpoints); - output.append("\n"); - output.append("\tgroupName: "); - output.append(groupName); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GroupKeyManagementClusterGroupKeyMapStruct { - public Integer groupId; - public Integer groupKeySetID; - public Integer fabricIndex; - - public GroupKeyManagementClusterGroupKeyMapStruct( - Integer groupId, Integer groupKeySetID, Integer fabricIndex) { - this.groupId = groupId; - this.groupKeySetID = groupKeySetID; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GroupKeyManagementClusterGroupKeyMapStruct {\n"); - output.append("\tgroupId: "); - output.append(groupId); - output.append("\n"); - output.append("\tgroupKeySetID: "); - output.append(groupKeySetID); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class GroupKeyManagementClusterGroupKeySetStruct { - public Integer groupKeySetID; - public Integer groupKeySecurityPolicy; - public @Nullable byte[] epochKey0; - public @Nullable Long epochStartTime0; - public @Nullable byte[] epochKey1; - public @Nullable Long epochStartTime1; - public @Nullable byte[] epochKey2; - public @Nullable Long epochStartTime2; - - public GroupKeyManagementClusterGroupKeySetStruct( - Integer groupKeySetID, - Integer groupKeySecurityPolicy, - @Nullable byte[] epochKey0, - @Nullable Long epochStartTime0, - @Nullable byte[] epochKey1, - @Nullable Long epochStartTime1, - @Nullable byte[] epochKey2, - @Nullable Long epochStartTime2) { - this.groupKeySetID = groupKeySetID; - this.groupKeySecurityPolicy = groupKeySecurityPolicy; - this.epochKey0 = epochKey0; - this.epochStartTime0 = epochStartTime0; - this.epochKey1 = epochKey1; - this.epochStartTime1 = epochStartTime1; - this.epochKey2 = epochKey2; - this.epochStartTime2 = epochStartTime2; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("GroupKeyManagementClusterGroupKeySetStruct {\n"); - output.append("\tgroupKeySetID: "); - output.append(groupKeySetID); - output.append("\n"); - output.append("\tgroupKeySecurityPolicy: "); - output.append(groupKeySecurityPolicy); - output.append("\n"); - output.append("\tepochKey0: "); - output.append(Arrays.toString(epochKey0)); - output.append("\n"); - output.append("\tepochStartTime0: "); - output.append(epochStartTime0); - output.append("\n"); - output.append("\tepochKey1: "); - output.append(Arrays.toString(epochKey1)); - output.append("\n"); - output.append("\tepochStartTime1: "); - output.append(epochStartTime1); - output.append("\n"); - output.append("\tepochKey2: "); - output.append(Arrays.toString(epochKey2)); - output.append("\n"); - output.append("\tepochStartTime2: "); - output.append(epochStartTime2); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class FixedLabelClusterLabelStruct { - public String label; - public String value; - - public FixedLabelClusterLabelStruct(String label, String value) { - this.label = label; - this.value = value; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("FixedLabelClusterLabelStruct {\n"); - output.append("\tlabel: "); - output.append(label); - output.append("\n"); - output.append("\tvalue: "); - output.append(value); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UserLabelClusterLabelStruct { - public String label; - public String value; - - public UserLabelClusterLabelStruct(String label, String value) { - this.label = label; - this.value = value; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UserLabelClusterLabelStruct {\n"); - output.append("\tlabel: "); - output.append(label); - output.append("\n"); - output.append("\tvalue: "); - output.append(value); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class IcdManagementClusterMonitoringRegistrationStruct { - public Long checkInNodeID; - public Long monitoredSubject; - public byte[] key; - public Integer fabricIndex; - - public IcdManagementClusterMonitoringRegistrationStruct( - Long checkInNodeID, Long monitoredSubject, byte[] key, Integer fabricIndex) { - this.checkInNodeID = checkInNodeID; - this.monitoredSubject = monitoredSubject; - this.key = key; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("IcdManagementClusterMonitoringRegistrationStruct {\n"); - output.append("\tcheckInNodeID: "); - output.append(checkInNodeID); - output.append("\n"); - output.append("\tmonitoredSubject: "); - output.append(monitoredSubject); - output.append("\n"); - output.append("\tkey: "); - output.append(Arrays.toString(key)); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ModeSelectClusterSemanticTagStruct { - public Integer mfgCode; - public Integer value; - - public ModeSelectClusterSemanticTagStruct(Integer mfgCode, Integer value) { - this.mfgCode = mfgCode; - this.value = value; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ModeSelectClusterSemanticTagStruct {\n"); - output.append("\tmfgCode: "); - output.append(mfgCode); - output.append("\n"); - output.append("\tvalue: "); - output.append(value); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ModeSelectClusterModeOptionStruct { - public String label; - public Integer mode; - public ArrayList semanticTags; - - public ModeSelectClusterModeOptionStruct( - String label, - Integer mode, - ArrayList semanticTags) { - this.label = label; - this.mode = mode; - this.semanticTags = semanticTags; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ModeSelectClusterModeOptionStruct {\n"); - output.append("\tlabel: "); - output.append(label); - output.append("\n"); - output.append("\tmode: "); - output.append(mode); - output.append("\n"); - output.append("\tsemanticTags: "); - output.append(semanticTags); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TemperatureControlClusterTemperatureLevelStruct { - public String label; - public Integer temperatureLevel; - - public TemperatureControlClusterTemperatureLevelStruct(String label, Integer temperatureLevel) { - this.label = label; - this.temperatureLevel = temperatureLevel; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TemperatureControlClusterTemperatureLevelStruct {\n"); - output.append("\tlabel: "); - output.append(label); - output.append("\n"); - output.append("\ttemperatureLevel: "); - output.append(temperatureLevel); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OperationalStateClusterErrorStateStruct { - public Integer errorStateID; - public @Nullable String errorStateLabel; - public Optional errorStateDetails; - - public OperationalStateClusterErrorStateStruct( - Integer errorStateID, - @Nullable String errorStateLabel, - Optional errorStateDetails) { - this.errorStateID = errorStateID; - this.errorStateLabel = errorStateLabel; - this.errorStateDetails = errorStateDetails; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OperationalStateClusterErrorStateStruct {\n"); - output.append("\terrorStateID: "); - output.append(errorStateID); - output.append("\n"); - output.append("\terrorStateLabel: "); - output.append(errorStateLabel); - output.append("\n"); - output.append("\terrorStateDetails: "); - output.append(errorStateDetails); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class OperationalStateClusterOperationalStateStruct { - public Integer operationalStateID; - public String operationalStateLabel; - - public OperationalStateClusterOperationalStateStruct( - Integer operationalStateID, String operationalStateLabel) { - this.operationalStateID = operationalStateID; - this.operationalStateLabel = operationalStateLabel; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("OperationalStateClusterOperationalStateStruct {\n"); - output.append("\toperationalStateID: "); - output.append(operationalStateID); - output.append("\n"); - output.append("\toperationalStateLabel: "); - output.append(operationalStateLabel); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class DoorLockClusterCredentialStruct { - public Integer credentialType; - public Integer credentialIndex; - - public DoorLockClusterCredentialStruct(Integer credentialType, Integer credentialIndex) { - this.credentialType = credentialType; - this.credentialIndex = credentialIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("DoorLockClusterCredentialStruct {\n"); - output.append("\tcredentialType: "); - output.append(credentialType); - output.append("\n"); - output.append("\tcredentialIndex: "); - output.append(credentialIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ThermostatClusterThermostatScheduleTransition { - public Integer transitionTime; - public @Nullable Integer heatSetpoint; - public @Nullable Integer coolSetpoint; - - public ThermostatClusterThermostatScheduleTransition( - Integer transitionTime, @Nullable Integer heatSetpoint, @Nullable Integer coolSetpoint) { - this.transitionTime = transitionTime; - this.heatSetpoint = heatSetpoint; - this.coolSetpoint = coolSetpoint; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ThermostatClusterThermostatScheduleTransition {\n"); - output.append("\ttransitionTime: "); - output.append(transitionTime); - output.append("\n"); - output.append("\theatSetpoint: "); - output.append(heatSetpoint); - output.append("\n"); - output.append("\tcoolSetpoint: "); - output.append(coolSetpoint); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ChannelClusterChannelInfoStruct { - public Integer majorNumber; - public Integer minorNumber; - public Optional name; - public Optional callSign; - public Optional affiliateCallSign; - - public ChannelClusterChannelInfoStruct( - Integer majorNumber, - Integer minorNumber, - Optional name, - Optional callSign, - Optional affiliateCallSign) { - this.majorNumber = majorNumber; - this.minorNumber = minorNumber; - this.name = name; - this.callSign = callSign; - this.affiliateCallSign = affiliateCallSign; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ChannelClusterChannelInfoStruct {\n"); - output.append("\tmajorNumber: "); - output.append(majorNumber); - output.append("\n"); - output.append("\tminorNumber: "); - output.append(minorNumber); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\tcallSign: "); - output.append(callSign); - output.append("\n"); - output.append("\taffiliateCallSign: "); - output.append(affiliateCallSign); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ChannelClusterLineupInfoStruct { - public String operatorName; - public Optional lineupName; - public Optional postalCode; - public Integer lineupInfoType; - - public ChannelClusterLineupInfoStruct( - String operatorName, - Optional lineupName, - Optional postalCode, - Integer lineupInfoType) { - this.operatorName = operatorName; - this.lineupName = lineupName; - this.postalCode = postalCode; - this.lineupInfoType = lineupInfoType; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ChannelClusterLineupInfoStruct {\n"); - output.append("\toperatorName: "); - output.append(operatorName); - output.append("\n"); - output.append("\tlineupName: "); - output.append(lineupName); - output.append("\n"); - output.append("\tpostalCode: "); - output.append(postalCode); - output.append("\n"); - output.append("\tlineupInfoType: "); - output.append(lineupInfoType); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class TargetNavigatorClusterTargetInfoStruct { - public Integer identifier; - public String name; - - public TargetNavigatorClusterTargetInfoStruct(Integer identifier, String name) { - this.identifier = identifier; - this.name = name; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("TargetNavigatorClusterTargetInfoStruct {\n"); - output.append("\tidentifier: "); - output.append(identifier); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class MediaPlaybackClusterPlaybackPositionStruct { - public Long updatedAt; - public @Nullable Long position; - - public MediaPlaybackClusterPlaybackPositionStruct(Long updatedAt, @Nullable Long position) { - this.updatedAt = updatedAt; - this.position = position; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("MediaPlaybackClusterPlaybackPositionStruct {\n"); - output.append("\tupdatedAt: "); - output.append(updatedAt); - output.append("\n"); - output.append("\tposition: "); - output.append(position); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class MediaInputClusterInputInfoStruct { - public Integer index; - public Integer inputType; - public String name; - public String description; - - public MediaInputClusterInputInfoStruct( - Integer index, Integer inputType, String name, String description) { - this.index = index; - this.inputType = inputType; - this.name = name; - this.description = description; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("MediaInputClusterInputInfoStruct {\n"); - output.append("\tindex: "); - output.append(index); - output.append("\n"); - output.append("\tinputType: "); - output.append(inputType); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\tdescription: "); - output.append(description); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ContentLauncherClusterDimensionStruct { - public Double width; - public Double height; - public Integer metric; - - public ContentLauncherClusterDimensionStruct(Double width, Double height, Integer metric) { - this.width = width; - this.height = height; - this.metric = metric; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ContentLauncherClusterDimensionStruct {\n"); - output.append("\twidth: "); - output.append(width); - output.append("\n"); - output.append("\theight: "); - output.append(height); - output.append("\n"); - output.append("\tmetric: "); - output.append(metric); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ContentLauncherClusterAdditionalInfoStruct { - public String name; - public String value; - - public ContentLauncherClusterAdditionalInfoStruct(String name, String value) { - this.name = name; - this.value = value; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ContentLauncherClusterAdditionalInfoStruct {\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("\tvalue: "); - output.append(value); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ContentLauncherClusterParameterStruct { - public Integer type; - public String value; - public Optional> - externalIDList; - - public ContentLauncherClusterParameterStruct( - Integer type, - String value, - Optional> - externalIDList) { - this.type = type; - this.value = value; - this.externalIDList = externalIDList; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ContentLauncherClusterParameterStruct {\n"); - output.append("\ttype: "); - output.append(type); - output.append("\n"); - output.append("\tvalue: "); - output.append(value); - output.append("\n"); - output.append("\texternalIDList: "); - output.append(externalIDList); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ContentLauncherClusterContentSearchStruct { - public ArrayList parameterList; - - public ContentLauncherClusterContentSearchStruct( - ArrayList parameterList) { - this.parameterList = parameterList; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ContentLauncherClusterContentSearchStruct {\n"); - output.append("\tparameterList: "); - output.append(parameterList); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ContentLauncherClusterStyleInformationStruct { - public Optional imageURL; - public Optional color; - public Optional size; - - public ContentLauncherClusterStyleInformationStruct( - Optional imageURL, - Optional color, - Optional size) { - this.imageURL = imageURL; - this.color = color; - this.size = size; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ContentLauncherClusterStyleInformationStruct {\n"); - output.append("\timageURL: "); - output.append(imageURL); - output.append("\n"); - output.append("\tcolor: "); - output.append(color); - output.append("\n"); - output.append("\tsize: "); - output.append(size); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ContentLauncherClusterBrandingInformationStruct { - public String providerName; - public Optional background; - public Optional logo; - public Optional progressBar; - public Optional splash; - public Optional waterMark; - - public ContentLauncherClusterBrandingInformationStruct( - String providerName, - Optional background, - Optional logo, - Optional progressBar, - Optional splash, - Optional waterMark) { - this.providerName = providerName; - this.background = background; - this.logo = logo; - this.progressBar = progressBar; - this.splash = splash; - this.waterMark = waterMark; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ContentLauncherClusterBrandingInformationStruct {\n"); - output.append("\tproviderName: "); - output.append(providerName); - output.append("\n"); - output.append("\tbackground: "); - output.append(background); - output.append("\n"); - output.append("\tlogo: "); - output.append(logo); - output.append("\n"); - output.append("\tprogressBar: "); - output.append(progressBar); - output.append("\n"); - output.append("\tsplash: "); - output.append(splash); - output.append("\n"); - output.append("\twaterMark: "); - output.append(waterMark); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class AudioOutputClusterOutputInfoStruct { - public Integer index; - public Integer outputType; - public String name; - - public AudioOutputClusterOutputInfoStruct(Integer index, Integer outputType, String name) { - this.index = index; - this.outputType = outputType; - this.name = name; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("AudioOutputClusterOutputInfoStruct {\n"); - output.append("\tindex: "); - output.append(index); - output.append("\n"); - output.append("\toutputType: "); - output.append(outputType); - output.append("\n"); - output.append("\tname: "); - output.append(name); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ApplicationLauncherClusterApplicationStruct { - public Integer catalogVendorID; - public String applicationID; - - public ApplicationLauncherClusterApplicationStruct( - Integer catalogVendorID, String applicationID) { - this.catalogVendorID = catalogVendorID; - this.applicationID = applicationID; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ApplicationLauncherClusterApplicationStruct {\n"); - output.append("\tcatalogVendorID: "); - output.append(catalogVendorID); - output.append("\n"); - output.append("\tapplicationID: "); - output.append(applicationID); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ApplicationLauncherClusterApplicationEPStruct { - public ChipStructs.ApplicationLauncherClusterApplicationStruct application; - public Optional endpoint; - - public ApplicationLauncherClusterApplicationEPStruct( - ChipStructs.ApplicationLauncherClusterApplicationStruct application, - Optional endpoint) { - this.application = application; - this.endpoint = endpoint; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ApplicationLauncherClusterApplicationEPStruct {\n"); - output.append("\tapplication: "); - output.append(application); - output.append("\n"); - output.append("\tendpoint: "); - output.append(endpoint); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class ApplicationBasicClusterApplicationStruct { - public Integer catalogVendorID; - public String applicationID; - - public ApplicationBasicClusterApplicationStruct(Integer catalogVendorID, String applicationID) { - this.catalogVendorID = catalogVendorID; - this.applicationID = applicationID; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("ApplicationBasicClusterApplicationStruct {\n"); - output.append("\tcatalogVendorID: "); - output.append(catalogVendorID); - output.append("\n"); - output.append("\tapplicationID: "); - output.append(applicationID); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterSimpleStruct { - public Integer a; - public Boolean b; - public Integer c; - public byte[] d; - public String e; - public Integer f; - public Float g; - public Double h; - - public UnitTestingClusterSimpleStruct( - Integer a, Boolean b, Integer c, byte[] d, String e, Integer f, Float g, Double h) { - this.a = a; - this.b = b; - this.c = c; - this.d = d; - this.e = e; - this.f = f; - this.g = g; - this.h = h; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterSimpleStruct {\n"); - output.append("\ta: "); - output.append(a); - output.append("\n"); - output.append("\tb: "); - output.append(b); - output.append("\n"); - output.append("\tc: "); - output.append(c); - output.append("\n"); - output.append("\td: "); - output.append(Arrays.toString(d)); - output.append("\n"); - output.append("\te: "); - output.append(e); - output.append("\n"); - output.append("\tf: "); - output.append(f); - output.append("\n"); - output.append("\tg: "); - output.append(g); - output.append("\n"); - output.append("\th: "); - output.append(h); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterTestFabricScoped { - public Integer fabricSensitiveInt8u; - public Optional optionalFabricSensitiveInt8u; - public @Nullable Integer nullableFabricSensitiveInt8u; - public @Nullable Optional nullableOptionalFabricSensitiveInt8u; - public String fabricSensitiveCharString; - public ChipStructs.UnitTestingClusterSimpleStruct fabricSensitiveStruct; - public ArrayList fabricSensitiveInt8uList; - public Integer fabricIndex; - - public UnitTestingClusterTestFabricScoped( - Integer fabricSensitiveInt8u, - Optional optionalFabricSensitiveInt8u, - @Nullable Integer nullableFabricSensitiveInt8u, - @Nullable Optional nullableOptionalFabricSensitiveInt8u, - String fabricSensitiveCharString, - ChipStructs.UnitTestingClusterSimpleStruct fabricSensitiveStruct, - ArrayList fabricSensitiveInt8uList, - Integer fabricIndex) { - this.fabricSensitiveInt8u = fabricSensitiveInt8u; - this.optionalFabricSensitiveInt8u = optionalFabricSensitiveInt8u; - this.nullableFabricSensitiveInt8u = nullableFabricSensitiveInt8u; - this.nullableOptionalFabricSensitiveInt8u = nullableOptionalFabricSensitiveInt8u; - this.fabricSensitiveCharString = fabricSensitiveCharString; - this.fabricSensitiveStruct = fabricSensitiveStruct; - this.fabricSensitiveInt8uList = fabricSensitiveInt8uList; - this.fabricIndex = fabricIndex; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterTestFabricScoped {\n"); - output.append("\tfabricSensitiveInt8u: "); - output.append(fabricSensitiveInt8u); - output.append("\n"); - output.append("\toptionalFabricSensitiveInt8u: "); - output.append(optionalFabricSensitiveInt8u); - output.append("\n"); - output.append("\tnullableFabricSensitiveInt8u: "); - output.append(nullableFabricSensitiveInt8u); - output.append("\n"); - output.append("\tnullableOptionalFabricSensitiveInt8u: "); - output.append(nullableOptionalFabricSensitiveInt8u); - output.append("\n"); - output.append("\tfabricSensitiveCharString: "); - output.append(fabricSensitiveCharString); - output.append("\n"); - output.append("\tfabricSensitiveStruct: "); - output.append(fabricSensitiveStruct); - output.append("\n"); - output.append("\tfabricSensitiveInt8uList: "); - output.append(fabricSensitiveInt8uList); - output.append("\n"); - output.append("\tfabricIndex: "); - output.append(fabricIndex); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterNullablesAndOptionalsStruct { - public @Nullable Integer nullableInt; - public Optional optionalInt; - public @Nullable Optional nullableOptionalInt; - public @Nullable String nullableString; - public Optional optionalString; - public @Nullable Optional nullableOptionalString; - public @Nullable ChipStructs.UnitTestingClusterSimpleStruct nullableStruct; - public Optional optionalStruct; - public @Nullable Optional nullableOptionalStruct; - public @Nullable ArrayList nullableList; - public Optional> optionalList; - public @Nullable Optional> nullableOptionalList; - - public UnitTestingClusterNullablesAndOptionalsStruct( - @Nullable Integer nullableInt, - Optional optionalInt, - @Nullable Optional nullableOptionalInt, - @Nullable String nullableString, - Optional optionalString, - @Nullable Optional nullableOptionalString, - @Nullable ChipStructs.UnitTestingClusterSimpleStruct nullableStruct, - Optional optionalStruct, - @Nullable Optional nullableOptionalStruct, - @Nullable ArrayList nullableList, - Optional> optionalList, - @Nullable Optional> nullableOptionalList) { - this.nullableInt = nullableInt; - this.optionalInt = optionalInt; - this.nullableOptionalInt = nullableOptionalInt; - this.nullableString = nullableString; - this.optionalString = optionalString; - this.nullableOptionalString = nullableOptionalString; - this.nullableStruct = nullableStruct; - this.optionalStruct = optionalStruct; - this.nullableOptionalStruct = nullableOptionalStruct; - this.nullableList = nullableList; - this.optionalList = optionalList; - this.nullableOptionalList = nullableOptionalList; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterNullablesAndOptionalsStruct {\n"); - output.append("\tnullableInt: "); - output.append(nullableInt); - output.append("\n"); - output.append("\toptionalInt: "); - output.append(optionalInt); - output.append("\n"); - output.append("\tnullableOptionalInt: "); - output.append(nullableOptionalInt); - output.append("\n"); - output.append("\tnullableString: "); - output.append(nullableString); - output.append("\n"); - output.append("\toptionalString: "); - output.append(optionalString); - output.append("\n"); - output.append("\tnullableOptionalString: "); - output.append(nullableOptionalString); - output.append("\n"); - output.append("\tnullableStruct: "); - output.append(nullableStruct); - output.append("\n"); - output.append("\toptionalStruct: "); - output.append(optionalStruct); - output.append("\n"); - output.append("\tnullableOptionalStruct: "); - output.append(nullableOptionalStruct); - output.append("\n"); - output.append("\tnullableList: "); - output.append(nullableList); - output.append("\n"); - output.append("\toptionalList: "); - output.append(optionalList); - output.append("\n"); - output.append("\tnullableOptionalList: "); - output.append(nullableOptionalList); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterNestedStruct { - public Integer a; - public Boolean b; - public ChipStructs.UnitTestingClusterSimpleStruct c; - - public UnitTestingClusterNestedStruct( - Integer a, Boolean b, ChipStructs.UnitTestingClusterSimpleStruct c) { - this.a = a; - this.b = b; - this.c = c; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterNestedStruct {\n"); - output.append("\ta: "); - output.append(a); - output.append("\n"); - output.append("\tb: "); - output.append(b); - output.append("\n"); - output.append("\tc: "); - output.append(c); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterNestedStructList { - public Integer a; - public Boolean b; - public ChipStructs.UnitTestingClusterSimpleStruct c; - public ArrayList d; - public ArrayList e; - public ArrayList f; - public ArrayList g; - - public UnitTestingClusterNestedStructList( - Integer a, - Boolean b, - ChipStructs.UnitTestingClusterSimpleStruct c, - ArrayList d, - ArrayList e, - ArrayList f, - ArrayList g) { - this.a = a; - this.b = b; - this.c = c; - this.d = d; - this.e = e; - this.f = f; - this.g = g; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterNestedStructList {\n"); - output.append("\ta: "); - output.append(a); - output.append("\n"); - output.append("\tb: "); - output.append(b); - output.append("\n"); - output.append("\tc: "); - output.append(c); - output.append("\n"); - output.append("\td: "); - output.append(d); - output.append("\n"); - output.append("\te: "); - output.append(e); - output.append("\n"); - output.append("\tf: "); - output.append(f); - output.append("\n"); - output.append("\tg: "); - output.append(g); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterDoubleNestedStructList { - public ArrayList a; - - public UnitTestingClusterDoubleNestedStructList( - ArrayList a) { - this.a = a; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterDoubleNestedStructList {\n"); - output.append("\ta: "); - output.append(a); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } - } - - public static class UnitTestingClusterTestListStructOctet { - public Long member1; - public byte[] member2; - - public UnitTestingClusterTestListStructOctet(Long member1, byte[] member2) { - this.member1 = member1; - this.member2 = member2; - } - - @Override - public String toString() { - StringBuilder output = new StringBuilder(); - output.append("UnitTestingClusterTestListStructOctet {\n"); - output.append("\tmember1: "); - output.append(member1); - output.append("\n"); - output.append("\tmember2: "); - output.append(Arrays.toString(member2)); - output.append("\n"); - output.append("}\n"); - return output.toString(); - } +public static class ScenesClusterAttributeValuePair { +public Optional attributeID; +public Long attributeValue; + + public ScenesClusterAttributeValuePair( + Optional attributeID + , Long attributeValue + ) { + this.attributeID = attributeID; + this.attributeValue = attributeValue; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ScenesClusterAttributeValuePair {\n"); + output.append("\tattributeID: "); + output.append(attributeID); + output.append("\n"); + output.append("\tattributeValue: "); + output.append(attributeValue); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ScenesClusterExtensionFieldSet { +public Long clusterID; +public ArrayList attributeValueList; + + public ScenesClusterExtensionFieldSet( + Long clusterID + , ArrayList attributeValueList + ) { + this.clusterID = clusterID; + this.attributeValueList = attributeValueList; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ScenesClusterExtensionFieldSet {\n"); + output.append("\tclusterID: "); + output.append(clusterID); + output.append("\n"); + output.append("\tattributeValueList: "); + output.append(attributeValueList); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class DescriptorClusterDeviceTypeStruct { +public Long deviceType; +public Integer revision; + + public DescriptorClusterDeviceTypeStruct( + Long deviceType + , Integer revision + ) { + this.deviceType = deviceType; + this.revision = revision; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("DescriptorClusterDeviceTypeStruct {\n"); + output.append("\tdeviceType: "); + output.append(deviceType); + output.append("\n"); + output.append("\trevision: "); + output.append(revision); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BindingClusterTargetStruct { +public Optional node; +public Optional group; +public Optional endpoint; +public Optional cluster; +public Integer fabricIndex; + + public BindingClusterTargetStruct( + Optional node + , Optional group + , Optional endpoint + , Optional cluster + , Integer fabricIndex + ) { + this.node = node; + this.group = group; + this.endpoint = endpoint; + this.cluster = cluster; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BindingClusterTargetStruct {\n"); + output.append("\tnode: "); + output.append(node); + output.append("\n"); + output.append("\tgroup: "); + output.append(group); + output.append("\n"); + output.append("\tendpoint: "); + output.append(endpoint); + output.append("\n"); + output.append("\tcluster: "); + output.append(cluster); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class AccessControlClusterAccessControlTargetStruct { +public @Nullable Long cluster; +public @Nullable Integer endpoint; +public @Nullable Long deviceType; + + public AccessControlClusterAccessControlTargetStruct( + @Nullable Long cluster + , @Nullable Integer endpoint + , @Nullable Long deviceType + ) { + this.cluster = cluster; + this.endpoint = endpoint; + this.deviceType = deviceType; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("AccessControlClusterAccessControlTargetStruct {\n"); + output.append("\tcluster: "); + output.append(cluster); + output.append("\n"); + output.append("\tendpoint: "); + output.append(endpoint); + output.append("\n"); + output.append("\tdeviceType: "); + output.append(deviceType); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class AccessControlClusterAccessControlEntryStruct { +public Integer privilege; +public Integer authMode; +public @Nullable ArrayList subjects; +public @Nullable ArrayList targets; +public Integer fabricIndex; + + public AccessControlClusterAccessControlEntryStruct( + Integer privilege + , Integer authMode + , @Nullable ArrayList subjects + , @Nullable ArrayList targets + , Integer fabricIndex + ) { + this.privilege = privilege; + this.authMode = authMode; + this.subjects = subjects; + this.targets = targets; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("AccessControlClusterAccessControlEntryStruct {\n"); + output.append("\tprivilege: "); + output.append(privilege); + output.append("\n"); + output.append("\tauthMode: "); + output.append(authMode); + output.append("\n"); + output.append("\tsubjects: "); + output.append(subjects); + output.append("\n"); + output.append("\ttargets: "); + output.append(targets); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class AccessControlClusterAccessControlExtensionStruct { +public byte[] data; +public Integer fabricIndex; + + public AccessControlClusterAccessControlExtensionStruct( + byte[] data + , Integer fabricIndex + ) { + this.data = data; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("AccessControlClusterAccessControlExtensionStruct {\n"); + output.append("\tdata: "); + output.append(Arrays.toString(data)); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ActionsClusterActionStruct { +public Integer actionID; +public String name; +public Integer type; +public Integer endpointListID; +public Integer supportedCommands; +public Integer state; + + public ActionsClusterActionStruct( + Integer actionID + , String name + , Integer type + , Integer endpointListID + , Integer supportedCommands + , Integer state + ) { + this.actionID = actionID; + this.name = name; + this.type = type; + this.endpointListID = endpointListID; + this.supportedCommands = supportedCommands; + this.state = state; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ActionsClusterActionStruct {\n"); + output.append("\tactionID: "); + output.append(actionID); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\ttype: "); + output.append(type); + output.append("\n"); + output.append("\tendpointListID: "); + output.append(endpointListID); + output.append("\n"); + output.append("\tsupportedCommands: "); + output.append(supportedCommands); + output.append("\n"); + output.append("\tstate: "); + output.append(state); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ActionsClusterEndpointListStruct { +public Integer endpointListID; +public String name; +public Integer type; +public ArrayList endpoints; + + public ActionsClusterEndpointListStruct( + Integer endpointListID + , String name + , Integer type + , ArrayList endpoints + ) { + this.endpointListID = endpointListID; + this.name = name; + this.type = type; + this.endpoints = endpoints; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ActionsClusterEndpointListStruct {\n"); + output.append("\tendpointListID: "); + output.append(endpointListID); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\ttype: "); + output.append(type); + output.append("\n"); + output.append("\tendpoints: "); + output.append(endpoints); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BasicInformationClusterCapabilityMinimaStruct { +public Integer caseSessionsPerFabric; +public Integer subscriptionsPerFabric; + + public BasicInformationClusterCapabilityMinimaStruct( + Integer caseSessionsPerFabric + , Integer subscriptionsPerFabric + ) { + this.caseSessionsPerFabric = caseSessionsPerFabric; + this.subscriptionsPerFabric = subscriptionsPerFabric; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BasicInformationClusterCapabilityMinimaStruct {\n"); + output.append("\tcaseSessionsPerFabric: "); + output.append(caseSessionsPerFabric); + output.append("\n"); + output.append("\tsubscriptionsPerFabric: "); + output.append(subscriptionsPerFabric); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BasicInformationClusterProductAppearanceStruct { +public Integer finish; +public @Nullable Integer primaryColor; + + public BasicInformationClusterProductAppearanceStruct( + Integer finish + , @Nullable Integer primaryColor + ) { + this.finish = finish; + this.primaryColor = primaryColor; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BasicInformationClusterProductAppearanceStruct {\n"); + output.append("\tfinish: "); + output.append(finish); + output.append("\n"); + output.append("\tprimaryColor: "); + output.append(primaryColor); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OtaSoftwareUpdateRequestorClusterProviderLocation { +public Long providerNodeID; +public Integer endpoint; +public Integer fabricIndex; + + public OtaSoftwareUpdateRequestorClusterProviderLocation( + Long providerNodeID + , Integer endpoint + , Integer fabricIndex + ) { + this.providerNodeID = providerNodeID; + this.endpoint = endpoint; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OtaSoftwareUpdateRequestorClusterProviderLocation {\n"); + output.append("\tproviderNodeID: "); + output.append(providerNodeID); + output.append("\n"); + output.append("\tendpoint: "); + output.append(endpoint); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PowerSourceClusterBatChargeFaultChangeType { +public ArrayList current; +public ArrayList previous; + + public PowerSourceClusterBatChargeFaultChangeType( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PowerSourceClusterBatChargeFaultChangeType {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PowerSourceClusterBatFaultChangeType { +public ArrayList current; +public ArrayList previous; + + public PowerSourceClusterBatFaultChangeType( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PowerSourceClusterBatFaultChangeType {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class PowerSourceClusterWiredFaultChangeType { +public ArrayList current; +public ArrayList previous; + + public PowerSourceClusterWiredFaultChangeType( + ArrayList current + , ArrayList previous + ) { + this.current = current; + this.previous = previous; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("PowerSourceClusterWiredFaultChangeType {\n"); + output.append("\tcurrent: "); + output.append(current); + output.append("\n"); + output.append("\tprevious: "); + output.append(previous); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GeneralCommissioningClusterBasicCommissioningInfo { +public Integer failSafeExpiryLengthSeconds; +public Integer maxCumulativeFailsafeSeconds; + + public GeneralCommissioningClusterBasicCommissioningInfo( + Integer failSafeExpiryLengthSeconds + , Integer maxCumulativeFailsafeSeconds + ) { + this.failSafeExpiryLengthSeconds = failSafeExpiryLengthSeconds; + this.maxCumulativeFailsafeSeconds = maxCumulativeFailsafeSeconds; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GeneralCommissioningClusterBasicCommissioningInfo {\n"); + output.append("\tfailSafeExpiryLengthSeconds: "); + output.append(failSafeExpiryLengthSeconds); + output.append("\n"); + output.append("\tmaxCumulativeFailsafeSeconds: "); + output.append(maxCumulativeFailsafeSeconds); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class NetworkCommissioningClusterNetworkInfo { +public byte[] networkID; +public Boolean connected; + + public NetworkCommissioningClusterNetworkInfo( + byte[] networkID + , Boolean connected + ) { + this.networkID = networkID; + this.connected = connected; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("NetworkCommissioningClusterNetworkInfo {\n"); + output.append("\tnetworkID: "); + output.append(Arrays.toString(networkID)); + output.append("\n"); + output.append("\tconnected: "); + output.append(connected); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class NetworkCommissioningClusterThreadInterfaceScanResult { +public Integer panId; +public Long extendedPanId; +public String networkName; +public Integer channel; +public Integer version; +public byte[] extendedAddress; +public Integer rssi; +public Integer lqi; + + public NetworkCommissioningClusterThreadInterfaceScanResult( + Integer panId + , Long extendedPanId + , String networkName + , Integer channel + , Integer version + , byte[] extendedAddress + , Integer rssi + , Integer lqi + ) { + this.panId = panId; + this.extendedPanId = extendedPanId; + this.networkName = networkName; + this.channel = channel; + this.version = version; + this.extendedAddress = extendedAddress; + this.rssi = rssi; + this.lqi = lqi; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("NetworkCommissioningClusterThreadInterfaceScanResult {\n"); + output.append("\tpanId: "); + output.append(panId); + output.append("\n"); + output.append("\textendedPanId: "); + output.append(extendedPanId); + output.append("\n"); + output.append("\tnetworkName: "); + output.append(networkName); + output.append("\n"); + output.append("\tchannel: "); + output.append(channel); + output.append("\n"); + output.append("\tversion: "); + output.append(version); + output.append("\n"); + output.append("\textendedAddress: "); + output.append(Arrays.toString(extendedAddress)); + output.append("\n"); + output.append("\trssi: "); + output.append(rssi); + output.append("\n"); + output.append("\tlqi: "); + output.append(lqi); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class NetworkCommissioningClusterWiFiInterfaceScanResult { +public Integer security; +public byte[] ssid; +public byte[] bssid; +public Integer channel; +public Integer wiFiBand; +public Integer rssi; + + public NetworkCommissioningClusterWiFiInterfaceScanResult( + Integer security + , byte[] ssid + , byte[] bssid + , Integer channel + , Integer wiFiBand + , Integer rssi + ) { + this.security = security; + this.ssid = ssid; + this.bssid = bssid; + this.channel = channel; + this.wiFiBand = wiFiBand; + this.rssi = rssi; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("NetworkCommissioningClusterWiFiInterfaceScanResult {\n"); + output.append("\tsecurity: "); + output.append(security); + output.append("\n"); + output.append("\tssid: "); + output.append(Arrays.toString(ssid)); + output.append("\n"); + output.append("\tbssid: "); + output.append(Arrays.toString(bssid)); + output.append("\n"); + output.append("\tchannel: "); + output.append(channel); + output.append("\n"); + output.append("\twiFiBand: "); + output.append(wiFiBand); + output.append("\n"); + output.append("\trssi: "); + output.append(rssi); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GeneralDiagnosticsClusterNetworkInterface { +public String name; +public Boolean isOperational; +public @Nullable Boolean offPremiseServicesReachableIPv4; +public @Nullable Boolean offPremiseServicesReachableIPv6; +public byte[] hardwareAddress; +public ArrayList IPv4Addresses; +public ArrayList IPv6Addresses; +public Integer type; + + public GeneralDiagnosticsClusterNetworkInterface( + String name + , Boolean isOperational + , @Nullable Boolean offPremiseServicesReachableIPv4 + , @Nullable Boolean offPremiseServicesReachableIPv6 + , byte[] hardwareAddress + , ArrayList IPv4Addresses + , ArrayList IPv6Addresses + , Integer type + ) { + this.name = name; + this.isOperational = isOperational; + this.offPremiseServicesReachableIPv4 = offPremiseServicesReachableIPv4; + this.offPremiseServicesReachableIPv6 = offPremiseServicesReachableIPv6; + this.hardwareAddress = hardwareAddress; + this.IPv4Addresses = IPv4Addresses; + this.IPv6Addresses = IPv6Addresses; + this.type = type; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GeneralDiagnosticsClusterNetworkInterface {\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\tisOperational: "); + output.append(isOperational); + output.append("\n"); + output.append("\toffPremiseServicesReachableIPv4: "); + output.append(offPremiseServicesReachableIPv4); + output.append("\n"); + output.append("\toffPremiseServicesReachableIPv6: "); + output.append(offPremiseServicesReachableIPv6); + output.append("\n"); + output.append("\thardwareAddress: "); + output.append(Arrays.toString(hardwareAddress)); + output.append("\n"); + output.append("\tIPv4Addresses: "); + output.append(IPv4Addresses); + output.append("\n"); + output.append("\tIPv6Addresses: "); + output.append(IPv6Addresses); + output.append("\n"); + output.append("\ttype: "); + output.append(type); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class SoftwareDiagnosticsClusterThreadMetricsStruct { +public Long id; +public Optional name; +public Optional stackFreeCurrent; +public Optional stackFreeMinimum; +public Optional stackSize; + + public SoftwareDiagnosticsClusterThreadMetricsStruct( + Long id + , Optional name + , Optional stackFreeCurrent + , Optional stackFreeMinimum + , Optional stackSize + ) { + this.id = id; + this.name = name; + this.stackFreeCurrent = stackFreeCurrent; + this.stackFreeMinimum = stackFreeMinimum; + this.stackSize = stackSize; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("SoftwareDiagnosticsClusterThreadMetricsStruct {\n"); + output.append("\tid: "); + output.append(id); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\tstackFreeCurrent: "); + output.append(stackFreeCurrent); + output.append("\n"); + output.append("\tstackFreeMinimum: "); + output.append(stackFreeMinimum); + output.append("\n"); + output.append("\tstackSize: "); + output.append(stackSize); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ThreadNetworkDiagnosticsClusterNeighborTableStruct { +public Long extAddress; +public Long age; +public Integer rloc16; +public Long linkFrameCounter; +public Long mleFrameCounter; +public Integer lqi; +public @Nullable Integer averageRssi; +public @Nullable Integer lastRssi; +public Integer frameErrorRate; +public Integer messageErrorRate; +public Boolean rxOnWhenIdle; +public Boolean fullThreadDevice; +public Boolean fullNetworkData; +public Boolean isChild; + + public ThreadNetworkDiagnosticsClusterNeighborTableStruct( + Long extAddress + , Long age + , Integer rloc16 + , Long linkFrameCounter + , Long mleFrameCounter + , Integer lqi + , @Nullable Integer averageRssi + , @Nullable Integer lastRssi + , Integer frameErrorRate + , Integer messageErrorRate + , Boolean rxOnWhenIdle + , Boolean fullThreadDevice + , Boolean fullNetworkData + , Boolean isChild + ) { + this.extAddress = extAddress; + this.age = age; + this.rloc16 = rloc16; + this.linkFrameCounter = linkFrameCounter; + this.mleFrameCounter = mleFrameCounter; + this.lqi = lqi; + this.averageRssi = averageRssi; + this.lastRssi = lastRssi; + this.frameErrorRate = frameErrorRate; + this.messageErrorRate = messageErrorRate; + this.rxOnWhenIdle = rxOnWhenIdle; + this.fullThreadDevice = fullThreadDevice; + this.fullNetworkData = fullNetworkData; + this.isChild = isChild; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ThreadNetworkDiagnosticsClusterNeighborTableStruct {\n"); + output.append("\textAddress: "); + output.append(extAddress); + output.append("\n"); + output.append("\tage: "); + output.append(age); + output.append("\n"); + output.append("\trloc16: "); + output.append(rloc16); + output.append("\n"); + output.append("\tlinkFrameCounter: "); + output.append(linkFrameCounter); + output.append("\n"); + output.append("\tmleFrameCounter: "); + output.append(mleFrameCounter); + output.append("\n"); + output.append("\tlqi: "); + output.append(lqi); + output.append("\n"); + output.append("\taverageRssi: "); + output.append(averageRssi); + output.append("\n"); + output.append("\tlastRssi: "); + output.append(lastRssi); + output.append("\n"); + output.append("\tframeErrorRate: "); + output.append(frameErrorRate); + output.append("\n"); + output.append("\tmessageErrorRate: "); + output.append(messageErrorRate); + output.append("\n"); + output.append("\trxOnWhenIdle: "); + output.append(rxOnWhenIdle); + output.append("\n"); + output.append("\tfullThreadDevice: "); + output.append(fullThreadDevice); + output.append("\n"); + output.append("\tfullNetworkData: "); + output.append(fullNetworkData); + output.append("\n"); + output.append("\tisChild: "); + output.append(isChild); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ThreadNetworkDiagnosticsClusterOperationalDatasetComponents { +public Boolean activeTimestampPresent; +public Boolean pendingTimestampPresent; +public Boolean masterKeyPresent; +public Boolean networkNamePresent; +public Boolean extendedPanIdPresent; +public Boolean meshLocalPrefixPresent; +public Boolean delayPresent; +public Boolean panIdPresent; +public Boolean channelPresent; +public Boolean pskcPresent; +public Boolean securityPolicyPresent; +public Boolean channelMaskPresent; + + public ThreadNetworkDiagnosticsClusterOperationalDatasetComponents( + Boolean activeTimestampPresent + , Boolean pendingTimestampPresent + , Boolean masterKeyPresent + , Boolean networkNamePresent + , Boolean extendedPanIdPresent + , Boolean meshLocalPrefixPresent + , Boolean delayPresent + , Boolean panIdPresent + , Boolean channelPresent + , Boolean pskcPresent + , Boolean securityPolicyPresent + , Boolean channelMaskPresent + ) { + this.activeTimestampPresent = activeTimestampPresent; + this.pendingTimestampPresent = pendingTimestampPresent; + this.masterKeyPresent = masterKeyPresent; + this.networkNamePresent = networkNamePresent; + this.extendedPanIdPresent = extendedPanIdPresent; + this.meshLocalPrefixPresent = meshLocalPrefixPresent; + this.delayPresent = delayPresent; + this.panIdPresent = panIdPresent; + this.channelPresent = channelPresent; + this.pskcPresent = pskcPresent; + this.securityPolicyPresent = securityPolicyPresent; + this.channelMaskPresent = channelMaskPresent; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ThreadNetworkDiagnosticsClusterOperationalDatasetComponents {\n"); + output.append("\tactiveTimestampPresent: "); + output.append(activeTimestampPresent); + output.append("\n"); + output.append("\tpendingTimestampPresent: "); + output.append(pendingTimestampPresent); + output.append("\n"); + output.append("\tmasterKeyPresent: "); + output.append(masterKeyPresent); + output.append("\n"); + output.append("\tnetworkNamePresent: "); + output.append(networkNamePresent); + output.append("\n"); + output.append("\textendedPanIdPresent: "); + output.append(extendedPanIdPresent); + output.append("\n"); + output.append("\tmeshLocalPrefixPresent: "); + output.append(meshLocalPrefixPresent); + output.append("\n"); + output.append("\tdelayPresent: "); + output.append(delayPresent); + output.append("\n"); + output.append("\tpanIdPresent: "); + output.append(panIdPresent); + output.append("\n"); + output.append("\tchannelPresent: "); + output.append(channelPresent); + output.append("\n"); + output.append("\tpskcPresent: "); + output.append(pskcPresent); + output.append("\n"); + output.append("\tsecurityPolicyPresent: "); + output.append(securityPolicyPresent); + output.append("\n"); + output.append("\tchannelMaskPresent: "); + output.append(channelMaskPresent); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ThreadNetworkDiagnosticsClusterRouteTableStruct { +public Long extAddress; +public Integer rloc16; +public Integer routerId; +public Integer nextHop; +public Integer pathCost; +public Integer LQIIn; +public Integer LQIOut; +public Integer age; +public Boolean allocated; +public Boolean linkEstablished; + + public ThreadNetworkDiagnosticsClusterRouteTableStruct( + Long extAddress + , Integer rloc16 + , Integer routerId + , Integer nextHop + , Integer pathCost + , Integer LQIIn + , Integer LQIOut + , Integer age + , Boolean allocated + , Boolean linkEstablished + ) { + this.extAddress = extAddress; + this.rloc16 = rloc16; + this.routerId = routerId; + this.nextHop = nextHop; + this.pathCost = pathCost; + this.LQIIn = LQIIn; + this.LQIOut = LQIOut; + this.age = age; + this.allocated = allocated; + this.linkEstablished = linkEstablished; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ThreadNetworkDiagnosticsClusterRouteTableStruct {\n"); + output.append("\textAddress: "); + output.append(extAddress); + output.append("\n"); + output.append("\trloc16: "); + output.append(rloc16); + output.append("\n"); + output.append("\trouterId: "); + output.append(routerId); + output.append("\n"); + output.append("\tnextHop: "); + output.append(nextHop); + output.append("\n"); + output.append("\tpathCost: "); + output.append(pathCost); + output.append("\n"); + output.append("\tLQIIn: "); + output.append(LQIIn); + output.append("\n"); + output.append("\tLQIOut: "); + output.append(LQIOut); + output.append("\n"); + output.append("\tage: "); + output.append(age); + output.append("\n"); + output.append("\tallocated: "); + output.append(allocated); + output.append("\n"); + output.append("\tlinkEstablished: "); + output.append(linkEstablished); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ThreadNetworkDiagnosticsClusterSecurityPolicy { +public Integer rotationTime; +public Integer flags; + + public ThreadNetworkDiagnosticsClusterSecurityPolicy( + Integer rotationTime + , Integer flags + ) { + this.rotationTime = rotationTime; + this.flags = flags; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ThreadNetworkDiagnosticsClusterSecurityPolicy {\n"); + output.append("\trotationTime: "); + output.append(rotationTime); + output.append("\n"); + output.append("\tflags: "); + output.append(flags); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterDSTOffsetStruct { +public Long offset; +public Long validStarting; +public @Nullable Long validUntil; + + public TimeSynchronizationClusterDSTOffsetStruct( + Long offset + , Long validStarting + , @Nullable Long validUntil + ) { + this.offset = offset; + this.validStarting = validStarting; + this.validUntil = validUntil; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterDSTOffsetStruct {\n"); + output.append("\toffset: "); + output.append(offset); + output.append("\n"); + output.append("\tvalidStarting: "); + output.append(validStarting); + output.append("\n"); + output.append("\tvalidUntil: "); + output.append(validUntil); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct { +public Long nodeID; +public Integer endpoint; + + public TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct( + Long nodeID + , Integer endpoint + ) { + this.nodeID = nodeID; + this.endpoint = endpoint; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct {\n"); + output.append("\tnodeID: "); + output.append(nodeID); + output.append("\n"); + output.append("\tendpoint: "); + output.append(endpoint); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterTimeZoneStruct { +public Long offset; +public Long validAt; +public Optional name; + + public TimeSynchronizationClusterTimeZoneStruct( + Long offset + , Long validAt + , Optional name + ) { + this.offset = offset; + this.validAt = validAt; + this.name = name; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterTimeZoneStruct {\n"); + output.append("\toffset: "); + output.append(offset); + output.append("\n"); + output.append("\tvalidAt: "); + output.append(validAt); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TimeSynchronizationClusterTrustedTimeSourceStruct { +public Integer fabricIndex; +public Long nodeID; +public Integer endpoint; + + public TimeSynchronizationClusterTrustedTimeSourceStruct( + Integer fabricIndex + , Long nodeID + , Integer endpoint + ) { + this.fabricIndex = fabricIndex; + this.nodeID = nodeID; + this.endpoint = endpoint; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TimeSynchronizationClusterTrustedTimeSourceStruct {\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("\tnodeID: "); + output.append(nodeID); + output.append("\n"); + output.append("\tendpoint: "); + output.append(endpoint); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class BridgedDeviceBasicInformationClusterProductAppearanceStruct { +public Integer finish; +public @Nullable Integer primaryColor; + + public BridgedDeviceBasicInformationClusterProductAppearanceStruct( + Integer finish + , @Nullable Integer primaryColor + ) { + this.finish = finish; + this.primaryColor = primaryColor; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("BridgedDeviceBasicInformationClusterProductAppearanceStruct {\n"); + output.append("\tfinish: "); + output.append(finish); + output.append("\n"); + output.append("\tprimaryColor: "); + output.append(primaryColor); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OperationalCredentialsClusterFabricDescriptorStruct { +public byte[] rootPublicKey; +public Integer vendorID; +public Long fabricID; +public Long nodeID; +public String label; +public Integer fabricIndex; + + public OperationalCredentialsClusterFabricDescriptorStruct( + byte[] rootPublicKey + , Integer vendorID + , Long fabricID + , Long nodeID + , String label + , Integer fabricIndex + ) { + this.rootPublicKey = rootPublicKey; + this.vendorID = vendorID; + this.fabricID = fabricID; + this.nodeID = nodeID; + this.label = label; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OperationalCredentialsClusterFabricDescriptorStruct {\n"); + output.append("\trootPublicKey: "); + output.append(Arrays.toString(rootPublicKey)); + output.append("\n"); + output.append("\tvendorID: "); + output.append(vendorID); + output.append("\n"); + output.append("\tfabricID: "); + output.append(fabricID); + output.append("\n"); + output.append("\tnodeID: "); + output.append(nodeID); + output.append("\n"); + output.append("\tlabel: "); + output.append(label); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OperationalCredentialsClusterNOCStruct { +public byte[] noc; +public @Nullable byte[] icac; +public Integer fabricIndex; + + public OperationalCredentialsClusterNOCStruct( + byte[] noc + , @Nullable byte[] icac + , Integer fabricIndex + ) { + this.noc = noc; + this.icac = icac; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OperationalCredentialsClusterNOCStruct {\n"); + output.append("\tnoc: "); + output.append(Arrays.toString(noc)); + output.append("\n"); + output.append("\ticac: "); + output.append(Arrays.toString(icac)); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GroupKeyManagementClusterGroupInfoMapStruct { +public Integer groupId; +public ArrayList endpoints; +public Optional groupName; +public Integer fabricIndex; + + public GroupKeyManagementClusterGroupInfoMapStruct( + Integer groupId + , ArrayList endpoints + , Optional groupName + , Integer fabricIndex + ) { + this.groupId = groupId; + this.endpoints = endpoints; + this.groupName = groupName; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GroupKeyManagementClusterGroupInfoMapStruct {\n"); + output.append("\tgroupId: "); + output.append(groupId); + output.append("\n"); + output.append("\tendpoints: "); + output.append(endpoints); + output.append("\n"); + output.append("\tgroupName: "); + output.append(groupName); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GroupKeyManagementClusterGroupKeyMapStruct { +public Integer groupId; +public Integer groupKeySetID; +public Integer fabricIndex; + + public GroupKeyManagementClusterGroupKeyMapStruct( + Integer groupId + , Integer groupKeySetID + , Integer fabricIndex + ) { + this.groupId = groupId; + this.groupKeySetID = groupKeySetID; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GroupKeyManagementClusterGroupKeyMapStruct {\n"); + output.append("\tgroupId: "); + output.append(groupId); + output.append("\n"); + output.append("\tgroupKeySetID: "); + output.append(groupKeySetID); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class GroupKeyManagementClusterGroupKeySetStruct { +public Integer groupKeySetID; +public Integer groupKeySecurityPolicy; +public @Nullable byte[] epochKey0; +public @Nullable Long epochStartTime0; +public @Nullable byte[] epochKey1; +public @Nullable Long epochStartTime1; +public @Nullable byte[] epochKey2; +public @Nullable Long epochStartTime2; + + public GroupKeyManagementClusterGroupKeySetStruct( + Integer groupKeySetID + , Integer groupKeySecurityPolicy + , @Nullable byte[] epochKey0 + , @Nullable Long epochStartTime0 + , @Nullable byte[] epochKey1 + , @Nullable Long epochStartTime1 + , @Nullable byte[] epochKey2 + , @Nullable Long epochStartTime2 + ) { + this.groupKeySetID = groupKeySetID; + this.groupKeySecurityPolicy = groupKeySecurityPolicy; + this.epochKey0 = epochKey0; + this.epochStartTime0 = epochStartTime0; + this.epochKey1 = epochKey1; + this.epochStartTime1 = epochStartTime1; + this.epochKey2 = epochKey2; + this.epochStartTime2 = epochStartTime2; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("GroupKeyManagementClusterGroupKeySetStruct {\n"); + output.append("\tgroupKeySetID: "); + output.append(groupKeySetID); + output.append("\n"); + output.append("\tgroupKeySecurityPolicy: "); + output.append(groupKeySecurityPolicy); + output.append("\n"); + output.append("\tepochKey0: "); + output.append(Arrays.toString(epochKey0)); + output.append("\n"); + output.append("\tepochStartTime0: "); + output.append(epochStartTime0); + output.append("\n"); + output.append("\tepochKey1: "); + output.append(Arrays.toString(epochKey1)); + output.append("\n"); + output.append("\tepochStartTime1: "); + output.append(epochStartTime1); + output.append("\n"); + output.append("\tepochKey2: "); + output.append(Arrays.toString(epochKey2)); + output.append("\n"); + output.append("\tepochStartTime2: "); + output.append(epochStartTime2); + output.append("\n"); + output.append("}\n"); + return output.toString(); } } + +public static class FixedLabelClusterLabelStruct { +public String label; +public String value; + + public FixedLabelClusterLabelStruct( + String label + , String value + ) { + this.label = label; + this.value = value; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("FixedLabelClusterLabelStruct {\n"); + output.append("\tlabel: "); + output.append(label); + output.append("\n"); + output.append("\tvalue: "); + output.append(value); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UserLabelClusterLabelStruct { +public String label; +public String value; + + public UserLabelClusterLabelStruct( + String label + , String value + ) { + this.label = label; + this.value = value; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UserLabelClusterLabelStruct {\n"); + output.append("\tlabel: "); + output.append(label); + output.append("\n"); + output.append("\tvalue: "); + output.append(value); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class IcdManagementClusterMonitoringRegistrationStruct { +public Long checkInNodeID; +public Long monitoredSubject; +public byte[] key; +public Integer fabricIndex; + + public IcdManagementClusterMonitoringRegistrationStruct( + Long checkInNodeID + , Long monitoredSubject + , byte[] key + , Integer fabricIndex + ) { + this.checkInNodeID = checkInNodeID; + this.monitoredSubject = monitoredSubject; + this.key = key; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("IcdManagementClusterMonitoringRegistrationStruct {\n"); + output.append("\tcheckInNodeID: "); + output.append(checkInNodeID); + output.append("\n"); + output.append("\tmonitoredSubject: "); + output.append(monitoredSubject); + output.append("\n"); + output.append("\tkey: "); + output.append(Arrays.toString(key)); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ModeSelectClusterSemanticTagStruct { +public Integer mfgCode; +public Integer value; + + public ModeSelectClusterSemanticTagStruct( + Integer mfgCode + , Integer value + ) { + this.mfgCode = mfgCode; + this.value = value; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ModeSelectClusterSemanticTagStruct {\n"); + output.append("\tmfgCode: "); + output.append(mfgCode); + output.append("\n"); + output.append("\tvalue: "); + output.append(value); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ModeSelectClusterModeOptionStruct { +public String label; +public Integer mode; +public ArrayList semanticTags; + + public ModeSelectClusterModeOptionStruct( + String label + , Integer mode + , ArrayList semanticTags + ) { + this.label = label; + this.mode = mode; + this.semanticTags = semanticTags; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ModeSelectClusterModeOptionStruct {\n"); + output.append("\tlabel: "); + output.append(label); + output.append("\n"); + output.append("\tmode: "); + output.append(mode); + output.append("\n"); + output.append("\tsemanticTags: "); + output.append(semanticTags); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TemperatureControlClusterTemperatureLevelStruct { +public String label; +public Integer temperatureLevel; + + public TemperatureControlClusterTemperatureLevelStruct( + String label + , Integer temperatureLevel + ) { + this.label = label; + this.temperatureLevel = temperatureLevel; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TemperatureControlClusterTemperatureLevelStruct {\n"); + output.append("\tlabel: "); + output.append(label); + output.append("\n"); + output.append("\ttemperatureLevel: "); + output.append(temperatureLevel); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OperationalStateClusterErrorStateStruct { +public Integer errorStateID; +public @Nullable String errorStateLabel; +public Optional errorStateDetails; + + public OperationalStateClusterErrorStateStruct( + Integer errorStateID + , @Nullable String errorStateLabel + , Optional errorStateDetails + ) { + this.errorStateID = errorStateID; + this.errorStateLabel = errorStateLabel; + this.errorStateDetails = errorStateDetails; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OperationalStateClusterErrorStateStruct {\n"); + output.append("\terrorStateID: "); + output.append(errorStateID); + output.append("\n"); + output.append("\terrorStateLabel: "); + output.append(errorStateLabel); + output.append("\n"); + output.append("\terrorStateDetails: "); + output.append(errorStateDetails); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class OperationalStateClusterOperationalStateStruct { +public Integer operationalStateID; +public String operationalStateLabel; + + public OperationalStateClusterOperationalStateStruct( + Integer operationalStateID + , String operationalStateLabel + ) { + this.operationalStateID = operationalStateID; + this.operationalStateLabel = operationalStateLabel; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("OperationalStateClusterOperationalStateStruct {\n"); + output.append("\toperationalStateID: "); + output.append(operationalStateID); + output.append("\n"); + output.append("\toperationalStateLabel: "); + output.append(operationalStateLabel); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class DoorLockClusterCredentialStruct { +public Integer credentialType; +public Integer credentialIndex; + + public DoorLockClusterCredentialStruct( + Integer credentialType + , Integer credentialIndex + ) { + this.credentialType = credentialType; + this.credentialIndex = credentialIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("DoorLockClusterCredentialStruct {\n"); + output.append("\tcredentialType: "); + output.append(credentialType); + output.append("\n"); + output.append("\tcredentialIndex: "); + output.append(credentialIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ThermostatClusterThermostatScheduleTransition { +public Integer transitionTime; +public @Nullable Integer heatSetpoint; +public @Nullable Integer coolSetpoint; + + public ThermostatClusterThermostatScheduleTransition( + Integer transitionTime + , @Nullable Integer heatSetpoint + , @Nullable Integer coolSetpoint + ) { + this.transitionTime = transitionTime; + this.heatSetpoint = heatSetpoint; + this.coolSetpoint = coolSetpoint; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ThermostatClusterThermostatScheduleTransition {\n"); + output.append("\ttransitionTime: "); + output.append(transitionTime); + output.append("\n"); + output.append("\theatSetpoint: "); + output.append(heatSetpoint); + output.append("\n"); + output.append("\tcoolSetpoint: "); + output.append(coolSetpoint); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ChannelClusterChannelInfoStruct { +public Integer majorNumber; +public Integer minorNumber; +public Optional name; +public Optional callSign; +public Optional affiliateCallSign; + + public ChannelClusterChannelInfoStruct( + Integer majorNumber + , Integer minorNumber + , Optional name + , Optional callSign + , Optional affiliateCallSign + ) { + this.majorNumber = majorNumber; + this.minorNumber = minorNumber; + this.name = name; + this.callSign = callSign; + this.affiliateCallSign = affiliateCallSign; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ChannelClusterChannelInfoStruct {\n"); + output.append("\tmajorNumber: "); + output.append(majorNumber); + output.append("\n"); + output.append("\tminorNumber: "); + output.append(minorNumber); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\tcallSign: "); + output.append(callSign); + output.append("\n"); + output.append("\taffiliateCallSign: "); + output.append(affiliateCallSign); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ChannelClusterLineupInfoStruct { +public String operatorName; +public Optional lineupName; +public Optional postalCode; +public Integer lineupInfoType; + + public ChannelClusterLineupInfoStruct( + String operatorName + , Optional lineupName + , Optional postalCode + , Integer lineupInfoType + ) { + this.operatorName = operatorName; + this.lineupName = lineupName; + this.postalCode = postalCode; + this.lineupInfoType = lineupInfoType; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ChannelClusterLineupInfoStruct {\n"); + output.append("\toperatorName: "); + output.append(operatorName); + output.append("\n"); + output.append("\tlineupName: "); + output.append(lineupName); + output.append("\n"); + output.append("\tpostalCode: "); + output.append(postalCode); + output.append("\n"); + output.append("\tlineupInfoType: "); + output.append(lineupInfoType); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class TargetNavigatorClusterTargetInfoStruct { +public Integer identifier; +public String name; + + public TargetNavigatorClusterTargetInfoStruct( + Integer identifier + , String name + ) { + this.identifier = identifier; + this.name = name; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("TargetNavigatorClusterTargetInfoStruct {\n"); + output.append("\tidentifier: "); + output.append(identifier); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class MediaPlaybackClusterPlaybackPositionStruct { +public Long updatedAt; +public @Nullable Long position; + + public MediaPlaybackClusterPlaybackPositionStruct( + Long updatedAt + , @Nullable Long position + ) { + this.updatedAt = updatedAt; + this.position = position; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("MediaPlaybackClusterPlaybackPositionStruct {\n"); + output.append("\tupdatedAt: "); + output.append(updatedAt); + output.append("\n"); + output.append("\tposition: "); + output.append(position); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class MediaInputClusterInputInfoStruct { +public Integer index; +public Integer inputType; +public String name; +public String description; + + public MediaInputClusterInputInfoStruct( + Integer index + , Integer inputType + , String name + , String description + ) { + this.index = index; + this.inputType = inputType; + this.name = name; + this.description = description; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("MediaInputClusterInputInfoStruct {\n"); + output.append("\tindex: "); + output.append(index); + output.append("\n"); + output.append("\tinputType: "); + output.append(inputType); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\tdescription: "); + output.append(description); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ContentLauncherClusterDimensionStruct { +public Double width; +public Double height; +public Integer metric; + + public ContentLauncherClusterDimensionStruct( + Double width + , Double height + , Integer metric + ) { + this.width = width; + this.height = height; + this.metric = metric; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ContentLauncherClusterDimensionStruct {\n"); + output.append("\twidth: "); + output.append(width); + output.append("\n"); + output.append("\theight: "); + output.append(height); + output.append("\n"); + output.append("\tmetric: "); + output.append(metric); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ContentLauncherClusterAdditionalInfoStruct { +public String name; +public String value; + + public ContentLauncherClusterAdditionalInfoStruct( + String name + , String value + ) { + this.name = name; + this.value = value; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ContentLauncherClusterAdditionalInfoStruct {\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("\tvalue: "); + output.append(value); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ContentLauncherClusterParameterStruct { +public Integer type; +public String value; +public Optional> externalIDList; + + public ContentLauncherClusterParameterStruct( + Integer type + , String value + , Optional> externalIDList + ) { + this.type = type; + this.value = value; + this.externalIDList = externalIDList; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ContentLauncherClusterParameterStruct {\n"); + output.append("\ttype: "); + output.append(type); + output.append("\n"); + output.append("\tvalue: "); + output.append(value); + output.append("\n"); + output.append("\texternalIDList: "); + output.append(externalIDList); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ContentLauncherClusterContentSearchStruct { +public ArrayList parameterList; + + public ContentLauncherClusterContentSearchStruct( + ArrayList parameterList + ) { + this.parameterList = parameterList; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ContentLauncherClusterContentSearchStruct {\n"); + output.append("\tparameterList: "); + output.append(parameterList); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ContentLauncherClusterStyleInformationStruct { +public Optional imageURL; +public Optional color; +public Optional size; + + public ContentLauncherClusterStyleInformationStruct( + Optional imageURL + , Optional color + , Optional size + ) { + this.imageURL = imageURL; + this.color = color; + this.size = size; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ContentLauncherClusterStyleInformationStruct {\n"); + output.append("\timageURL: "); + output.append(imageURL); + output.append("\n"); + output.append("\tcolor: "); + output.append(color); + output.append("\n"); + output.append("\tsize: "); + output.append(size); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ContentLauncherClusterBrandingInformationStruct { +public String providerName; +public Optional background; +public Optional logo; +public Optional progressBar; +public Optional splash; +public Optional waterMark; + + public ContentLauncherClusterBrandingInformationStruct( + String providerName + , Optional background + , Optional logo + , Optional progressBar + , Optional splash + , Optional waterMark + ) { + this.providerName = providerName; + this.background = background; + this.logo = logo; + this.progressBar = progressBar; + this.splash = splash; + this.waterMark = waterMark; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ContentLauncherClusterBrandingInformationStruct {\n"); + output.append("\tproviderName: "); + output.append(providerName); + output.append("\n"); + output.append("\tbackground: "); + output.append(background); + output.append("\n"); + output.append("\tlogo: "); + output.append(logo); + output.append("\n"); + output.append("\tprogressBar: "); + output.append(progressBar); + output.append("\n"); + output.append("\tsplash: "); + output.append(splash); + output.append("\n"); + output.append("\twaterMark: "); + output.append(waterMark); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class AudioOutputClusterOutputInfoStruct { +public Integer index; +public Integer outputType; +public String name; + + public AudioOutputClusterOutputInfoStruct( + Integer index + , Integer outputType + , String name + ) { + this.index = index; + this.outputType = outputType; + this.name = name; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("AudioOutputClusterOutputInfoStruct {\n"); + output.append("\tindex: "); + output.append(index); + output.append("\n"); + output.append("\toutputType: "); + output.append(outputType); + output.append("\n"); + output.append("\tname: "); + output.append(name); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ApplicationLauncherClusterApplicationStruct { +public Integer catalogVendorID; +public String applicationID; + + public ApplicationLauncherClusterApplicationStruct( + Integer catalogVendorID + , String applicationID + ) { + this.catalogVendorID = catalogVendorID; + this.applicationID = applicationID; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ApplicationLauncherClusterApplicationStruct {\n"); + output.append("\tcatalogVendorID: "); + output.append(catalogVendorID); + output.append("\n"); + output.append("\tapplicationID: "); + output.append(applicationID); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ApplicationLauncherClusterApplicationEPStruct { +public ChipStructs.ApplicationLauncherClusterApplicationStruct application; +public Optional endpoint; + + public ApplicationLauncherClusterApplicationEPStruct( + ChipStructs.ApplicationLauncherClusterApplicationStruct application + , Optional endpoint + ) { + this.application = application; + this.endpoint = endpoint; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ApplicationLauncherClusterApplicationEPStruct {\n"); + output.append("\tapplication: "); + output.append(application); + output.append("\n"); + output.append("\tendpoint: "); + output.append(endpoint); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class ApplicationBasicClusterApplicationStruct { +public Integer catalogVendorID; +public String applicationID; + + public ApplicationBasicClusterApplicationStruct( + Integer catalogVendorID + , String applicationID + ) { + this.catalogVendorID = catalogVendorID; + this.applicationID = applicationID; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("ApplicationBasicClusterApplicationStruct {\n"); + output.append("\tcatalogVendorID: "); + output.append(catalogVendorID); + output.append("\n"); + output.append("\tapplicationID: "); + output.append(applicationID); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UnitTestingClusterSimpleStruct { +public Integer a; +public Boolean b; +public Integer c; +public byte[] d; +public String e; +public Integer f; +public Float g; +public Double h; + + public UnitTestingClusterSimpleStruct( + Integer a + , Boolean b + , Integer c + , byte[] d + , String e + , Integer f + , Float g + , Double h + ) { + this.a = a; + this.b = b; + this.c = c; + this.d = d; + this.e = e; + this.f = f; + this.g = g; + this.h = h; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterSimpleStruct {\n"); + output.append("\ta: "); + output.append(a); + output.append("\n"); + output.append("\tb: "); + output.append(b); + output.append("\n"); + output.append("\tc: "); + output.append(c); + output.append("\n"); + output.append("\td: "); + output.append(Arrays.toString(d)); + output.append("\n"); + output.append("\te: "); + output.append(e); + output.append("\n"); + output.append("\tf: "); + output.append(f); + output.append("\n"); + output.append("\tg: "); + output.append(g); + output.append("\n"); + output.append("\th: "); + output.append(h); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UnitTestingClusterTestFabricScoped { +public Integer fabricSensitiveInt8u; +public Optional optionalFabricSensitiveInt8u; +public @Nullable Integer nullableFabricSensitiveInt8u; +public @Nullable Optional nullableOptionalFabricSensitiveInt8u; +public String fabricSensitiveCharString; +public ChipStructs.UnitTestingClusterSimpleStruct fabricSensitiveStruct; +public ArrayList fabricSensitiveInt8uList; +public Integer fabricIndex; + + public UnitTestingClusterTestFabricScoped( + Integer fabricSensitiveInt8u + , Optional optionalFabricSensitiveInt8u + , @Nullable Integer nullableFabricSensitiveInt8u + , @Nullable Optional nullableOptionalFabricSensitiveInt8u + , String fabricSensitiveCharString + , ChipStructs.UnitTestingClusterSimpleStruct fabricSensitiveStruct + , ArrayList fabricSensitiveInt8uList + , Integer fabricIndex + ) { + this.fabricSensitiveInt8u = fabricSensitiveInt8u; + this.optionalFabricSensitiveInt8u = optionalFabricSensitiveInt8u; + this.nullableFabricSensitiveInt8u = nullableFabricSensitiveInt8u; + this.nullableOptionalFabricSensitiveInt8u = nullableOptionalFabricSensitiveInt8u; + this.fabricSensitiveCharString = fabricSensitiveCharString; + this.fabricSensitiveStruct = fabricSensitiveStruct; + this.fabricSensitiveInt8uList = fabricSensitiveInt8uList; + this.fabricIndex = fabricIndex; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterTestFabricScoped {\n"); + output.append("\tfabricSensitiveInt8u: "); + output.append(fabricSensitiveInt8u); + output.append("\n"); + output.append("\toptionalFabricSensitiveInt8u: "); + output.append(optionalFabricSensitiveInt8u); + output.append("\n"); + output.append("\tnullableFabricSensitiveInt8u: "); + output.append(nullableFabricSensitiveInt8u); + output.append("\n"); + output.append("\tnullableOptionalFabricSensitiveInt8u: "); + output.append(nullableOptionalFabricSensitiveInt8u); + output.append("\n"); + output.append("\tfabricSensitiveCharString: "); + output.append(fabricSensitiveCharString); + output.append("\n"); + output.append("\tfabricSensitiveStruct: "); + output.append(fabricSensitiveStruct); + output.append("\n"); + output.append("\tfabricSensitiveInt8uList: "); + output.append(fabricSensitiveInt8uList); + output.append("\n"); + output.append("\tfabricIndex: "); + output.append(fabricIndex); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UnitTestingClusterNullablesAndOptionalsStruct { +public @Nullable Integer nullableInt; +public Optional optionalInt; +public @Nullable Optional nullableOptionalInt; +public @Nullable String nullableString; +public Optional optionalString; +public @Nullable Optional nullableOptionalString; +public @Nullable ChipStructs.UnitTestingClusterSimpleStruct nullableStruct; +public Optional optionalStruct; +public @Nullable Optional nullableOptionalStruct; +public @Nullable ArrayList nullableList; +public Optional> optionalList; +public @Nullable Optional> nullableOptionalList; + + public UnitTestingClusterNullablesAndOptionalsStruct( + @Nullable Integer nullableInt + , Optional optionalInt + , @Nullable Optional nullableOptionalInt + , @Nullable String nullableString + , Optional optionalString + , @Nullable Optional nullableOptionalString + , @Nullable ChipStructs.UnitTestingClusterSimpleStruct nullableStruct + , Optional optionalStruct + , @Nullable Optional nullableOptionalStruct + , @Nullable ArrayList nullableList + , Optional> optionalList + , @Nullable Optional> nullableOptionalList + ) { + this.nullableInt = nullableInt; + this.optionalInt = optionalInt; + this.nullableOptionalInt = nullableOptionalInt; + this.nullableString = nullableString; + this.optionalString = optionalString; + this.nullableOptionalString = nullableOptionalString; + this.nullableStruct = nullableStruct; + this.optionalStruct = optionalStruct; + this.nullableOptionalStruct = nullableOptionalStruct; + this.nullableList = nullableList; + this.optionalList = optionalList; + this.nullableOptionalList = nullableOptionalList; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterNullablesAndOptionalsStruct {\n"); + output.append("\tnullableInt: "); + output.append(nullableInt); + output.append("\n"); + output.append("\toptionalInt: "); + output.append(optionalInt); + output.append("\n"); + output.append("\tnullableOptionalInt: "); + output.append(nullableOptionalInt); + output.append("\n"); + output.append("\tnullableString: "); + output.append(nullableString); + output.append("\n"); + output.append("\toptionalString: "); + output.append(optionalString); + output.append("\n"); + output.append("\tnullableOptionalString: "); + output.append(nullableOptionalString); + output.append("\n"); + output.append("\tnullableStruct: "); + output.append(nullableStruct); + output.append("\n"); + output.append("\toptionalStruct: "); + output.append(optionalStruct); + output.append("\n"); + output.append("\tnullableOptionalStruct: "); + output.append(nullableOptionalStruct); + output.append("\n"); + output.append("\tnullableList: "); + output.append(nullableList); + output.append("\n"); + output.append("\toptionalList: "); + output.append(optionalList); + output.append("\n"); + output.append("\tnullableOptionalList: "); + output.append(nullableOptionalList); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UnitTestingClusterNestedStruct { +public Integer a; +public Boolean b; +public ChipStructs.UnitTestingClusterSimpleStruct c; + + public UnitTestingClusterNestedStruct( + Integer a + , Boolean b + , ChipStructs.UnitTestingClusterSimpleStruct c + ) { + this.a = a; + this.b = b; + this.c = c; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterNestedStruct {\n"); + output.append("\ta: "); + output.append(a); + output.append("\n"); + output.append("\tb: "); + output.append(b); + output.append("\n"); + output.append("\tc: "); + output.append(c); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UnitTestingClusterNestedStructList { +public Integer a; +public Boolean b; +public ChipStructs.UnitTestingClusterSimpleStruct c; +public ArrayList d; +public ArrayList e; +public ArrayList f; +public ArrayList g; + + public UnitTestingClusterNestedStructList( + Integer a + , Boolean b + , ChipStructs.UnitTestingClusterSimpleStruct c + , ArrayList d + , ArrayList e + , ArrayList f + , ArrayList g + ) { + this.a = a; + this.b = b; + this.c = c; + this.d = d; + this.e = e; + this.f = f; + this.g = g; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterNestedStructList {\n"); + output.append("\ta: "); + output.append(a); + output.append("\n"); + output.append("\tb: "); + output.append(b); + output.append("\n"); + output.append("\tc: "); + output.append(c); + output.append("\n"); + output.append("\td: "); + output.append(d); + output.append("\n"); + output.append("\te: "); + output.append(e); + output.append("\n"); + output.append("\tf: "); + output.append(f); + output.append("\n"); + output.append("\tg: "); + output.append(g); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UnitTestingClusterDoubleNestedStructList { +public ArrayList a; + + public UnitTestingClusterDoubleNestedStructList( + ArrayList a + ) { + this.a = a; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterDoubleNestedStructList {\n"); + output.append("\ta: "); + output.append(a); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +public static class UnitTestingClusterTestListStructOctet { +public Long member1; +public byte[] member2; + + public UnitTestingClusterTestListStructOctet( + Long member1 + , byte[] member2 + ) { + this.member1 = member1; + this.member2 = member2; + } + + @Override + public String toString() { + StringBuilder output = new StringBuilder(); + output.append("UnitTestingClusterTestListStructOctet {\n"); + output.append("\tmember1: "); + output.append(member1); + output.append("\n"); + output.append("\tmember2: "); + output.append(Arrays.toString(member2)); + output.append("\n"); + output.append("}\n"); + return output.toString(); + } +} + +} \ No newline at end of file diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java index 7dfe1e569b67c0..712a07424d3dc5 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -18,13 +18,7 @@ // THIS FILE IS GENERATED BY ZAP package chip.devicecontroller; -import chip.clusterinfo.ClusterCommandCallback; -import chip.clusterinfo.ClusterInfo; -import chip.clusterinfo.CommandParameterInfo; -import chip.clusterinfo.CommandResponseInfo; -import chip.clusterinfo.DelegatedClusterCallback; -import chip.clusterinfo.InteractionInfo; -import chip.devicecontroller.ChipClusters.DefaultClusterCallback; +import javax.annotation.Nullable; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; @@ -32,11 +26,19 @@ import java.util.Map; import java.util.Optional; import javax.annotation.Nullable; +import chip.clusterinfo.ClusterInfo; +import chip.clusterinfo.InteractionInfo; +import chip.clusterinfo.CommandParameterInfo; +import chip.clusterinfo.DelegatedClusterCallback; +import chip.clusterinfo.ClusterCommandCallback; +import chip.clusterinfo.CommandResponseInfo; +import chip.devicecontroller.ChipClusters.DefaultClusterCallback; +import chip.devicecontroller.ClusterReadMapping; +import chip.devicecontroller.ClusterWriteMapping; public class ClusterInfoMapping { - public static class DelegatedCharStringAttributeCallback - implements ChipClusters.CharStringAttributeCallback, DelegatedClusterCallback { + public static class DelegatedCharStringAttributeCallback implements ChipClusters.CharStringAttributeCallback, DelegatedClusterCallback { /** Indicates a successful read for a CHAR_STRING attribute. */ private ClusterCommandCallback callback; @@ -59,8 +61,7 @@ public void onError(Exception error) { } } - public static class DelegatedOctetStringAttributeCallback - implements ChipClusters.OctetStringAttributeCallback, DelegatedClusterCallback { + public static class DelegatedOctetStringAttributeCallback implements ChipClusters.OctetStringAttributeCallback, DelegatedClusterCallback { /** Indicates a successful read for an OCTET_STRING attribute. */ private ClusterCommandCallback callback; @@ -83,8 +84,7 @@ public void onError(Exception error) { } } - public static class DelegatedIntegerAttributeCallback - implements ChipClusters.IntegerAttributeCallback, DelegatedClusterCallback { + public static class DelegatedIntegerAttributeCallback implements ChipClusters.IntegerAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -106,8 +106,7 @@ public void onError(Exception error) { } } - public static class DelegatedLongAttributeCallback - implements ChipClusters.LongAttributeCallback, DelegatedClusterCallback { + public static class DelegatedLongAttributeCallback implements ChipClusters.LongAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -129,8 +128,7 @@ public void onError(Exception error) { } } - public static class DelegatedBooleanAttributeCallback - implements ChipClusters.BooleanAttributeCallback, DelegatedClusterCallback { + public static class DelegatedBooleanAttributeCallback implements ChipClusters.BooleanAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -152,8 +150,7 @@ public void onError(Exception error) { } } - public static class DelegatedFloatAttributeCallback - implements ChipClusters.FloatAttributeCallback, DelegatedClusterCallback { + public static class DelegatedFloatAttributeCallback implements ChipClusters.FloatAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -175,8 +172,7 @@ public void onError(Exception error) { } } - public static class DelegatedDoubleAttributeCallback - implements ChipClusters.DoubleAttributeCallback, DelegatedClusterCallback { + public static class DelegatedDoubleAttributeCallback implements ChipClusters.DoubleAttributeCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -198,8 +194,7 @@ public void onError(Exception error) { } } - public static class DelegatedDefaultClusterCallback - implements DefaultClusterCallback, DelegatedClusterCallback { + public static class DelegatedDefaultClusterCallback implements DefaultClusterCallback, DelegatedClusterCallback { private ClusterCommandCallback callback; @Override @@ -207,8 +202,7 @@ public void setCallbackDelegate(ClusterCommandCallback callback) { this.callback = callback; } - // Parameters and list-adds here should be generated - refer to the template code that creates - // each callback interface. + // Parameters and list-adds here should be generated - refer to the template code that creates each callback interface. @Override public void onSuccess() { Map responseValues = new LinkedHashMap<>(); @@ -220,29699 +214,23299 @@ public void onError(Exception e) { callback.onFailure(e); } } + public static class DelegatedIdentifyClusterGeneratedCommandListAttributeCallback implements ChipClusters.IdentifyCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIdentifyClusterAcceptedCommandListAttributeCallback implements ChipClusters.IdentifyCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIdentifyClusterEventListAttributeCallback implements ChipClusters.IdentifyCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIdentifyClusterAttributeListAttributeCallback implements ChipClusters.IdentifyCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupsClusterAddGroupResponseCallback implements ChipClusters.GroupsCluster.AddGroupResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupsClusterViewGroupResponseCallback implements ChipClusters.GroupsCluster.ViewGroupResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID, String GroupName) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + CommandResponseInfo GroupNameResponseValue = new CommandResponseInfo("GroupName", "String"); + responseValues.put(GroupNameResponseValue, GroupName); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupsClusterGetGroupMembershipResponseCallback implements ChipClusters.GroupsCluster.GetGroupMembershipResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(@Nullable Integer Capacity, ArrayList GroupList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo CapacityResponseValue = new CommandResponseInfo("Capacity", "Integer"); + responseValues.put(CapacityResponseValue, Capacity); + // GroupList: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupsClusterRemoveGroupResponseCallback implements ChipClusters.GroupsCluster.RemoveGroupResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupsClusterGeneratedCommandListAttributeCallback implements ChipClusters.GroupsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupsClusterAcceptedCommandListAttributeCallback implements ChipClusters.GroupsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupsClusterEventListAttributeCallback implements ChipClusters.GroupsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupsClusterAttributeListAttributeCallback implements ChipClusters.GroupsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedScenesClusterAddSceneResponseCallback implements ChipClusters.ScenesCluster.AddSceneResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID, Integer SceneID) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); + responseValues.put(SceneIDResponseValue, SceneID); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedScenesClusterViewSceneResponseCallback implements ChipClusters.ScenesCluster.ViewSceneResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID, Integer SceneID, Optional TransitionTime, Optional SceneName, Optional> ExtensionFieldSets) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); + responseValues.put(SceneIDResponseValue, SceneID); + CommandResponseInfo TransitionTimeResponseValue = new CommandResponseInfo("TransitionTime", "Optional"); + responseValues.put(TransitionTimeResponseValue, TransitionTime); + CommandResponseInfo SceneNameResponseValue = new CommandResponseInfo("SceneName", "Optional"); + responseValues.put(SceneNameResponseValue, SceneName); + // ExtensionFieldSets: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedScenesClusterRemoveSceneResponseCallback implements ChipClusters.ScenesCluster.RemoveSceneResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID, Integer SceneID) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); + responseValues.put(SceneIDResponseValue, SceneID); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedScenesClusterRemoveAllScenesResponseCallback implements ChipClusters.ScenesCluster.RemoveAllScenesResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedScenesClusterStoreSceneResponseCallback implements ChipClusters.ScenesCluster.StoreSceneResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Integer GroupID, Integer SceneID) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); + responseValues.put(SceneIDResponseValue, SceneID); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedScenesClusterGetSceneMembershipResponseCallback implements ChipClusters.ScenesCluster.GetSceneMembershipResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, @Nullable Integer Capacity, Integer GroupID, Optional> SceneList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo CapacityResponseValue = new CommandResponseInfo("Capacity", "Integer"); + responseValues.put(CapacityResponseValue, Capacity); + CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); + responseValues.put(GroupIDResponseValue, GroupID); + // SceneList: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedScenesClusterLastConfiguredByAttributeCallback implements ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedScenesClusterGeneratedCommandListAttributeCallback implements ChipClusters.ScenesCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedScenesClusterAcceptedCommandListAttributeCallback implements ChipClusters.ScenesCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedScenesClusterEventListAttributeCallback implements ChipClusters.ScenesCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedScenesClusterAttributeListAttributeCallback implements ChipClusters.ScenesCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOnOffClusterStartUpOnOffAttributeCallback implements ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback, 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 DelegatedOnOffClusterGeneratedCommandListAttributeCallback implements ChipClusters.OnOffCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOnOffClusterAcceptedCommandListAttributeCallback implements ChipClusters.OnOffCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOnOffClusterEventListAttributeCallback implements ChipClusters.OnOffCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOnOffClusterAttributeListAttributeCallback implements ChipClusters.OnOffCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOnOffSwitchConfigurationClusterGeneratedCommandListAttributeCallback implements ChipClusters.OnOffSwitchConfigurationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOnOffSwitchConfigurationClusterAcceptedCommandListAttributeCallback implements ChipClusters.OnOffSwitchConfigurationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOnOffSwitchConfigurationClusterEventListAttributeCallback implements ChipClusters.OnOffSwitchConfigurationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOnOffSwitchConfigurationClusterAttributeListAttributeCallback implements ChipClusters.OnOffSwitchConfigurationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLevelControlClusterCurrentLevelAttributeCallback implements ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback, 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 DelegatedLevelControlClusterOnLevelAttributeCallback implements ChipClusters.LevelControlCluster.OnLevelAttributeCallback, 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 DelegatedLevelControlClusterOnTransitionTimeAttributeCallback implements ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback, 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 DelegatedLevelControlClusterOffTransitionTimeAttributeCallback implements ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback, 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 DelegatedLevelControlClusterDefaultMoveRateAttributeCallback implements ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback, 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 DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback implements ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback, 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 DelegatedLevelControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.LevelControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLevelControlClusterAcceptedCommandListAttributeCallback implements ChipClusters.LevelControlCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLevelControlClusterEventListAttributeCallback implements ChipClusters.LevelControlCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLevelControlClusterAttributeListAttributeCallback implements ChipClusters.LevelControlCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBinaryInputBasicClusterGeneratedCommandListAttributeCallback implements ChipClusters.BinaryInputBasicCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBinaryInputBasicClusterAcceptedCommandListAttributeCallback implements ChipClusters.BinaryInputBasicCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBinaryInputBasicClusterEventListAttributeCallback implements ChipClusters.BinaryInputBasicCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBinaryInputBasicClusterAttributeListAttributeCallback implements ChipClusters.BinaryInputBasicCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPulseWidthModulationClusterGeneratedCommandListAttributeCallback implements ChipClusters.PulseWidthModulationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPulseWidthModulationClusterAcceptedCommandListAttributeCallback implements ChipClusters.PulseWidthModulationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPulseWidthModulationClusterEventListAttributeCallback implements ChipClusters.PulseWidthModulationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPulseWidthModulationClusterAttributeListAttributeCallback implements ChipClusters.PulseWidthModulationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDescriptorClusterDeviceTypeListAttributeCallback implements ChipClusters.DescriptorCluster.DeviceTypeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDescriptorClusterServerListAttributeCallback implements ChipClusters.DescriptorCluster.ServerListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDescriptorClusterClientListAttributeCallback implements ChipClusters.DescriptorCluster.ClientListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDescriptorClusterPartsListAttributeCallback implements ChipClusters.DescriptorCluster.PartsListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDescriptorClusterGeneratedCommandListAttributeCallback implements ChipClusters.DescriptorCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDescriptorClusterAcceptedCommandListAttributeCallback implements ChipClusters.DescriptorCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDescriptorClusterEventListAttributeCallback implements ChipClusters.DescriptorCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDescriptorClusterAttributeListAttributeCallback implements ChipClusters.DescriptorCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBindingClusterBindingAttributeCallback implements ChipClusters.BindingCluster.BindingAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBindingClusterGeneratedCommandListAttributeCallback implements ChipClusters.BindingCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBindingClusterAcceptedCommandListAttributeCallback implements ChipClusters.BindingCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBindingClusterEventListAttributeCallback implements ChipClusters.BindingCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBindingClusterAttributeListAttributeCallback implements ChipClusters.BindingCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedAccessControlClusterAclAttributeCallback implements ChipClusters.AccessControlCluster.AclAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccessControlClusterExtensionAttributeCallback implements ChipClusters.AccessControlCluster.ExtensionAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccessControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.AccessControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccessControlClusterAcceptedCommandListAttributeCallback implements ChipClusters.AccessControlCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccessControlClusterEventListAttributeCallback implements ChipClusters.AccessControlCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccessControlClusterAttributeListAttributeCallback implements ChipClusters.AccessControlCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedActionsClusterActionListAttributeCallback implements ChipClusters.ActionsCluster.ActionListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActionsClusterEndpointListsAttributeCallback implements ChipClusters.ActionsCluster.EndpointListsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActionsClusterGeneratedCommandListAttributeCallback implements ChipClusters.ActionsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActionsClusterAcceptedCommandListAttributeCallback implements ChipClusters.ActionsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActionsClusterEventListAttributeCallback implements ChipClusters.ActionsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActionsClusterAttributeListAttributeCallback implements ChipClusters.ActionsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback implements ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBasicInformationClusterAcceptedCommandListAttributeCallback implements ChipClusters.BasicInformationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBasicInformationClusterEventListAttributeCallback implements ChipClusters.BasicInformationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBasicInformationClusterAttributeListAttributeCallback implements ChipClusters.BasicInformationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOtaSoftwareUpdateProviderClusterQueryImageResponseCallback implements ChipClusters.OtaSoftwareUpdateProviderCluster.QueryImageResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Optional DelayedActionTime, Optional ImageURI, Optional SoftwareVersion, Optional SoftwareVersionString, Optional UpdateToken, Optional UserConsentNeeded, Optional MetadataForRequestor) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DelayedActionTimeResponseValue = new CommandResponseInfo("DelayedActionTime", "Optional"); + responseValues.put(DelayedActionTimeResponseValue, DelayedActionTime); + CommandResponseInfo ImageURIResponseValue = new CommandResponseInfo("ImageURI", "Optional"); + responseValues.put(ImageURIResponseValue, ImageURI); + CommandResponseInfo SoftwareVersionResponseValue = new CommandResponseInfo("SoftwareVersion", "Optional"); + responseValues.put(SoftwareVersionResponseValue, SoftwareVersion); + CommandResponseInfo SoftwareVersionStringResponseValue = new CommandResponseInfo("SoftwareVersionString", "Optional"); + responseValues.put(SoftwareVersionStringResponseValue, SoftwareVersionString); + CommandResponseInfo UpdateTokenResponseValue = new CommandResponseInfo("UpdateToken", "Optional"); + responseValues.put(UpdateTokenResponseValue, UpdateToken); + CommandResponseInfo UserConsentNeededResponseValue = new CommandResponseInfo("UserConsentNeeded", "Optional"); + responseValues.put(UserConsentNeededResponseValue, UserConsentNeeded); + CommandResponseInfo MetadataForRequestorResponseValue = new CommandResponseInfo("MetadataForRequestor", "Optional"); + responseValues.put(MetadataForRequestorResponseValue, MetadataForRequestor); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback implements ChipClusters.OtaSoftwareUpdateProviderCluster.ApplyUpdateResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Action, Long DelayedActionTime) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo ActionResponseValue = new CommandResponseInfo("Action", "Integer"); + responseValues.put(ActionResponseValue, Action); + CommandResponseInfo DelayedActionTimeResponseValue = new CommandResponseInfo("DelayedActionTime", "Long"); + responseValues.put(DelayedActionTimeResponseValue, DelayedActionTime); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedOtaSoftwareUpdateProviderClusterGeneratedCommandListAttributeCallback implements ChipClusters.OtaSoftwareUpdateProviderCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateProviderClusterAcceptedCommandListAttributeCallback implements ChipClusters.OtaSoftwareUpdateProviderCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateProviderClusterEventListAttributeCallback implements ChipClusters.OtaSoftwareUpdateProviderCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateProviderClusterAttributeListAttributeCallback implements ChipClusters.OtaSoftwareUpdateProviderCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOtaSoftwareUpdateRequestorClusterDefaultOTAProvidersAttributeCallback implements ChipClusters.OtaSoftwareUpdateRequestorCluster.DefaultOTAProvidersAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback implements ChipClusters.OtaSoftwareUpdateRequestorCluster.UpdateStateProgressAttributeCallback, 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 DelegatedOtaSoftwareUpdateRequestorClusterGeneratedCommandListAttributeCallback implements ChipClusters.OtaSoftwareUpdateRequestorCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateRequestorClusterAcceptedCommandListAttributeCallback implements ChipClusters.OtaSoftwareUpdateRequestorCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateRequestorClusterEventListAttributeCallback implements ChipClusters.OtaSoftwareUpdateRequestorCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOtaSoftwareUpdateRequestorClusterAttributeListAttributeCallback implements ChipClusters.OtaSoftwareUpdateRequestorCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLocalizationConfigurationClusterSupportedLocalesAttributeCallback implements ChipClusters.LocalizationConfigurationCluster.SupportedLocalesAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLocalizationConfigurationClusterGeneratedCommandListAttributeCallback implements ChipClusters.LocalizationConfigurationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLocalizationConfigurationClusterAcceptedCommandListAttributeCallback implements ChipClusters.LocalizationConfigurationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLocalizationConfigurationClusterEventListAttributeCallback implements ChipClusters.LocalizationConfigurationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLocalizationConfigurationClusterAttributeListAttributeCallback implements ChipClusters.LocalizationConfigurationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTimeFormatLocalizationClusterSupportedCalendarTypesAttributeCallback implements ChipClusters.TimeFormatLocalizationCluster.SupportedCalendarTypesAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeFormatLocalizationClusterGeneratedCommandListAttributeCallback implements ChipClusters.TimeFormatLocalizationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeFormatLocalizationClusterAcceptedCommandListAttributeCallback implements ChipClusters.TimeFormatLocalizationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeFormatLocalizationClusterEventListAttributeCallback implements ChipClusters.TimeFormatLocalizationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeFormatLocalizationClusterAttributeListAttributeCallback implements ChipClusters.TimeFormatLocalizationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUnitLocalizationClusterGeneratedCommandListAttributeCallback implements ChipClusters.UnitLocalizationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitLocalizationClusterAcceptedCommandListAttributeCallback implements ChipClusters.UnitLocalizationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitLocalizationClusterEventListAttributeCallback implements ChipClusters.UnitLocalizationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitLocalizationClusterAttributeListAttributeCallback implements ChipClusters.UnitLocalizationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceConfigurationClusterSourcesAttributeCallback implements ChipClusters.PowerSourceConfigurationCluster.SourcesAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceConfigurationClusterGeneratedCommandListAttributeCallback implements ChipClusters.PowerSourceConfigurationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceConfigurationClusterAcceptedCommandListAttributeCallback implements ChipClusters.PowerSourceConfigurationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceConfigurationClusterEventListAttributeCallback implements ChipClusters.PowerSourceConfigurationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceConfigurationClusterAttributeListAttributeCallback implements ChipClusters.PowerSourceConfigurationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback implements ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback implements ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback, 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 DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback implements ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback implements ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterBatVoltageAttributeCallback implements ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback implements ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback, 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 DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback implements ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback implements ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback implements ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback implements ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback implements ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback implements ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback implements ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterEventListAttributeCallback implements ChipClusters.PowerSourceCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPowerSourceClusterAttributeListAttributeCallback implements ChipClusters.PowerSourceCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGeneralCommissioningClusterArmFailSafeResponseCallback implements ChipClusters.GeneralCommissioningCluster.ArmFailSafeResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer ErrorCode, String DebugText) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); + responseValues.put(ErrorCodeResponseValue, ErrorCode); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); + responseValues.put(DebugTextResponseValue, DebugText); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGeneralCommissioningClusterSetRegulatoryConfigResponseCallback implements ChipClusters.GeneralCommissioningCluster.SetRegulatoryConfigResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer ErrorCode, String DebugText) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); + responseValues.put(ErrorCodeResponseValue, ErrorCode); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); + responseValues.put(DebugTextResponseValue, DebugText); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGeneralCommissioningClusterCommissioningCompleteResponseCallback implements ChipClusters.GeneralCommissioningCluster.CommissioningCompleteResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer ErrorCode, String DebugText) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); + responseValues.put(ErrorCodeResponseValue, ErrorCode); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); + responseValues.put(DebugTextResponseValue, DebugText); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGeneralCommissioningClusterGeneratedCommandListAttributeCallback implements ChipClusters.GeneralCommissioningCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralCommissioningClusterAcceptedCommandListAttributeCallback implements ChipClusters.GeneralCommissioningCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralCommissioningClusterEventListAttributeCallback implements ChipClusters.GeneralCommissioningCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralCommissioningClusterAttributeListAttributeCallback implements ChipClusters.GeneralCommissioningCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedNetworkCommissioningClusterScanNetworksResponseCallback implements ChipClusters.NetworkCommissioningCluster.ScanNetworksResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer NetworkingStatus, Optional DebugText, Optional> WiFiScanResults, Optional> ThreadScanResults) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo NetworkingStatusResponseValue = new CommandResponseInfo("NetworkingStatus", "Integer"); + responseValues.put(NetworkingStatusResponseValue, NetworkingStatus); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "Optional"); + responseValues.put(DebugTextResponseValue, DebugText); + // WiFiScanResults: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + // ThreadScanResults: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback implements ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer NetworkingStatus, Optional DebugText, Optional NetworkIndex) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo NetworkingStatusResponseValue = new CommandResponseInfo("NetworkingStatus", "Integer"); + responseValues.put(NetworkingStatusResponseValue, NetworkingStatus); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "Optional"); + responseValues.put(DebugTextResponseValue, DebugText); + CommandResponseInfo NetworkIndexResponseValue = new CommandResponseInfo("NetworkIndex", "Optional"); + responseValues.put(NetworkIndexResponseValue, NetworkIndex); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedNetworkCommissioningClusterConnectNetworkResponseCallback implements ChipClusters.NetworkCommissioningCluster.ConnectNetworkResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer NetworkingStatus, Optional DebugText, @Nullable Long ErrorValue) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo NetworkingStatusResponseValue = new CommandResponseInfo("NetworkingStatus", "Integer"); + responseValues.put(NetworkingStatusResponseValue, NetworkingStatus); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "Optional"); + responseValues.put(DebugTextResponseValue, DebugText); + CommandResponseInfo ErrorValueResponseValue = new CommandResponseInfo("ErrorValue", "Long"); + responseValues.put(ErrorValueResponseValue, ErrorValue); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedNetworkCommissioningClusterNetworksAttributeCallback implements ChipClusters.NetworkCommissioningCluster.NetworksAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback implements ChipClusters.NetworkCommissioningCluster.LastNetworkingStatusAttributeCallback, 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 DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback implements ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable byte[] value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback implements ChipClusters.NetworkCommissioningCluster.LastConnectErrorValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNetworkCommissioningClusterGeneratedCommandListAttributeCallback implements ChipClusters.NetworkCommissioningCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNetworkCommissioningClusterAcceptedCommandListAttributeCallback implements ChipClusters.NetworkCommissioningCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNetworkCommissioningClusterEventListAttributeCallback implements ChipClusters.NetworkCommissioningCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNetworkCommissioningClusterAttributeListAttributeCallback implements ChipClusters.NetworkCommissioningCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDiagnosticLogsClusterRetrieveLogsResponseCallback implements ChipClusters.DiagnosticLogsCluster.RetrieveLogsResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, byte[] LogContent, Optional UTCTimeStamp, Optional TimeSinceBoot) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo LogContentResponseValue = new CommandResponseInfo("LogContent", "byte[]"); + responseValues.put(LogContentResponseValue, LogContent); + CommandResponseInfo UTCTimeStampResponseValue = new CommandResponseInfo("UTCTimeStamp", "Optional"); + responseValues.put(UTCTimeStampResponseValue, UTCTimeStamp); + CommandResponseInfo TimeSinceBootResponseValue = new CommandResponseInfo("TimeSinceBoot", "Optional"); + responseValues.put(TimeSinceBootResponseValue, TimeSinceBoot); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDiagnosticLogsClusterGeneratedCommandListAttributeCallback implements ChipClusters.DiagnosticLogsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDiagnosticLogsClusterAcceptedCommandListAttributeCallback implements ChipClusters.DiagnosticLogsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDiagnosticLogsClusterEventListAttributeCallback implements ChipClusters.DiagnosticLogsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDiagnosticLogsClusterAttributeListAttributeCallback implements ChipClusters.DiagnosticLogsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGeneralDiagnosticsClusterNetworkInterfacesAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralDiagnosticsClusterActiveHardwareFaultsAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.ActiveHardwareFaultsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralDiagnosticsClusterActiveRadioFaultsAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.ActiveRadioFaultsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralDiagnosticsClusterActiveNetworkFaultsAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.ActiveNetworkFaultsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralDiagnosticsClusterGeneratedCommandListAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralDiagnosticsClusterAcceptedCommandListAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralDiagnosticsClusterEventListAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGeneralDiagnosticsClusterAttributeListAttributeCallback implements ChipClusters.GeneralDiagnosticsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedSoftwareDiagnosticsClusterThreadMetricsAttributeCallback implements ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSoftwareDiagnosticsClusterGeneratedCommandListAttributeCallback implements ChipClusters.SoftwareDiagnosticsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSoftwareDiagnosticsClusterAcceptedCommandListAttributeCallback implements ChipClusters.SoftwareDiagnosticsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSoftwareDiagnosticsClusterEventListAttributeCallback implements ChipClusters.SoftwareDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSoftwareDiagnosticsClusterAttributeListAttributeCallback implements ChipClusters.SoftwareDiagnosticsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback, 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 DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback, 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 DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable String value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback, 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 DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.MeshLocalPrefixAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable byte[] value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback, 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 DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback, 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 DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.StableDataVersionAttributeCallback, 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 DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback, 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 DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveTimestampAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.PendingTimestampAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelPage0MaskAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable byte[] value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveNetworkFaultsListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback implements ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable byte[] value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback, 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 DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback, 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 DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback, 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 DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback, 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 DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastRxCountAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastTxCountAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastRxCountAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastTxCountAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback implements ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback implements ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback, 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 DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback implements ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Boolean value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback implements ChipClusters.EthernetNetworkDiagnosticsCluster.CarrierDetectAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Boolean value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback implements ChipClusters.EthernetNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback implements ChipClusters.EthernetNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback implements ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback implements ChipClusters.EthernetNetworkDiagnosticsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTimeSynchronizationClusterSetTimeZoneResponseCallback implements ChipClusters.TimeSynchronizationCluster.SetTimeZoneResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Boolean DSTOffsetRequired) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo DSTOffsetRequiredResponseValue = new CommandResponseInfo("DSTOffsetRequired", "Boolean"); + responseValues.put(DSTOffsetRequiredResponseValue, DSTOffsetRequired); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedTimeSynchronizationClusterUTCTimeAttributeCallback implements ChipClusters.TimeSynchronizationCluster.UTCTimeAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterDefaultNTPAttributeCallback implements ChipClusters.TimeSynchronizationCluster.DefaultNTPAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable String value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterTimeZoneAttributeCallback implements ChipClusters.TimeSynchronizationCluster.TimeZoneAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterDSTOffsetAttributeCallback implements ChipClusters.TimeSynchronizationCluster.DSTOffsetAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterLocalTimeAttributeCallback implements ChipClusters.TimeSynchronizationCluster.LocalTimeAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterGeneratedCommandListAttributeCallback implements ChipClusters.TimeSynchronizationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterAcceptedCommandListAttributeCallback implements ChipClusters.TimeSynchronizationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterEventListAttributeCallback implements ChipClusters.TimeSynchronizationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTimeSynchronizationClusterAttributeListAttributeCallback implements ChipClusters.TimeSynchronizationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback implements ChipClusters.BridgedDeviceBasicInformationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback implements ChipClusters.BridgedDeviceBasicInformationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback implements ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback implements ChipClusters.BridgedDeviceBasicInformationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedSwitchClusterGeneratedCommandListAttributeCallback implements ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSwitchClusterAcceptedCommandListAttributeCallback implements ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSwitchClusterEventListAttributeCallback implements ChipClusters.SwitchCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSwitchClusterAttributeListAttributeCallback implements ChipClusters.SwitchCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback implements ChipClusters.AdministratorCommissioningCluster.AdminFabricIndexAttributeCallback, 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 DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback implements ChipClusters.AdministratorCommissioningCluster.AdminVendorIdAttributeCallback, 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 DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback implements ChipClusters.AdministratorCommissioningCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback implements ChipClusters.AdministratorCommissioningCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAdministratorCommissioningClusterEventListAttributeCallback implements ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback implements ChipClusters.AdministratorCommissioningCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOperationalCredentialsClusterAttestationResponseCallback implements ChipClusters.OperationalCredentialsCluster.AttestationResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(byte[] AttestationElements, byte[] AttestationSignature) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo AttestationElementsResponseValue = new CommandResponseInfo("AttestationElements", "byte[]"); + responseValues.put(AttestationElementsResponseValue, AttestationElements); + CommandResponseInfo AttestationSignatureResponseValue = new CommandResponseInfo("AttestationSignature", "byte[]"); + responseValues.put(AttestationSignatureResponseValue, AttestationSignature); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedOperationalCredentialsClusterCertificateChainResponseCallback implements ChipClusters.OperationalCredentialsCluster.CertificateChainResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(byte[] Certificate) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo CertificateResponseValue = new CommandResponseInfo("Certificate", "byte[]"); + responseValues.put(CertificateResponseValue, Certificate); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedOperationalCredentialsClusterCSRResponseCallback implements ChipClusters.OperationalCredentialsCluster.CSRResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(byte[] NOCSRElements, byte[] AttestationSignature) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo NOCSRElementsResponseValue = new CommandResponseInfo("NOCSRElements", "byte[]"); + responseValues.put(NOCSRElementsResponseValue, NOCSRElements); + CommandResponseInfo AttestationSignatureResponseValue = new CommandResponseInfo("AttestationSignature", "byte[]"); + responseValues.put(AttestationSignatureResponseValue, AttestationSignature); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedOperationalCredentialsClusterNOCResponseCallback implements ChipClusters.OperationalCredentialsCluster.NOCResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer StatusCode, Optional FabricIndex, Optional DebugText) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusCodeResponseValue = new CommandResponseInfo("StatusCode", "Integer"); + responseValues.put(StatusCodeResponseValue, StatusCode); + CommandResponseInfo FabricIndexResponseValue = new CommandResponseInfo("FabricIndex", "Optional"); + responseValues.put(FabricIndexResponseValue, FabricIndex); + CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "Optional"); + responseValues.put(DebugTextResponseValue, DebugText); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedOperationalCredentialsClusterNOCsAttributeCallback implements ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalCredentialsClusterFabricsAttributeCallback implements ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback implements ChipClusters.OperationalCredentialsCluster.TrustedRootCertificatesAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback implements ChipClusters.OperationalCredentialsCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback implements ChipClusters.OperationalCredentialsCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalCredentialsClusterEventListAttributeCallback implements ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalCredentialsClusterAttributeListAttributeCallback implements ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedGroupKeyManagementClusterKeySetReadResponseCallback implements ChipClusters.GroupKeyManagementCluster.KeySetReadResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct GroupKeySet) { + Map responseValues = new LinkedHashMap<>(); + // GroupKeySet: Struct GroupKeySetStruct + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupKeyManagementClusterKeySetReadAllIndicesResponseCallback implements ChipClusters.GroupKeyManagementCluster.KeySetReadAllIndicesResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(ArrayList GroupKeySetIDs) { + Map responseValues = new LinkedHashMap<>(); + // GroupKeySetIDs: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback implements ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupKeyManagementClusterGroupTableAttributeCallback implements ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback implements ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback implements ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupKeyManagementClusterEventListAttributeCallback implements ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedGroupKeyManagementClusterAttributeListAttributeCallback implements ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFixedLabelClusterLabelListAttributeCallback implements ChipClusters.FixedLabelCluster.LabelListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback implements ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback implements ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFixedLabelClusterEventListAttributeCallback implements ChipClusters.FixedLabelCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFixedLabelClusterAttributeListAttributeCallback implements ChipClusters.FixedLabelCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUserLabelClusterLabelListAttributeCallback implements ChipClusters.UserLabelCluster.LabelListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUserLabelClusterGeneratedCommandListAttributeCallback implements ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUserLabelClusterAcceptedCommandListAttributeCallback implements ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUserLabelClusterEventListAttributeCallback implements ChipClusters.UserLabelCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUserLabelClusterAttributeListAttributeCallback implements ChipClusters.UserLabelCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedProxyConfigurationClusterGeneratedCommandListAttributeCallback implements ChipClusters.ProxyConfigurationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyConfigurationClusterAcceptedCommandListAttributeCallback implements ChipClusters.ProxyConfigurationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyConfigurationClusterEventListAttributeCallback implements ChipClusters.ProxyConfigurationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyConfigurationClusterAttributeListAttributeCallback implements ChipClusters.ProxyConfigurationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedProxyDiscoveryClusterGeneratedCommandListAttributeCallback implements ChipClusters.ProxyDiscoveryCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyDiscoveryClusterAcceptedCommandListAttributeCallback implements ChipClusters.ProxyDiscoveryCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyDiscoveryClusterEventListAttributeCallback implements ChipClusters.ProxyDiscoveryCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyDiscoveryClusterAttributeListAttributeCallback implements ChipClusters.ProxyDiscoveryCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedProxyValidClusterGeneratedCommandListAttributeCallback implements ChipClusters.ProxyValidCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyValidClusterAcceptedCommandListAttributeCallback implements ChipClusters.ProxyValidCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyValidClusterEventListAttributeCallback implements ChipClusters.ProxyValidCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedProxyValidClusterAttributeListAttributeCallback implements ChipClusters.ProxyValidCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback implements ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback implements ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBooleanStateClusterEventListAttributeCallback implements ChipClusters.BooleanStateCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBooleanStateClusterAttributeListAttributeCallback implements ChipClusters.BooleanStateCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIcdManagementClusterRegisterClientResponseCallback implements ChipClusters.IcdManagementCluster.RegisterClientResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Long ICDCounter) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo ICDCounterResponseValue = new CommandResponseInfo("ICDCounter", "Long"); + responseValues.put(ICDCounterResponseValue, ICDCounter); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedIcdManagementClusterRegisteredClientsAttributeCallback implements ChipClusters.IcdManagementCluster.RegisteredClientsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIcdManagementClusterGeneratedCommandListAttributeCallback implements ChipClusters.IcdManagementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIcdManagementClusterAcceptedCommandListAttributeCallback implements ChipClusters.IcdManagementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIcdManagementClusterEventListAttributeCallback implements ChipClusters.IcdManagementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIcdManagementClusterAttributeListAttributeCallback implements ChipClusters.IcdManagementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedModeSelectClusterStandardNamespaceAttributeCallback implements ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback, 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 DelegatedModeSelectClusterSupportedModesAttributeCallback implements ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedModeSelectClusterStartUpModeAttributeCallback implements ChipClusters.ModeSelectCluster.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 DelegatedModeSelectClusterOnModeAttributeCallback implements ChipClusters.ModeSelectCluster.OnModeAttributeCallback, 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 DelegatedModeSelectClusterGeneratedCommandListAttributeCallback implements ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedModeSelectClusterAcceptedCommandListAttributeCallback implements ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedModeSelectClusterEventListAttributeCallback implements ChipClusters.ModeSelectCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedModeSelectClusterAttributeListAttributeCallback implements ChipClusters.ModeSelectCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureControlClusterSupportedTemperatureLevelsAttributeCallback implements ChipClusters.TemperatureControlCluster.SupportedTemperatureLevelsAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTemperatureControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.TemperatureControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTemperatureControlClusterAcceptedCommandListAttributeCallback implements ChipClusters.TemperatureControlCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTemperatureControlClusterEventListAttributeCallback implements ChipClusters.TemperatureControlCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTemperatureControlClusterAttributeListAttributeCallback implements ChipClusters.TemperatureControlCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedRefrigeratorAlarmClusterGeneratedCommandListAttributeCallback implements ChipClusters.RefrigeratorAlarmCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRefrigeratorAlarmClusterAcceptedCommandListAttributeCallback implements ChipClusters.RefrigeratorAlarmCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRefrigeratorAlarmClusterEventListAttributeCallback implements ChipClusters.RefrigeratorAlarmCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRefrigeratorAlarmClusterAttributeListAttributeCallback implements ChipClusters.RefrigeratorAlarmCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedAirQualityClusterGeneratedCommandListAttributeCallback implements ChipClusters.AirQualityCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAirQualityClusterAcceptedCommandListAttributeCallback implements ChipClusters.AirQualityCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAirQualityClusterEventListAttributeCallback implements ChipClusters.AirQualityCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAirQualityClusterAttributeListAttributeCallback implements ChipClusters.AirQualityCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedSmokeCoAlarmClusterGeneratedCommandListAttributeCallback implements ChipClusters.SmokeCoAlarmCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSmokeCoAlarmClusterAcceptedCommandListAttributeCallback implements ChipClusters.SmokeCoAlarmCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSmokeCoAlarmClusterEventListAttributeCallback implements ChipClusters.SmokeCoAlarmCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSmokeCoAlarmClusterAttributeListAttributeCallback implements ChipClusters.SmokeCoAlarmCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOperationalStateClusterPhaseListAttributeCallback implements ChipClusters.OperationalStateCluster.PhaseListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalStateClusterCurrentPhaseAttributeCallback implements ChipClusters.OperationalStateCluster.CurrentPhaseAttributeCallback, 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 DelegatedOperationalStateClusterCountdownTimeAttributeCallback implements ChipClusters.OperationalStateCluster.CountdownTimeAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalStateClusterOperationalStateListAttributeCallback implements ChipClusters.OperationalStateCluster.OperationalStateListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalStateClusterGeneratedCommandListAttributeCallback implements ChipClusters.OperationalStateCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalStateClusterAcceptedCommandListAttributeCallback implements ChipClusters.OperationalStateCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalStateClusterEventListAttributeCallback implements ChipClusters.OperationalStateCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOperationalStateClusterAttributeListAttributeCallback implements ChipClusters.OperationalStateCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedHepaFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.HepaFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHepaFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.HepaFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHepaFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.HepaFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHepaFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.HepaFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedActivatedCarbonFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.ActivatedCarbonFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActivatedCarbonFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.ActivatedCarbonFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActivatedCarbonFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.ActivatedCarbonFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedActivatedCarbonFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.ActivatedCarbonFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedCeramicFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.CeramicFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCeramicFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.CeramicFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCeramicFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.CeramicFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCeramicFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.CeramicFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedElectrostaticFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.ElectrostaticFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedElectrostaticFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.ElectrostaticFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedElectrostaticFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.ElectrostaticFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedElectrostaticFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.ElectrostaticFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUvFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.UvFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUvFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.UvFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUvFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.UvFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUvFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.UvFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIonizingFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.IonizingFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIonizingFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.IonizingFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIonizingFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.IonizingFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIonizingFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.IonizingFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedZeoliteFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.ZeoliteFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedZeoliteFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.ZeoliteFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedZeoliteFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.ZeoliteFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedZeoliteFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.ZeoliteFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOzoneFilterMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.OzoneFilterMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneFilterMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.OzoneFilterMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneFilterMonitoringClusterEventListAttributeCallback implements ChipClusters.OzoneFilterMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneFilterMonitoringClusterAttributeListAttributeCallback implements ChipClusters.OzoneFilterMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWaterTankMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.WaterTankMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWaterTankMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.WaterTankMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWaterTankMonitoringClusterEventListAttributeCallback implements ChipClusters.WaterTankMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWaterTankMonitoringClusterAttributeListAttributeCallback implements ChipClusters.WaterTankMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFuelTankMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.FuelTankMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFuelTankMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.FuelTankMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFuelTankMonitoringClusterEventListAttributeCallback implements ChipClusters.FuelTankMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFuelTankMonitoringClusterAttributeListAttributeCallback implements ChipClusters.FuelTankMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedInkCartridgeMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.InkCartridgeMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedInkCartridgeMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.InkCartridgeMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedInkCartridgeMonitoringClusterEventListAttributeCallback implements ChipClusters.InkCartridgeMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedInkCartridgeMonitoringClusterAttributeListAttributeCallback implements ChipClusters.InkCartridgeMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTonerCartridgeMonitoringClusterGeneratedCommandListAttributeCallback implements ChipClusters.TonerCartridgeMonitoringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTonerCartridgeMonitoringClusterAcceptedCommandListAttributeCallback implements ChipClusters.TonerCartridgeMonitoringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTonerCartridgeMonitoringClusterEventListAttributeCallback implements ChipClusters.TonerCartridgeMonitoringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTonerCartridgeMonitoringClusterAttributeListAttributeCallback implements ChipClusters.TonerCartridgeMonitoringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDoorLockClusterGetWeekDayScheduleResponseCallback implements ChipClusters.DoorLockCluster.GetWeekDayScheduleResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer WeekDayIndex, Integer UserIndex, Integer Status, Optional DaysMask, Optional StartHour, Optional StartMinute, Optional EndHour, Optional EndMinute) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo WeekDayIndexResponseValue = new CommandResponseInfo("WeekDayIndex", "Integer"); + responseValues.put(WeekDayIndexResponseValue, WeekDayIndex); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DaysMaskResponseValue = new CommandResponseInfo("DaysMask", "Optional"); + responseValues.put(DaysMaskResponseValue, DaysMask); + CommandResponseInfo StartHourResponseValue = new CommandResponseInfo("StartHour", "Optional"); + responseValues.put(StartHourResponseValue, StartHour); + CommandResponseInfo StartMinuteResponseValue = new CommandResponseInfo("StartMinute", "Optional"); + responseValues.put(StartMinuteResponseValue, StartMinute); + CommandResponseInfo EndHourResponseValue = new CommandResponseInfo("EndHour", "Optional"); + responseValues.put(EndHourResponseValue, EndHour); + CommandResponseInfo EndMinuteResponseValue = new CommandResponseInfo("EndMinute", "Optional"); + responseValues.put(EndMinuteResponseValue, EndMinute); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetYearDayScheduleResponseCallback implements ChipClusters.DoorLockCluster.GetYearDayScheduleResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer YearDayIndex, Integer UserIndex, Integer Status, Optional LocalStartTime, Optional LocalEndTime) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo YearDayIndexResponseValue = new CommandResponseInfo("YearDayIndex", "Integer"); + responseValues.put(YearDayIndexResponseValue, YearDayIndex); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo LocalStartTimeResponseValue = new CommandResponseInfo("LocalStartTime", "Optional"); + responseValues.put(LocalStartTimeResponseValue, LocalStartTime); + CommandResponseInfo LocalEndTimeResponseValue = new CommandResponseInfo("LocalEndTime", "Optional"); + responseValues.put(LocalEndTimeResponseValue, LocalEndTime); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetHolidayScheduleResponseCallback implements ChipClusters.DoorLockCluster.GetHolidayScheduleResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer HolidayIndex, Integer Status, Optional LocalStartTime, Optional LocalEndTime, Optional OperatingMode) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo HolidayIndexResponseValue = new CommandResponseInfo("HolidayIndex", "Integer"); + responseValues.put(HolidayIndexResponseValue, HolidayIndex); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo LocalStartTimeResponseValue = new CommandResponseInfo("LocalStartTime", "Optional"); + responseValues.put(LocalStartTimeResponseValue, LocalStartTime); + CommandResponseInfo LocalEndTimeResponseValue = new CommandResponseInfo("LocalEndTime", "Optional"); + responseValues.put(LocalEndTimeResponseValue, LocalEndTime); + CommandResponseInfo OperatingModeResponseValue = new CommandResponseInfo("OperatingMode", "Optional"); + responseValues.put(OperatingModeResponseValue, OperatingMode); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetUserResponseCallback implements ChipClusters.DoorLockCluster.GetUserResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer UserIndex, @Nullable String UserName, @Nullable Long UserUniqueID, @Nullable Integer UserStatus, @Nullable Integer UserType, @Nullable Integer CredentialRule, @Nullable ArrayList Credentials, @Nullable Integer CreatorFabricIndex, @Nullable Integer LastModifiedFabricIndex, @Nullable Integer NextUserIndex) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo UserNameResponseValue = new CommandResponseInfo("UserName", "String"); + responseValues.put(UserNameResponseValue, UserName); + CommandResponseInfo UserUniqueIDResponseValue = new CommandResponseInfo("UserUniqueID", "Long"); + responseValues.put(UserUniqueIDResponseValue, UserUniqueID); + CommandResponseInfo UserStatusResponseValue = new CommandResponseInfo("UserStatus", "Integer"); + responseValues.put(UserStatusResponseValue, UserStatus); + CommandResponseInfo UserTypeResponseValue = new CommandResponseInfo("UserType", "Integer"); + responseValues.put(UserTypeResponseValue, UserType); + CommandResponseInfo CredentialRuleResponseValue = new CommandResponseInfo("CredentialRule", "Integer"); + responseValues.put(CredentialRuleResponseValue, CredentialRule); + // Credentials: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + CommandResponseInfo CreatorFabricIndexResponseValue = new CommandResponseInfo("CreatorFabricIndex", "Integer"); + responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); + CommandResponseInfo LastModifiedFabricIndexResponseValue = new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); + responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); + CommandResponseInfo NextUserIndexResponseValue = new CommandResponseInfo("NextUserIndex", "Integer"); + responseValues.put(NextUserIndexResponseValue, NextUserIndex); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterSetCredentialResponseCallback implements ChipClusters.DoorLockCluster.SetCredentialResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, @Nullable Integer UserIndex, @Nullable Integer NextCredentialIndex) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo NextCredentialIndexResponseValue = new CommandResponseInfo("NextCredentialIndex", "Integer"); + responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterGetCredentialStatusResponseCallback implements ChipClusters.DoorLockCluster.GetCredentialStatusResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Boolean CredentialExists, @Nullable Integer UserIndex, @Nullable Integer CreatorFabricIndex, @Nullable Integer LastModifiedFabricIndex, @Nullable Integer NextCredentialIndex) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo CredentialExistsResponseValue = new CommandResponseInfo("CredentialExists", "Boolean"); + responseValues.put(CredentialExistsResponseValue, CredentialExists); + CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); + responseValues.put(UserIndexResponseValue, UserIndex); + CommandResponseInfo CreatorFabricIndexResponseValue = new CommandResponseInfo("CreatorFabricIndex", "Integer"); + responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); + CommandResponseInfo LastModifiedFabricIndexResponseValue = new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); + responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); + CommandResponseInfo NextCredentialIndexResponseValue = new CommandResponseInfo("NextCredentialIndex", "Integer"); + responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedDoorLockClusterLockStateAttributeCallback implements ChipClusters.DoorLockCluster.LockStateAttributeCallback, 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 DelegatedDoorLockClusterDoorStateAttributeCallback implements ChipClusters.DoorLockCluster.DoorStateAttributeCallback, 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 DelegatedDoorLockClusterGeneratedCommandListAttributeCallback implements ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDoorLockClusterAcceptedCommandListAttributeCallback implements ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDoorLockClusterEventListAttributeCallback implements ChipClusters.DoorLockCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDoorLockClusterAttributeListAttributeCallback implements ChipClusters.DoorLockCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback implements ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback, 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 DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback implements ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback, 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 DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback implements ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercentageAttributeCallback, 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 DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback implements ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercentageAttributeCallback, 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 DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback implements ChipClusters.WindowCoveringCluster.TargetPositionLiftPercent100thsAttributeCallback, 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 DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback implements ChipClusters.WindowCoveringCluster.TargetPositionTiltPercent100thsAttributeCallback, 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 DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback implements ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercent100thsAttributeCallback, 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 DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback implements ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercent100thsAttributeCallback, 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 DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback implements ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback implements ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWindowCoveringClusterEventListAttributeCallback implements ChipClusters.WindowCoveringCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWindowCoveringClusterAttributeListAttributeCallback implements ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback implements ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBarrierControlClusterEventListAttributeCallback implements ChipClusters.BarrierControlCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBarrierControlClusterAttributeListAttributeCallback implements ChipClusters.BarrierControlCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MinConstPressureAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstPressureAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MinCompPressureAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxCompPressureAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MinConstSpeedAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstSpeedAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MinConstFlowAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstFlowAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MinConstTempAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstTempAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback, 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 DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.LifetimeRunningHoursAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.LifetimeEnergyConsumedAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback implements ChipClusters.PumpConfigurationAndControlCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatClusterGetWeeklyScheduleResponseCallback implements ChipClusters.ThermostatCluster.GetWeeklyScheduleResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer NumberOfTransitionsForSequence, Integer DayOfWeekForSequence, Integer ModeForSequence, ArrayList Transitions) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo NumberOfTransitionsForSequenceResponseValue = new CommandResponseInfo("NumberOfTransitionsForSequence", "Integer"); + responseValues.put(NumberOfTransitionsForSequenceResponseValue, NumberOfTransitionsForSequence); + CommandResponseInfo DayOfWeekForSequenceResponseValue = new CommandResponseInfo("DayOfWeekForSequence", "Integer"); + responseValues.put(DayOfWeekForSequenceResponseValue, DayOfWeekForSequence); + CommandResponseInfo ModeForSequenceResponseValue = new CommandResponseInfo("ModeForSequence", "Integer"); + responseValues.put(ModeForSequenceResponseValue, ModeForSequence); + // Transitions: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedThermostatClusterLocalTemperatureAttributeCallback implements ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback, 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 DelegatedThermostatClusterOutdoorTemperatureAttributeCallback implements ChipClusters.ThermostatCluster.OutdoorTemperatureAttributeCallback, 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 DelegatedThermostatClusterTemperatureSetpointHoldDurationAttributeCallback implements ChipClusters.ThermostatCluster.TemperatureSetpointHoldDurationAttributeCallback, 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 DelegatedThermostatClusterSetpointChangeAmountAttributeCallback implements ChipClusters.ThermostatCluster.SetpointChangeAmountAttributeCallback, 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 DelegatedThermostatClusterOccupiedSetbackAttributeCallback implements ChipClusters.ThermostatCluster.OccupiedSetbackAttributeCallback, 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 DelegatedThermostatClusterOccupiedSetbackMinAttributeCallback implements ChipClusters.ThermostatCluster.OccupiedSetbackMinAttributeCallback, 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 DelegatedThermostatClusterOccupiedSetbackMaxAttributeCallback implements ChipClusters.ThermostatCluster.OccupiedSetbackMaxAttributeCallback, 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 DelegatedThermostatClusterUnoccupiedSetbackAttributeCallback implements ChipClusters.ThermostatCluster.UnoccupiedSetbackAttributeCallback, 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 DelegatedThermostatClusterUnoccupiedSetbackMinAttributeCallback implements ChipClusters.ThermostatCluster.UnoccupiedSetbackMinAttributeCallback, 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 DelegatedThermostatClusterUnoccupiedSetbackMaxAttributeCallback implements ChipClusters.ThermostatCluster.UnoccupiedSetbackMaxAttributeCallback, 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 DelegatedThermostatClusterACCoilTemperatureAttributeCallback implements ChipClusters.ThermostatCluster.ACCoilTemperatureAttributeCallback, 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 DelegatedThermostatClusterGeneratedCommandListAttributeCallback implements ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThermostatClusterAcceptedCommandListAttributeCallback implements ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThermostatClusterEventListAttributeCallback implements ChipClusters.ThermostatCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThermostatClusterAttributeListAttributeCallback implements ChipClusters.ThermostatCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFanControlClusterPercentSettingAttributeCallback implements ChipClusters.FanControlCluster.PercentSettingAttributeCallback, 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 DelegatedFanControlClusterSpeedSettingAttributeCallback implements ChipClusters.FanControlCluster.SpeedSettingAttributeCallback, 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 DelegatedFanControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFanControlClusterAcceptedCommandListAttributeCallback implements ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFanControlClusterEventListAttributeCallback implements ChipClusters.FanControlCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFanControlClusterAttributeListAttributeCallback implements ChipClusters.FanControlCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback implements ChipClusters.ThermostatUserInterfaceConfigurationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback implements ChipClusters.ThermostatUserInterfaceConfigurationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback implements ChipClusters.ThermostatUserInterfaceConfigurationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback implements ChipClusters.ThermostatUserInterfaceConfigurationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedColorControlClusterNumberOfPrimariesAttributeCallback implements ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback, 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 DelegatedColorControlClusterPrimary1IntensityAttributeCallback implements ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback, 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 DelegatedColorControlClusterPrimary2IntensityAttributeCallback implements ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback, 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 DelegatedColorControlClusterPrimary3IntensityAttributeCallback implements ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback, 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 DelegatedColorControlClusterPrimary4IntensityAttributeCallback implements ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback, 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 DelegatedColorControlClusterPrimary5IntensityAttributeCallback implements ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback, 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 DelegatedColorControlClusterPrimary6IntensityAttributeCallback implements ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback, 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 DelegatedColorControlClusterColorPointRIntensityAttributeCallback implements ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback, 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 DelegatedColorControlClusterColorPointGIntensityAttributeCallback implements ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback, 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 DelegatedColorControlClusterColorPointBIntensityAttributeCallback implements ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback, 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 DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback implements ChipClusters.ColorControlCluster.StartUpColorTemperatureMiredsAttributeCallback, 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 DelegatedColorControlClusterGeneratedCommandListAttributeCallback implements ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedColorControlClusterAcceptedCommandListAttributeCallback implements ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedColorControlClusterEventListAttributeCallback implements ChipClusters.ColorControlCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedColorControlClusterAttributeListAttributeCallback implements ChipClusters.ColorControlCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback implements ChipClusters.BallastConfigurationCluster.IntrinsicBallastFactorAttributeCallback, 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 DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback implements ChipClusters.BallastConfigurationCluster.BallastFactorAdjustmentAttributeCallback, 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 DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback implements ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback implements ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback implements ChipClusters.BallastConfigurationCluster.LampBurnHoursTripPointAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback implements ChipClusters.BallastConfigurationCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback implements ChipClusters.BallastConfigurationCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBallastConfigurationClusterEventListAttributeCallback implements ChipClusters.BallastConfigurationCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBallastConfigurationClusterAttributeListAttributeCallback implements ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback, 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 DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback, 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 DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback, 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 DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback, 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 DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIlluminanceMeasurementClusterEventListAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback implements ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback, 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 DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback, 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 DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback, 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 DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.TemperatureMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.TemperatureMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTemperatureMeasurementClusterEventListAttributeCallback implements ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback implements ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback, 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 DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback, 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 DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback, 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 DelegatedPressureMeasurementClusterScaledValueAttributeCallback implements ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback, 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 DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback implements ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback, 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 DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback implements ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback, 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 DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.PressureMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPressureMeasurementClusterEventListAttributeCallback implements ChipClusters.PressureMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPressureMeasurementClusterAttributeListAttributeCallback implements ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback, 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 DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback, 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 DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback, 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 DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFlowMeasurementClusterEventListAttributeCallback implements ChipClusters.FlowMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFlowMeasurementClusterAttributeListAttributeCallback implements ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.RelativeHumidityMeasurementCluster.MeasuredValueAttributeCallback, 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 DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.RelativeHumidityMeasurementCluster.MinMeasuredValueAttributeCallback, 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 DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.RelativeHumidityMeasurementCluster.MaxMeasuredValueAttributeCallback, 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 DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.RelativeHumidityMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.RelativeHumidityMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback implements ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback implements ChipClusters.RelativeHumidityMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback implements ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback implements ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOccupancySensingClusterEventListAttributeCallback implements ChipClusters.OccupancySensingCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOccupancySensingClusterAttributeListAttributeCallback implements ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonMonoxideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCarbonDioxideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedEthyleneConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.EthyleneConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedEthyleneOxideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedHydrogenConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.HydrogenConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHydrogenSulfideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedNitricOxideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitricOxideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.NitricOxideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedNitrogenDioxideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOxygenConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOxygenConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.OxygenConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedOzoneConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedOzoneConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.OzoneConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfurDioxideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedDissolvedOxygenConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBromateConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromateConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.BromateConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedChloraminesConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloraminesConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.ChloraminesConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedChlorineConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorineConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.ChlorineConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFecalColiformEColiConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFluorideConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFluorideConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.FluorideConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedHaloaceticAcidsConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTurbidityConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTurbidityConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.TurbidityConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedCopperConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedCopperConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.CopperConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLeadConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLeadConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.LeadConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedManganeseConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedManganeseConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.ManganeseConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedSulfateConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSulfateConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.SulfateConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromodichloromethaneConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedBromoformConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedBromoformConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.BromoformConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChlorodibromomethaneConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedChloroformConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChloroformConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.ChloroformConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedSodiumConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedSodiumConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.SodiumConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPm25ConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm25ConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.Pm25ConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFormaldehydeConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFormaldehydeConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.FormaldehydeConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPm1ConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm1ConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.Pm1ConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedPm10ConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedPm10ConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.Pm10ConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedRadonConcentrationMeasurementClusterMeasuredValueAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.MeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterMinMeasuredValueAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.AverageMeasuredValueAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterEventListAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedRadonConcentrationMeasurementClusterAttributeListAttributeCallback implements ChipClusters.RadonConcentrationMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback implements ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback implements ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWakeOnLanClusterEventListAttributeCallback implements ChipClusters.WakeOnLanCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedWakeOnLanClusterAttributeListAttributeCallback implements ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedChannelClusterChangeChannelResponseCallback implements ChipClusters.ChannelCluster.ChangeChannelResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Optional Data) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedChannelClusterChannelListAttributeCallback implements ChipClusters.ChannelCluster.ChannelListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChannelClusterGeneratedCommandListAttributeCallback implements ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChannelClusterAcceptedCommandListAttributeCallback implements ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChannelClusterEventListAttributeCallback implements ChipClusters.ChannelCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedChannelClusterAttributeListAttributeCallback implements ChipClusters.ChannelCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedTargetNavigatorClusterNavigateTargetResponseCallback implements ChipClusters.TargetNavigatorCluster.NavigateTargetResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Optional Data) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedTargetNavigatorClusterTargetListAttributeCallback implements ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback implements ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback implements ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTargetNavigatorClusterEventListAttributeCallback implements ChipClusters.TargetNavigatorCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedTargetNavigatorClusterAttributeListAttributeCallback implements ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedMediaPlaybackClusterPlaybackResponseCallback implements ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Optional Data) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedMediaPlaybackClusterStartTimeAttributeCallback implements ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaPlaybackClusterDurationAttributeCallback implements ChipClusters.MediaPlaybackCluster.DurationAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback implements ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback implements ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback implements ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback implements ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaPlaybackClusterEventListAttributeCallback implements ChipClusters.MediaPlaybackCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaPlaybackClusterAttributeListAttributeCallback implements ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedMediaInputClusterInputListAttributeCallback implements ChipClusters.MediaInputCluster.InputListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaInputClusterGeneratedCommandListAttributeCallback implements ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaInputClusterAcceptedCommandListAttributeCallback implements ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaInputClusterEventListAttributeCallback implements ChipClusters.MediaInputCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedMediaInputClusterAttributeListAttributeCallback implements ChipClusters.MediaInputCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedLowPowerClusterGeneratedCommandListAttributeCallback implements ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLowPowerClusterAcceptedCommandListAttributeCallback implements ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLowPowerClusterEventListAttributeCallback implements ChipClusters.LowPowerCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedLowPowerClusterAttributeListAttributeCallback implements ChipClusters.LowPowerCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedKeypadInputClusterSendKeyResponseCallback implements ChipClusters.KeypadInputCluster.SendKeyResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback implements ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback implements ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedKeypadInputClusterEventListAttributeCallback implements ChipClusters.KeypadInputCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedKeypadInputClusterAttributeListAttributeCallback implements ChipClusters.KeypadInputCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedContentLauncherClusterLauncherResponseCallback implements ChipClusters.ContentLauncherCluster.LauncherResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Optional Data) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedContentLauncherClusterAcceptHeaderAttributeCallback implements ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback implements ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback implements ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedContentLauncherClusterEventListAttributeCallback implements ChipClusters.ContentLauncherCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedContentLauncherClusterAttributeListAttributeCallback implements ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedAudioOutputClusterOutputListAttributeCallback implements ChipClusters.AudioOutputCluster.OutputListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback implements ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback implements ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAudioOutputClusterEventListAttributeCallback implements ChipClusters.AudioOutputCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAudioOutputClusterAttributeListAttributeCallback implements ChipClusters.AudioOutputCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedApplicationLauncherClusterLauncherResponseCallback implements ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer Status, Optional Data) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); + responseValues.put(StatusResponseValue, Status); + CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); + responseValues.put(DataResponseValue, Data); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedApplicationLauncherClusterCatalogListAttributeCallback implements ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback implements ChipClusters.ApplicationLauncherCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback implements ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationLauncherClusterEventListAttributeCallback implements ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationLauncherClusterAttributeListAttributeCallback implements ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback implements ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback implements ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback implements ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationBasicClusterEventListAttributeCallback implements ChipClusters.ApplicationBasicCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedApplicationBasicClusterAttributeListAttributeCallback implements ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedAccountLoginClusterGetSetupPINResponseCallback implements ChipClusters.AccountLoginCluster.GetSetupPINResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(String SetupPIN) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo SetupPINResponseValue = new CommandResponseInfo("SetupPIN", "String"); + responseValues.put(SetupPINResponseValue, SetupPIN); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback implements ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback implements ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccountLoginClusterEventListAttributeCallback implements ChipClusters.AccountLoginCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedAccountLoginClusterAttributeListAttributeCallback implements ChipClusters.AccountLoginCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback implements ChipClusters.ElectricalMeasurementCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback implements ChipClusters.ElectricalMeasurementCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedElectricalMeasurementClusterEventListAttributeCallback implements ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedElectricalMeasurementClusterAttributeListAttributeCallback implements ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedUnitTestingClusterTestSpecificResponseCallback implements ChipClusters.UnitTestingCluster.TestSpecificResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer returnValue) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo returnValueResponseValue = new CommandResponseInfo("returnValue", "Integer"); + responseValues.put(returnValueResponseValue, returnValue); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterTestAddArgumentsResponseCallback implements ChipClusters.UnitTestingCluster.TestAddArgumentsResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer returnValue) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo returnValueResponseValue = new CommandResponseInfo("returnValue", "Integer"); + responseValues.put(returnValueResponseValue, returnValue); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterTestListInt8UReverseResponseCallback implements ChipClusters.UnitTestingCluster.TestListInt8UReverseResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(ArrayList arg1) { + Map responseValues = new LinkedHashMap<>(); + // arg1: /* TYPE WARNING: array array defaults to */ uint8_t * + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterTestEnumsResponseCallback implements ChipClusters.UnitTestingCluster.TestEnumsResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Integer arg1, Integer arg2) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo arg1ResponseValue = new CommandResponseInfo("arg1", "Integer"); + responseValues.put(arg1ResponseValue, arg1); + CommandResponseInfo arg2ResponseValue = new CommandResponseInfo("arg2", "Integer"); + responseValues.put(arg2ResponseValue, arg2); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterTestNullableOptionalResponseCallback implements ChipClusters.UnitTestingCluster.TestNullableOptionalResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Boolean wasPresent, Optional wasNull, Optional value, @Nullable Optional originalValue) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo wasPresentResponseValue = new CommandResponseInfo("wasPresent", "Boolean"); + responseValues.put(wasPresentResponseValue, wasPresent); + CommandResponseInfo wasNullResponseValue = new CommandResponseInfo("wasNull", "Optional"); + responseValues.put(wasNullResponseValue, wasNull); + CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Optional"); + responseValues.put(valueResponseValue, value); + CommandResponseInfo originalValueResponseValue = new CommandResponseInfo("originalValue", "Optional"); + responseValues.put(originalValueResponseValue, originalValue); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterBooleanResponseCallback implements ChipClusters.UnitTestingCluster.BooleanResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Boolean value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Boolean"); + responseValues.put(valueResponseValue, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterSimpleStructResponseCallback implements ChipClusters.UnitTestingCluster.SimpleStructResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(ChipStructs.UnitTestingClusterSimpleStruct arg1) { + Map responseValues = new LinkedHashMap<>(); + // arg1: Struct SimpleStruct + // Conversion from this type to Java is not properly implemented yet + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterTestEmitTestEventResponseCallback implements ChipClusters.UnitTestingCluster.TestEmitTestEventResponseCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + + @Override + public void onSuccess(Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Long"); + responseValues.put(valueResponseValue, value); + callback.onSuccess(responseValues); + } + + @Override + public void onError(Exception error) { + callback.onFailure(error); + } + } + + public static class DelegatedUnitTestingClusterListInt8uAttributeCallback implements ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterListOctetStringAttributeCallback implements ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterListStructOctetStringAttributeCallback implements ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback implements ChipClusters.UnitTestingCluster.ListNullablesAndOptionalsStructAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterListLongOctetStringAttributeCallback implements ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterListFabricScopedAttributeCallback implements ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableBooleanAttributeCallback implements ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Boolean value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableBitmap8AttributeCallback implements ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback, 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 DelegatedUnitTestingClusterNullableBitmap16AttributeCallback implements ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback, 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 DelegatedUnitTestingClusterNullableBitmap32AttributeCallback implements ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableBitmap64AttributeCallback implements ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt8uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback, 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 DelegatedUnitTestingClusterNullableInt16uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback, 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 DelegatedUnitTestingClusterNullableInt24uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt32uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt40uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt48uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt56uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt64uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt8sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback, 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 DelegatedUnitTestingClusterNullableInt16sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback, 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 DelegatedUnitTestingClusterNullableInt24sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt32sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt40sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt48sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt56sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableInt64sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Long value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableEnum8AttributeCallback implements ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback, 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 DelegatedUnitTestingClusterNullableEnum16AttributeCallback implements ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback, 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 DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback implements ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Float value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback implements ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable Double value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Double"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableOctetStringAttributeCallback implements ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable byte[] value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableCharStringAttributeCallback implements ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess(@Nullable String value) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); + responseValues.put(commandResponseInfo, value); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback implements ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback, 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8uAttributeCallback, 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8sAttributeCallback, 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16uAttributeCallback, 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16sAttributeCallback, 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 DelegatedUnitTestingClusterGeneratedCommandListAttributeCallback implements ChipClusters.UnitTestingCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterAcceptedCommandListAttributeCallback implements ChipClusters.UnitTestingCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterEventListAttributeCallback implements ChipClusters.UnitTestingCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedUnitTestingClusterAttributeListAttributeCallback implements ChipClusters.UnitTestingCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + public static class DelegatedFaultInjectionClusterGeneratedCommandListAttributeCallback implements ChipClusters.FaultInjectionCluster.GeneratedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFaultInjectionClusterAcceptedCommandListAttributeCallback implements ChipClusters.FaultInjectionCluster.AcceptedCommandListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFaultInjectionClusterEventListAttributeCallback implements ChipClusters.FaultInjectionCluster.EventListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + public static class DelegatedFaultInjectionClusterAttributeListAttributeCallback implements ChipClusters.FaultInjectionCluster.AttributeListAttributeCallback, DelegatedClusterCallback { + private ClusterCommandCallback callback; + @Override + public void setCallbackDelegate(ClusterCommandCallback callback) { + this.callback = callback; + } + +@Override + public void onSuccess( List valueList) { + Map responseValues = new LinkedHashMap<>(); + CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); + responseValues.put(commandResponseInfo, valueList); + callback.onSuccess(responseValues); + } + @Override + public void onError(Exception ex) { + callback.onFailure(ex); + } + } + + + public Map getClusterMap() { + Map clusterMap = initializeClusterMap(); + Map> commandMap = getCommandMap(); + combineCommand(clusterMap, commandMap); + Map> readAttributeMap = new ClusterReadMapping().getReadAttributeMap(); + combineCommand(clusterMap, readAttributeMap); + Map> writeAttributeMap = new ClusterWriteMapping().getWriteAttributeMap(); + combineCommand(clusterMap, writeAttributeMap); + return clusterMap; + } - public static class DelegatedIdentifyClusterGeneratedCommandListAttributeCallback - implements ChipClusters.IdentifyCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIdentifyClusterAcceptedCommandListAttributeCallback - implements ChipClusters.IdentifyCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIdentifyClusterEventListAttributeCallback - implements ChipClusters.IdentifyCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIdentifyClusterAttributeListAttributeCallback - implements ChipClusters.IdentifyCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupsClusterAddGroupResponseCallback - implements ChipClusters.GroupsCluster.AddGroupResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Integer GroupID) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGroupsClusterViewGroupResponseCallback - implements ChipClusters.GroupsCluster.ViewGroupResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Integer GroupID, String GroupName) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - CommandResponseInfo GroupNameResponseValue = new CommandResponseInfo("GroupName", "String"); - responseValues.put(GroupNameResponseValue, GroupName); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGroupsClusterGetGroupMembershipResponseCallback - implements ChipClusters.GroupsCluster.GetGroupMembershipResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Integer Capacity, ArrayList GroupList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo CapacityResponseValue = new CommandResponseInfo("Capacity", "Integer"); - responseValues.put(CapacityResponseValue, Capacity); - // GroupList: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGroupsClusterRemoveGroupResponseCallback - implements ChipClusters.GroupsCluster.RemoveGroupResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Integer GroupID) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGroupsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.GroupsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.GroupsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupsClusterEventListAttributeCallback - implements ChipClusters.GroupsCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupsClusterAttributeListAttributeCallback - implements ChipClusters.GroupsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedScenesClusterAddSceneResponseCallback - implements ChipClusters.ScenesCluster.AddSceneResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Integer GroupID, Integer SceneID) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); - responseValues.put(SceneIDResponseValue, SceneID); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } + public Map initializeClusterMap() { + Map clusterMap = new HashMap<>(); + ClusterInfo identifyClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.IdentifyCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("identify", identifyClusterInfo); + ClusterInfo groupsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.GroupsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("groups", groupsClusterInfo); + ClusterInfo scenesClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ScenesCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("scenes", scenesClusterInfo); + ClusterInfo onOffClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OnOffCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("onOff", onOffClusterInfo); + ClusterInfo onOffSwitchConfigurationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OnOffSwitchConfigurationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("onOffSwitchConfiguration", onOffSwitchConfigurationClusterInfo); + ClusterInfo levelControlClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.LevelControlCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("levelControl", levelControlClusterInfo); + ClusterInfo binaryInputBasicClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BinaryInputBasicCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("binaryInputBasic", binaryInputBasicClusterInfo); + ClusterInfo pulseWidthModulationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.PulseWidthModulationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("pulseWidthModulation", pulseWidthModulationClusterInfo); + ClusterInfo descriptorClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.DescriptorCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("descriptor", descriptorClusterInfo); + ClusterInfo bindingClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BindingCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("binding", bindingClusterInfo); + ClusterInfo accessControlClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.AccessControlCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("accessControl", accessControlClusterInfo); + ClusterInfo actionsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ActionsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("actions", actionsClusterInfo); + ClusterInfo basicInformationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BasicInformationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("basicInformation", basicInformationClusterInfo); + ClusterInfo otaSoftwareUpdateProviderClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OtaSoftwareUpdateProviderCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("otaSoftwareUpdateProvider", otaSoftwareUpdateProviderClusterInfo); + ClusterInfo otaSoftwareUpdateRequestorClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OtaSoftwareUpdateRequestorCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("otaSoftwareUpdateRequestor", otaSoftwareUpdateRequestorClusterInfo); + ClusterInfo localizationConfigurationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.LocalizationConfigurationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("localizationConfiguration", localizationConfigurationClusterInfo); + ClusterInfo timeFormatLocalizationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TimeFormatLocalizationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("timeFormatLocalization", timeFormatLocalizationClusterInfo); + ClusterInfo unitLocalizationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.UnitLocalizationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("unitLocalization", unitLocalizationClusterInfo); + ClusterInfo powerSourceConfigurationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.PowerSourceConfigurationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("powerSourceConfiguration", powerSourceConfigurationClusterInfo); + ClusterInfo powerSourceClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.PowerSourceCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("powerSource", powerSourceClusterInfo); + ClusterInfo generalCommissioningClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.GeneralCommissioningCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("generalCommissioning", generalCommissioningClusterInfo); + ClusterInfo networkCommissioningClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.NetworkCommissioningCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("networkCommissioning", networkCommissioningClusterInfo); + ClusterInfo diagnosticLogsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.DiagnosticLogsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("diagnosticLogs", diagnosticLogsClusterInfo); + ClusterInfo generalDiagnosticsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.GeneralDiagnosticsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("generalDiagnostics", generalDiagnosticsClusterInfo); + ClusterInfo softwareDiagnosticsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.SoftwareDiagnosticsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("softwareDiagnostics", softwareDiagnosticsClusterInfo); + ClusterInfo threadNetworkDiagnosticsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ThreadNetworkDiagnosticsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("threadNetworkDiagnostics", threadNetworkDiagnosticsClusterInfo); + ClusterInfo wiFiNetworkDiagnosticsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.WiFiNetworkDiagnosticsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("wiFiNetworkDiagnostics", wiFiNetworkDiagnosticsClusterInfo); + ClusterInfo ethernetNetworkDiagnosticsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.EthernetNetworkDiagnosticsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ethernetNetworkDiagnostics", ethernetNetworkDiagnosticsClusterInfo); + ClusterInfo timeSynchronizationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TimeSynchronizationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("timeSynchronization", timeSynchronizationClusterInfo); + ClusterInfo bridgedDeviceBasicInformationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BridgedDeviceBasicInformationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("bridgedDeviceBasicInformation", bridgedDeviceBasicInformationClusterInfo); + ClusterInfo switchClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.SwitchCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("switch", switchClusterInfo); + ClusterInfo administratorCommissioningClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.AdministratorCommissioningCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("administratorCommissioning", administratorCommissioningClusterInfo); + ClusterInfo operationalCredentialsClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OperationalCredentialsCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("operationalCredentials", operationalCredentialsClusterInfo); + ClusterInfo groupKeyManagementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.GroupKeyManagementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("groupKeyManagement", groupKeyManagementClusterInfo); + ClusterInfo fixedLabelClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FixedLabelCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("fixedLabel", fixedLabelClusterInfo); + ClusterInfo userLabelClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.UserLabelCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("userLabel", userLabelClusterInfo); + ClusterInfo proxyConfigurationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ProxyConfigurationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("proxyConfiguration", proxyConfigurationClusterInfo); + ClusterInfo proxyDiscoveryClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ProxyDiscoveryCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("proxyDiscovery", proxyDiscoveryClusterInfo); + ClusterInfo proxyValidClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ProxyValidCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("proxyValid", proxyValidClusterInfo); + ClusterInfo booleanStateClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BooleanStateCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("booleanState", booleanStateClusterInfo); + ClusterInfo icdManagementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.IcdManagementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("icdManagement", icdManagementClusterInfo); + ClusterInfo modeSelectClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ModeSelectCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("modeSelect", modeSelectClusterInfo); + ClusterInfo temperatureControlClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TemperatureControlCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("temperatureControl", temperatureControlClusterInfo); + ClusterInfo refrigeratorAlarmClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.RefrigeratorAlarmCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("refrigeratorAlarm", refrigeratorAlarmClusterInfo); + ClusterInfo airQualityClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.AirQualityCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("airQuality", airQualityClusterInfo); + ClusterInfo smokeCoAlarmClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.SmokeCoAlarmCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("smokeCoAlarm", smokeCoAlarmClusterInfo); + ClusterInfo operationalStateClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OperationalStateCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("operationalState", operationalStateClusterInfo); + ClusterInfo hepaFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.HepaFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("hepaFilterMonitoring", hepaFilterMonitoringClusterInfo); + ClusterInfo activatedCarbonFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ActivatedCarbonFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("activatedCarbonFilterMonitoring", activatedCarbonFilterMonitoringClusterInfo); + ClusterInfo ceramicFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.CeramicFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ceramicFilterMonitoring", ceramicFilterMonitoringClusterInfo); + ClusterInfo electrostaticFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ElectrostaticFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("electrostaticFilterMonitoring", electrostaticFilterMonitoringClusterInfo); + ClusterInfo uvFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.UvFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("uvFilterMonitoring", uvFilterMonitoringClusterInfo); + ClusterInfo ionizingFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.IonizingFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ionizingFilterMonitoring", ionizingFilterMonitoringClusterInfo); + ClusterInfo zeoliteFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ZeoliteFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("zeoliteFilterMonitoring", zeoliteFilterMonitoringClusterInfo); + ClusterInfo ozoneFilterMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OzoneFilterMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ozoneFilterMonitoring", ozoneFilterMonitoringClusterInfo); + ClusterInfo waterTankMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.WaterTankMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("waterTankMonitoring", waterTankMonitoringClusterInfo); + ClusterInfo fuelTankMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FuelTankMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("fuelTankMonitoring", fuelTankMonitoringClusterInfo); + ClusterInfo inkCartridgeMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.InkCartridgeMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("inkCartridgeMonitoring", inkCartridgeMonitoringClusterInfo); + ClusterInfo tonerCartridgeMonitoringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TonerCartridgeMonitoringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("tonerCartridgeMonitoring", tonerCartridgeMonitoringClusterInfo); + ClusterInfo doorLockClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.DoorLockCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("doorLock", doorLockClusterInfo); + ClusterInfo windowCoveringClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.WindowCoveringCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("windowCovering", windowCoveringClusterInfo); + ClusterInfo barrierControlClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BarrierControlCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("barrierControl", barrierControlClusterInfo); + ClusterInfo pumpConfigurationAndControlClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.PumpConfigurationAndControlCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("pumpConfigurationAndControl", pumpConfigurationAndControlClusterInfo); + ClusterInfo thermostatClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ThermostatCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("thermostat", thermostatClusterInfo); + ClusterInfo fanControlClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FanControlCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("fanControl", fanControlClusterInfo); + ClusterInfo thermostatUserInterfaceConfigurationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ThermostatUserInterfaceConfigurationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("thermostatUserInterfaceConfiguration", thermostatUserInterfaceConfigurationClusterInfo); + ClusterInfo colorControlClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ColorControlCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("colorControl", colorControlClusterInfo); + ClusterInfo ballastConfigurationClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BallastConfigurationCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ballastConfiguration", ballastConfigurationClusterInfo); + ClusterInfo illuminanceMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.IlluminanceMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("illuminanceMeasurement", illuminanceMeasurementClusterInfo); + ClusterInfo temperatureMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TemperatureMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("temperatureMeasurement", temperatureMeasurementClusterInfo); + ClusterInfo pressureMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.PressureMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("pressureMeasurement", pressureMeasurementClusterInfo); + ClusterInfo flowMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FlowMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("flowMeasurement", flowMeasurementClusterInfo); + ClusterInfo relativeHumidityMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.RelativeHumidityMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("relativeHumidityMeasurement", relativeHumidityMeasurementClusterInfo); + ClusterInfo occupancySensingClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OccupancySensingCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("occupancySensing", occupancySensingClusterInfo); + ClusterInfo carbonMonoxideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.CarbonMonoxideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("carbonMonoxideConcentrationMeasurement", carbonMonoxideConcentrationMeasurementClusterInfo); + ClusterInfo carbonDioxideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.CarbonDioxideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("carbonDioxideConcentrationMeasurement", carbonDioxideConcentrationMeasurementClusterInfo); + ClusterInfo ethyleneConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.EthyleneConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ethyleneConcentrationMeasurement", ethyleneConcentrationMeasurementClusterInfo); + ClusterInfo ethyleneOxideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.EthyleneOxideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ethyleneOxideConcentrationMeasurement", ethyleneOxideConcentrationMeasurementClusterInfo); + ClusterInfo hydrogenConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.HydrogenConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("hydrogenConcentrationMeasurement", hydrogenConcentrationMeasurementClusterInfo); + ClusterInfo hydrogenSulfideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.HydrogenSulfideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("hydrogenSulfideConcentrationMeasurement", hydrogenSulfideConcentrationMeasurementClusterInfo); + ClusterInfo nitricOxideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.NitricOxideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("nitricOxideConcentrationMeasurement", nitricOxideConcentrationMeasurementClusterInfo); + ClusterInfo nitrogenDioxideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.NitrogenDioxideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("nitrogenDioxideConcentrationMeasurement", nitrogenDioxideConcentrationMeasurementClusterInfo); + ClusterInfo oxygenConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OxygenConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("oxygenConcentrationMeasurement", oxygenConcentrationMeasurementClusterInfo); + ClusterInfo ozoneConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.OzoneConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("ozoneConcentrationMeasurement", ozoneConcentrationMeasurementClusterInfo); + ClusterInfo sulfurDioxideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.SulfurDioxideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("sulfurDioxideConcentrationMeasurement", sulfurDioxideConcentrationMeasurementClusterInfo); + ClusterInfo dissolvedOxygenConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.DissolvedOxygenConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("dissolvedOxygenConcentrationMeasurement", dissolvedOxygenConcentrationMeasurementClusterInfo); + ClusterInfo bromateConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BromateConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("bromateConcentrationMeasurement", bromateConcentrationMeasurementClusterInfo); + ClusterInfo chloraminesConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ChloraminesConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("chloraminesConcentrationMeasurement", chloraminesConcentrationMeasurementClusterInfo); + ClusterInfo chlorineConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ChlorineConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("chlorineConcentrationMeasurement", chlorineConcentrationMeasurementClusterInfo); + ClusterInfo fecalColiformEColiConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FecalColiformEColiConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("fecalColiformEColiConcentrationMeasurement", fecalColiformEColiConcentrationMeasurementClusterInfo); + ClusterInfo fluorideConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FluorideConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("fluorideConcentrationMeasurement", fluorideConcentrationMeasurementClusterInfo); + ClusterInfo haloaceticAcidsConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("haloaceticAcidsConcentrationMeasurement", haloaceticAcidsConcentrationMeasurementClusterInfo); + ClusterInfo totalTrihalomethanesConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("totalTrihalomethanesConcentrationMeasurement", totalTrihalomethanesConcentrationMeasurementClusterInfo); + ClusterInfo totalColiformBacteriaConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("totalColiformBacteriaConcentrationMeasurement", totalColiformBacteriaConcentrationMeasurementClusterInfo); + ClusterInfo turbidityConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TurbidityConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("turbidityConcentrationMeasurement", turbidityConcentrationMeasurementClusterInfo); + ClusterInfo copperConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.CopperConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("copperConcentrationMeasurement", copperConcentrationMeasurementClusterInfo); + ClusterInfo leadConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.LeadConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("leadConcentrationMeasurement", leadConcentrationMeasurementClusterInfo); + ClusterInfo manganeseConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ManganeseConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("manganeseConcentrationMeasurement", manganeseConcentrationMeasurementClusterInfo); + ClusterInfo sulfateConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.SulfateConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("sulfateConcentrationMeasurement", sulfateConcentrationMeasurementClusterInfo); + ClusterInfo bromodichloromethaneConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BromodichloromethaneConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("bromodichloromethaneConcentrationMeasurement", bromodichloromethaneConcentrationMeasurementClusterInfo); + ClusterInfo bromoformConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.BromoformConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("bromoformConcentrationMeasurement", bromoformConcentrationMeasurementClusterInfo); + ClusterInfo chlorodibromomethaneConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("chlorodibromomethaneConcentrationMeasurement", chlorodibromomethaneConcentrationMeasurementClusterInfo); + ClusterInfo chloroformConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ChloroformConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("chloroformConcentrationMeasurement", chloroformConcentrationMeasurementClusterInfo); + ClusterInfo sodiumConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.SodiumConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("sodiumConcentrationMeasurement", sodiumConcentrationMeasurementClusterInfo); + ClusterInfo pm25ConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.Pm25ConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("pm25ConcentrationMeasurement", pm25ConcentrationMeasurementClusterInfo); + ClusterInfo formaldehydeConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FormaldehydeConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("formaldehydeConcentrationMeasurement", formaldehydeConcentrationMeasurementClusterInfo); + ClusterInfo pm1ConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.Pm1ConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("pm1ConcentrationMeasurement", pm1ConcentrationMeasurementClusterInfo); + ClusterInfo pm10ConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.Pm10ConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("pm10ConcentrationMeasurement", pm10ConcentrationMeasurementClusterInfo); + ClusterInfo totalVolatileOrganicCompoundsConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("totalVolatileOrganicCompoundsConcentrationMeasurement", totalVolatileOrganicCompoundsConcentrationMeasurementClusterInfo); + ClusterInfo radonConcentrationMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.RadonConcentrationMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("radonConcentrationMeasurement", radonConcentrationMeasurementClusterInfo); + ClusterInfo wakeOnLanClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.WakeOnLanCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("wakeOnLan", wakeOnLanClusterInfo); + ClusterInfo channelClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ChannelCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("channel", channelClusterInfo); + ClusterInfo targetNavigatorClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.TargetNavigatorCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("targetNavigator", targetNavigatorClusterInfo); + ClusterInfo mediaPlaybackClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.MediaPlaybackCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("mediaPlayback", mediaPlaybackClusterInfo); + ClusterInfo mediaInputClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.MediaInputCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("mediaInput", mediaInputClusterInfo); + ClusterInfo lowPowerClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.LowPowerCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("lowPower", lowPowerClusterInfo); + ClusterInfo keypadInputClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.KeypadInputCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("keypadInput", keypadInputClusterInfo); + ClusterInfo contentLauncherClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ContentLauncherCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("contentLauncher", contentLauncherClusterInfo); + ClusterInfo audioOutputClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.AudioOutputCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("audioOutput", audioOutputClusterInfo); + ClusterInfo applicationLauncherClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ApplicationLauncherCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("applicationLauncher", applicationLauncherClusterInfo); + ClusterInfo applicationBasicClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ApplicationBasicCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("applicationBasic", applicationBasicClusterInfo); + ClusterInfo accountLoginClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.AccountLoginCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("accountLogin", accountLoginClusterInfo); + ClusterInfo electricalMeasurementClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.ElectricalMeasurementCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("electricalMeasurement", electricalMeasurementClusterInfo); + ClusterInfo unitTestingClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.UnitTestingCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("unitTesting", unitTestingClusterInfo); + ClusterInfo faultInjectionClusterInfo = new ClusterInfo( + (ptr, endpointId) -> new ChipClusters.FaultInjectionCluster(ptr, endpointId), new HashMap<>()); + clusterMap.put("faultInjection", faultInjectionClusterInfo); + return clusterMap; + } + + public void combineCommand(Map destination, Map> source) { + destination.get("identify").combineCommands(source.get("identify")); + destination.get("groups").combineCommands(source.get("groups")); + destination.get("scenes").combineCommands(source.get("scenes")); + destination.get("onOff").combineCommands(source.get("onOff")); + destination.get("onOffSwitchConfiguration").combineCommands(source.get("onOffSwitchConfiguration")); + destination.get("levelControl").combineCommands(source.get("levelControl")); + destination.get("binaryInputBasic").combineCommands(source.get("binaryInputBasic")); + destination.get("pulseWidthModulation").combineCommands(source.get("pulseWidthModulation")); + destination.get("descriptor").combineCommands(source.get("descriptor")); + destination.get("binding").combineCommands(source.get("binding")); + destination.get("accessControl").combineCommands(source.get("accessControl")); + destination.get("actions").combineCommands(source.get("actions")); + destination.get("basicInformation").combineCommands(source.get("basicInformation")); + destination.get("otaSoftwareUpdateProvider").combineCommands(source.get("otaSoftwareUpdateProvider")); + destination.get("otaSoftwareUpdateRequestor").combineCommands(source.get("otaSoftwareUpdateRequestor")); + destination.get("localizationConfiguration").combineCommands(source.get("localizationConfiguration")); + destination.get("timeFormatLocalization").combineCommands(source.get("timeFormatLocalization")); + destination.get("unitLocalization").combineCommands(source.get("unitLocalization")); + destination.get("powerSourceConfiguration").combineCommands(source.get("powerSourceConfiguration")); + destination.get("powerSource").combineCommands(source.get("powerSource")); + destination.get("generalCommissioning").combineCommands(source.get("generalCommissioning")); + destination.get("networkCommissioning").combineCommands(source.get("networkCommissioning")); + destination.get("diagnosticLogs").combineCommands(source.get("diagnosticLogs")); + destination.get("generalDiagnostics").combineCommands(source.get("generalDiagnostics")); + destination.get("softwareDiagnostics").combineCommands(source.get("softwareDiagnostics")); + destination.get("threadNetworkDiagnostics").combineCommands(source.get("threadNetworkDiagnostics")); + destination.get("wiFiNetworkDiagnostics").combineCommands(source.get("wiFiNetworkDiagnostics")); + destination.get("ethernetNetworkDiagnostics").combineCommands(source.get("ethernetNetworkDiagnostics")); + destination.get("timeSynchronization").combineCommands(source.get("timeSynchronization")); + destination.get("bridgedDeviceBasicInformation").combineCommands(source.get("bridgedDeviceBasicInformation")); + destination.get("switch").combineCommands(source.get("switch")); + destination.get("administratorCommissioning").combineCommands(source.get("administratorCommissioning")); + destination.get("operationalCredentials").combineCommands(source.get("operationalCredentials")); + destination.get("groupKeyManagement").combineCommands(source.get("groupKeyManagement")); + destination.get("fixedLabel").combineCommands(source.get("fixedLabel")); + destination.get("userLabel").combineCommands(source.get("userLabel")); + destination.get("proxyConfiguration").combineCommands(source.get("proxyConfiguration")); + destination.get("proxyDiscovery").combineCommands(source.get("proxyDiscovery")); + destination.get("proxyValid").combineCommands(source.get("proxyValid")); + destination.get("booleanState").combineCommands(source.get("booleanState")); + destination.get("icdManagement").combineCommands(source.get("icdManagement")); + destination.get("modeSelect").combineCommands(source.get("modeSelect")); + destination.get("temperatureControl").combineCommands(source.get("temperatureControl")); + destination.get("refrigeratorAlarm").combineCommands(source.get("refrigeratorAlarm")); + destination.get("airQuality").combineCommands(source.get("airQuality")); + destination.get("smokeCoAlarm").combineCommands(source.get("smokeCoAlarm")); + destination.get("operationalState").combineCommands(source.get("operationalState")); + destination.get("hepaFilterMonitoring").combineCommands(source.get("hepaFilterMonitoring")); + destination.get("activatedCarbonFilterMonitoring").combineCommands(source.get("activatedCarbonFilterMonitoring")); + destination.get("ceramicFilterMonitoring").combineCommands(source.get("ceramicFilterMonitoring")); + destination.get("electrostaticFilterMonitoring").combineCommands(source.get("electrostaticFilterMonitoring")); + destination.get("uvFilterMonitoring").combineCommands(source.get("uvFilterMonitoring")); + destination.get("ionizingFilterMonitoring").combineCommands(source.get("ionizingFilterMonitoring")); + destination.get("zeoliteFilterMonitoring").combineCommands(source.get("zeoliteFilterMonitoring")); + destination.get("ozoneFilterMonitoring").combineCommands(source.get("ozoneFilterMonitoring")); + destination.get("waterTankMonitoring").combineCommands(source.get("waterTankMonitoring")); + destination.get("fuelTankMonitoring").combineCommands(source.get("fuelTankMonitoring")); + destination.get("inkCartridgeMonitoring").combineCommands(source.get("inkCartridgeMonitoring")); + destination.get("tonerCartridgeMonitoring").combineCommands(source.get("tonerCartridgeMonitoring")); + destination.get("doorLock").combineCommands(source.get("doorLock")); + destination.get("windowCovering").combineCommands(source.get("windowCovering")); + destination.get("barrierControl").combineCommands(source.get("barrierControl")); + destination.get("pumpConfigurationAndControl").combineCommands(source.get("pumpConfigurationAndControl")); + destination.get("thermostat").combineCommands(source.get("thermostat")); + destination.get("fanControl").combineCommands(source.get("fanControl")); + destination.get("thermostatUserInterfaceConfiguration").combineCommands(source.get("thermostatUserInterfaceConfiguration")); + destination.get("colorControl").combineCommands(source.get("colorControl")); + destination.get("ballastConfiguration").combineCommands(source.get("ballastConfiguration")); + destination.get("illuminanceMeasurement").combineCommands(source.get("illuminanceMeasurement")); + destination.get("temperatureMeasurement").combineCommands(source.get("temperatureMeasurement")); + destination.get("pressureMeasurement").combineCommands(source.get("pressureMeasurement")); + destination.get("flowMeasurement").combineCommands(source.get("flowMeasurement")); + destination.get("relativeHumidityMeasurement").combineCommands(source.get("relativeHumidityMeasurement")); + destination.get("occupancySensing").combineCommands(source.get("occupancySensing")); + destination.get("carbonMonoxideConcentrationMeasurement").combineCommands(source.get("carbonMonoxideConcentrationMeasurement")); + destination.get("carbonDioxideConcentrationMeasurement").combineCommands(source.get("carbonDioxideConcentrationMeasurement")); + destination.get("ethyleneConcentrationMeasurement").combineCommands(source.get("ethyleneConcentrationMeasurement")); + destination.get("ethyleneOxideConcentrationMeasurement").combineCommands(source.get("ethyleneOxideConcentrationMeasurement")); + destination.get("hydrogenConcentrationMeasurement").combineCommands(source.get("hydrogenConcentrationMeasurement")); + destination.get("hydrogenSulfideConcentrationMeasurement").combineCommands(source.get("hydrogenSulfideConcentrationMeasurement")); + destination.get("nitricOxideConcentrationMeasurement").combineCommands(source.get("nitricOxideConcentrationMeasurement")); + destination.get("nitrogenDioxideConcentrationMeasurement").combineCommands(source.get("nitrogenDioxideConcentrationMeasurement")); + destination.get("oxygenConcentrationMeasurement").combineCommands(source.get("oxygenConcentrationMeasurement")); + destination.get("ozoneConcentrationMeasurement").combineCommands(source.get("ozoneConcentrationMeasurement")); + destination.get("sulfurDioxideConcentrationMeasurement").combineCommands(source.get("sulfurDioxideConcentrationMeasurement")); + destination.get("dissolvedOxygenConcentrationMeasurement").combineCommands(source.get("dissolvedOxygenConcentrationMeasurement")); + destination.get("bromateConcentrationMeasurement").combineCommands(source.get("bromateConcentrationMeasurement")); + destination.get("chloraminesConcentrationMeasurement").combineCommands(source.get("chloraminesConcentrationMeasurement")); + destination.get("chlorineConcentrationMeasurement").combineCommands(source.get("chlorineConcentrationMeasurement")); + destination.get("fecalColiformEColiConcentrationMeasurement").combineCommands(source.get("fecalColiformEColiConcentrationMeasurement")); + destination.get("fluorideConcentrationMeasurement").combineCommands(source.get("fluorideConcentrationMeasurement")); + destination.get("haloaceticAcidsConcentrationMeasurement").combineCommands(source.get("haloaceticAcidsConcentrationMeasurement")); + destination.get("totalTrihalomethanesConcentrationMeasurement").combineCommands(source.get("totalTrihalomethanesConcentrationMeasurement")); + destination.get("totalColiformBacteriaConcentrationMeasurement").combineCommands(source.get("totalColiformBacteriaConcentrationMeasurement")); + destination.get("turbidityConcentrationMeasurement").combineCommands(source.get("turbidityConcentrationMeasurement")); + destination.get("copperConcentrationMeasurement").combineCommands(source.get("copperConcentrationMeasurement")); + destination.get("leadConcentrationMeasurement").combineCommands(source.get("leadConcentrationMeasurement")); + destination.get("manganeseConcentrationMeasurement").combineCommands(source.get("manganeseConcentrationMeasurement")); + destination.get("sulfateConcentrationMeasurement").combineCommands(source.get("sulfateConcentrationMeasurement")); + destination.get("bromodichloromethaneConcentrationMeasurement").combineCommands(source.get("bromodichloromethaneConcentrationMeasurement")); + destination.get("bromoformConcentrationMeasurement").combineCommands(source.get("bromoformConcentrationMeasurement")); + destination.get("chlorodibromomethaneConcentrationMeasurement").combineCommands(source.get("chlorodibromomethaneConcentrationMeasurement")); + destination.get("chloroformConcentrationMeasurement").combineCommands(source.get("chloroformConcentrationMeasurement")); + destination.get("sodiumConcentrationMeasurement").combineCommands(source.get("sodiumConcentrationMeasurement")); + destination.get("pm25ConcentrationMeasurement").combineCommands(source.get("pm25ConcentrationMeasurement")); + destination.get("formaldehydeConcentrationMeasurement").combineCommands(source.get("formaldehydeConcentrationMeasurement")); + destination.get("pm1ConcentrationMeasurement").combineCommands(source.get("pm1ConcentrationMeasurement")); + destination.get("pm10ConcentrationMeasurement").combineCommands(source.get("pm10ConcentrationMeasurement")); + destination.get("totalVolatileOrganicCompoundsConcentrationMeasurement").combineCommands(source.get("totalVolatileOrganicCompoundsConcentrationMeasurement")); + destination.get("radonConcentrationMeasurement").combineCommands(source.get("radonConcentrationMeasurement")); + destination.get("wakeOnLan").combineCommands(source.get("wakeOnLan")); + destination.get("channel").combineCommands(source.get("channel")); + destination.get("targetNavigator").combineCommands(source.get("targetNavigator")); + destination.get("mediaPlayback").combineCommands(source.get("mediaPlayback")); + destination.get("mediaInput").combineCommands(source.get("mediaInput")); + destination.get("lowPower").combineCommands(source.get("lowPower")); + destination.get("keypadInput").combineCommands(source.get("keypadInput")); + destination.get("contentLauncher").combineCommands(source.get("contentLauncher")); + destination.get("audioOutput").combineCommands(source.get("audioOutput")); + destination.get("applicationLauncher").combineCommands(source.get("applicationLauncher")); + destination.get("applicationBasic").combineCommands(source.get("applicationBasic")); + destination.get("accountLogin").combineCommands(source.get("accountLogin")); + destination.get("electricalMeasurement").combineCommands(source.get("electricalMeasurement")); + destination.get("unitTesting").combineCommands(source.get("unitTesting")); + destination.get("faultInjection").combineCommands(source.get("faultInjection")); + } + + @SuppressWarnings("unchecked") + public Map> getCommandMap() { + Map> commandMap = new HashMap<>(); + Map identifyClusterInteractionInfoMap = new LinkedHashMap<>(); + Map identifyidentifyCommandParams = new LinkedHashMap(); + CommandParameterInfo identifyidentifyidentifyTimeCommandParameterInfo = new CommandParameterInfo("identifyTime", Integer.class, Integer.class); + identifyidentifyCommandParams.put("identifyTime",identifyidentifyidentifyTimeCommandParameterInfo); + + InteractionInfo identifyidentifyInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .identify((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("identifyTime") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + identifyidentifyCommandParams + ); + identifyClusterInteractionInfoMap.put("identify", identifyidentifyInteractionInfo); + Map identifytriggerEffectCommandParams = new LinkedHashMap(); + CommandParameterInfo identifytriggerEffecteffectIdentifierCommandParameterInfo = new CommandParameterInfo("effectIdentifier", Integer.class, Integer.class); + identifytriggerEffectCommandParams.put("effectIdentifier",identifytriggerEffecteffectIdentifierCommandParameterInfo); + + CommandParameterInfo identifytriggerEffecteffectVariantCommandParameterInfo = new CommandParameterInfo("effectVariant", Integer.class, Integer.class); + identifytriggerEffectCommandParams.put("effectVariant",identifytriggerEffecteffectVariantCommandParameterInfo); + + InteractionInfo identifytriggerEffectInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .triggerEffect((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("effectIdentifier") + , (Integer) + commandArguments.get("effectVariant") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + identifytriggerEffectCommandParams + ); + identifyClusterInteractionInfoMap.put("triggerEffect", identifytriggerEffectInteractionInfo); + commandMap.put("identify", identifyClusterInteractionInfoMap); + Map groupsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map groupsaddGroupCommandParams = new LinkedHashMap(); + CommandParameterInfo groupsaddGroupgroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + groupsaddGroupCommandParams.put("groupID",groupsaddGroupgroupIDCommandParameterInfo); + + CommandParameterInfo groupsaddGroupgroupNameCommandParameterInfo = new CommandParameterInfo("groupName", String.class, String.class); + groupsaddGroupCommandParams.put("groupName",groupsaddGroupgroupNameCommandParameterInfo); + + InteractionInfo groupsaddGroupInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .addGroup((ChipClusters.GroupsCluster.AddGroupResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + , (String) + commandArguments.get("groupName") + + ); + }, + () -> new DelegatedGroupsClusterAddGroupResponseCallback(), + groupsaddGroupCommandParams + ); + groupsClusterInteractionInfoMap.put("addGroup", groupsaddGroupInteractionInfo); + Map groupsviewGroupCommandParams = new LinkedHashMap(); + CommandParameterInfo groupsviewGroupgroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + groupsviewGroupCommandParams.put("groupID",groupsviewGroupgroupIDCommandParameterInfo); + + InteractionInfo groupsviewGroupInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .viewGroup((ChipClusters.GroupsCluster.ViewGroupResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + + ); + }, + () -> new DelegatedGroupsClusterViewGroupResponseCallback(), + groupsviewGroupCommandParams + ); + groupsClusterInteractionInfoMap.put("viewGroup", groupsviewGroupInteractionInfo); + Map groupsgetGroupMembershipCommandParams = new LinkedHashMap(); + CommandParameterInfo groupsgetGroupMembershipgroupListCommandParameterInfo = new CommandParameterInfo("groupList", ArrayList.class, Integer.class); + groupsgetGroupMembershipCommandParams.put("groupList",groupsgetGroupMembershipgroupListCommandParameterInfo); + + InteractionInfo groupsgetGroupMembershipInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .getGroupMembership((ChipClusters.GroupsCluster.GetGroupMembershipResponseCallback) callback + , (ArrayList) + commandArguments.get("groupList") + + ); + }, + () -> new DelegatedGroupsClusterGetGroupMembershipResponseCallback(), + groupsgetGroupMembershipCommandParams + ); + groupsClusterInteractionInfoMap.put("getGroupMembership", groupsgetGroupMembershipInteractionInfo); + Map groupsremoveGroupCommandParams = new LinkedHashMap(); + CommandParameterInfo groupsremoveGroupgroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + groupsremoveGroupCommandParams.put("groupID",groupsremoveGroupgroupIDCommandParameterInfo); + + InteractionInfo groupsremoveGroupInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .removeGroup((ChipClusters.GroupsCluster.RemoveGroupResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + + ); + }, + () -> new DelegatedGroupsClusterRemoveGroupResponseCallback(), + groupsremoveGroupCommandParams + ); + groupsClusterInteractionInfoMap.put("removeGroup", groupsremoveGroupInteractionInfo); + Map groupsremoveAllGroupsCommandParams = new LinkedHashMap(); + InteractionInfo groupsremoveAllGroupsInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .removeAllGroups((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + groupsremoveAllGroupsCommandParams + ); + groupsClusterInteractionInfoMap.put("removeAllGroups", groupsremoveAllGroupsInteractionInfo); + Map groupsaddGroupIfIdentifyingCommandParams = new LinkedHashMap(); + CommandParameterInfo groupsaddGroupIfIdentifyinggroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + groupsaddGroupIfIdentifyingCommandParams.put("groupID",groupsaddGroupIfIdentifyinggroupIDCommandParameterInfo); + + CommandParameterInfo groupsaddGroupIfIdentifyinggroupNameCommandParameterInfo = new CommandParameterInfo("groupName", String.class, String.class); + groupsaddGroupIfIdentifyingCommandParams.put("groupName",groupsaddGroupIfIdentifyinggroupNameCommandParameterInfo); + + InteractionInfo groupsaddGroupIfIdentifyingInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupsCluster) cluster) + .addGroupIfIdentifying((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("groupID") + , (String) + commandArguments.get("groupName") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + groupsaddGroupIfIdentifyingCommandParams + ); + groupsClusterInteractionInfoMap.put("addGroupIfIdentifying", groupsaddGroupIfIdentifyingInteractionInfo); + commandMap.put("groups", groupsClusterInteractionInfoMap); + Map scenesClusterInteractionInfoMap = new LinkedHashMap<>(); + Map scenesaddSceneCommandParams = new LinkedHashMap(); + CommandParameterInfo scenesaddScenegroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + scenesaddSceneCommandParams.put("groupID",scenesaddScenegroupIDCommandParameterInfo); + + CommandParameterInfo scenesaddScenesceneIDCommandParameterInfo = new CommandParameterInfo("sceneID", Integer.class, Integer.class); + scenesaddSceneCommandParams.put("sceneID",scenesaddScenesceneIDCommandParameterInfo); + + CommandParameterInfo scenesaddScenetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + scenesaddSceneCommandParams.put("transitionTime",scenesaddScenetransitionTimeCommandParameterInfo); + + CommandParameterInfo scenesaddScenesceneNameCommandParameterInfo = new CommandParameterInfo("sceneName", String.class, String.class); + scenesaddSceneCommandParams.put("sceneName",scenesaddScenesceneNameCommandParameterInfo); + + InteractionInfo scenesaddSceneInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .addScene((ChipClusters.ScenesCluster.AddSceneResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + , (Integer) + commandArguments.get("sceneID") + , (Integer) + commandArguments.get("transitionTime") + , (String) + commandArguments.get("sceneName") + , (ArrayList) + commandArguments.get("extensionFieldSets") + + ); + }, + () -> new DelegatedScenesClusterAddSceneResponseCallback(), + scenesaddSceneCommandParams + ); + scenesClusterInteractionInfoMap.put("addScene", scenesaddSceneInteractionInfo); + Map scenesviewSceneCommandParams = new LinkedHashMap(); + CommandParameterInfo scenesviewScenegroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + scenesviewSceneCommandParams.put("groupID",scenesviewScenegroupIDCommandParameterInfo); + + CommandParameterInfo scenesviewScenesceneIDCommandParameterInfo = new CommandParameterInfo("sceneID", Integer.class, Integer.class); + scenesviewSceneCommandParams.put("sceneID",scenesviewScenesceneIDCommandParameterInfo); + + InteractionInfo scenesviewSceneInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .viewScene((ChipClusters.ScenesCluster.ViewSceneResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + , (Integer) + commandArguments.get("sceneID") + + ); + }, + () -> new DelegatedScenesClusterViewSceneResponseCallback(), + scenesviewSceneCommandParams + ); + scenesClusterInteractionInfoMap.put("viewScene", scenesviewSceneInteractionInfo); + Map scenesremoveSceneCommandParams = new LinkedHashMap(); + CommandParameterInfo scenesremoveScenegroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + scenesremoveSceneCommandParams.put("groupID",scenesremoveScenegroupIDCommandParameterInfo); + + CommandParameterInfo scenesremoveScenesceneIDCommandParameterInfo = new CommandParameterInfo("sceneID", Integer.class, Integer.class); + scenesremoveSceneCommandParams.put("sceneID",scenesremoveScenesceneIDCommandParameterInfo); + + InteractionInfo scenesremoveSceneInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .removeScene((ChipClusters.ScenesCluster.RemoveSceneResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + , (Integer) + commandArguments.get("sceneID") + + ); + }, + () -> new DelegatedScenesClusterRemoveSceneResponseCallback(), + scenesremoveSceneCommandParams + ); + scenesClusterInteractionInfoMap.put("removeScene", scenesremoveSceneInteractionInfo); + Map scenesremoveAllScenesCommandParams = new LinkedHashMap(); + CommandParameterInfo scenesremoveAllScenesgroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + scenesremoveAllScenesCommandParams.put("groupID",scenesremoveAllScenesgroupIDCommandParameterInfo); + + InteractionInfo scenesremoveAllScenesInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .removeAllScenes((ChipClusters.ScenesCluster.RemoveAllScenesResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + + ); + }, + () -> new DelegatedScenesClusterRemoveAllScenesResponseCallback(), + scenesremoveAllScenesCommandParams + ); + scenesClusterInteractionInfoMap.put("removeAllScenes", scenesremoveAllScenesInteractionInfo); + Map scenesstoreSceneCommandParams = new LinkedHashMap(); + CommandParameterInfo scenesstoreScenegroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + scenesstoreSceneCommandParams.put("groupID",scenesstoreScenegroupIDCommandParameterInfo); + + CommandParameterInfo scenesstoreScenesceneIDCommandParameterInfo = new CommandParameterInfo("sceneID", Integer.class, Integer.class); + scenesstoreSceneCommandParams.put("sceneID",scenesstoreScenesceneIDCommandParameterInfo); + + InteractionInfo scenesstoreSceneInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .storeScene((ChipClusters.ScenesCluster.StoreSceneResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + , (Integer) + commandArguments.get("sceneID") + + ); + }, + () -> new DelegatedScenesClusterStoreSceneResponseCallback(), + scenesstoreSceneCommandParams + ); + scenesClusterInteractionInfoMap.put("storeScene", scenesstoreSceneInteractionInfo); + Map scenesrecallSceneCommandParams = new LinkedHashMap(); + CommandParameterInfo scenesrecallScenegroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + scenesrecallSceneCommandParams.put("groupID",scenesrecallScenegroupIDCommandParameterInfo); + + CommandParameterInfo scenesrecallScenesceneIDCommandParameterInfo = new CommandParameterInfo("sceneID", Integer.class, Integer.class); + scenesrecallSceneCommandParams.put("sceneID",scenesrecallScenesceneIDCommandParameterInfo); + + CommandParameterInfo scenesrecallScenetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Optional.class, Integer.class); + scenesrecallSceneCommandParams.put("transitionTime",scenesrecallScenetransitionTimeCommandParameterInfo); + + InteractionInfo scenesrecallSceneInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .recallScene((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("groupID") + , (Integer) + commandArguments.get("sceneID") + , (Optional) + commandArguments.get("transitionTime") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + scenesrecallSceneCommandParams + ); + scenesClusterInteractionInfoMap.put("recallScene", scenesrecallSceneInteractionInfo); + Map scenesgetSceneMembershipCommandParams = new LinkedHashMap(); + CommandParameterInfo scenesgetSceneMembershipgroupIDCommandParameterInfo = new CommandParameterInfo("groupID", Integer.class, Integer.class); + scenesgetSceneMembershipCommandParams.put("groupID",scenesgetSceneMembershipgroupIDCommandParameterInfo); + + InteractionInfo scenesgetSceneMembershipInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ScenesCluster) cluster) + .getSceneMembership((ChipClusters.ScenesCluster.GetSceneMembershipResponseCallback) callback + , (Integer) + commandArguments.get("groupID") + + ); + }, + () -> new DelegatedScenesClusterGetSceneMembershipResponseCallback(), + scenesgetSceneMembershipCommandParams + ); + scenesClusterInteractionInfoMap.put("getSceneMembership", scenesgetSceneMembershipInteractionInfo); + commandMap.put("scenes", scenesClusterInteractionInfoMap); + Map onOffClusterInteractionInfoMap = new LinkedHashMap<>(); + Map onOffoffCommandParams = new LinkedHashMap(); + InteractionInfo onOffoffInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .off((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + onOffoffCommandParams + ); + onOffClusterInteractionInfoMap.put("off", onOffoffInteractionInfo); + Map onOffonCommandParams = new LinkedHashMap(); + InteractionInfo onOffonInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .on((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + onOffonCommandParams + ); + onOffClusterInteractionInfoMap.put("on", onOffonInteractionInfo); + Map onOfftoggleCommandParams = new LinkedHashMap(); + InteractionInfo onOfftoggleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .toggle((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + onOfftoggleCommandParams + ); + onOffClusterInteractionInfoMap.put("toggle", onOfftoggleInteractionInfo); + Map onOffoffWithEffectCommandParams = new LinkedHashMap(); + CommandParameterInfo onOffoffWithEffecteffectIdentifierCommandParameterInfo = new CommandParameterInfo("effectIdentifier", Integer.class, Integer.class); + onOffoffWithEffectCommandParams.put("effectIdentifier",onOffoffWithEffecteffectIdentifierCommandParameterInfo); + + CommandParameterInfo onOffoffWithEffecteffectVariantCommandParameterInfo = new CommandParameterInfo("effectVariant", Integer.class, Integer.class); + onOffoffWithEffectCommandParams.put("effectVariant",onOffoffWithEffecteffectVariantCommandParameterInfo); + + InteractionInfo onOffoffWithEffectInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .offWithEffect((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("effectIdentifier") + , (Integer) + commandArguments.get("effectVariant") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + onOffoffWithEffectCommandParams + ); + onOffClusterInteractionInfoMap.put("offWithEffect", onOffoffWithEffectInteractionInfo); + Map onOffonWithRecallGlobalSceneCommandParams = new LinkedHashMap(); + InteractionInfo onOffonWithRecallGlobalSceneInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .onWithRecallGlobalScene((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + onOffonWithRecallGlobalSceneCommandParams + ); + onOffClusterInteractionInfoMap.put("onWithRecallGlobalScene", onOffonWithRecallGlobalSceneInteractionInfo); + Map onOffonWithTimedOffCommandParams = new LinkedHashMap(); + CommandParameterInfo onOffonWithTimedOffonOffControlCommandParameterInfo = new CommandParameterInfo("onOffControl", Integer.class, Integer.class); + onOffonWithTimedOffCommandParams.put("onOffControl",onOffonWithTimedOffonOffControlCommandParameterInfo); + + CommandParameterInfo onOffonWithTimedOffonTimeCommandParameterInfo = new CommandParameterInfo("onTime", Integer.class, Integer.class); + onOffonWithTimedOffCommandParams.put("onTime",onOffonWithTimedOffonTimeCommandParameterInfo); + + CommandParameterInfo onOffonWithTimedOffoffWaitTimeCommandParameterInfo = new CommandParameterInfo("offWaitTime", Integer.class, Integer.class); + onOffonWithTimedOffCommandParams.put("offWaitTime",onOffonWithTimedOffoffWaitTimeCommandParameterInfo); + + InteractionInfo onOffonWithTimedOffInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .onWithTimedOff((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("onOffControl") + , (Integer) + commandArguments.get("onTime") + , (Integer) + commandArguments.get("offWaitTime") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + onOffonWithTimedOffCommandParams + ); + onOffClusterInteractionInfoMap.put("onWithTimedOff", onOffonWithTimedOffInteractionInfo); + commandMap.put("onOff", onOffClusterInteractionInfoMap); + Map onOffSwitchConfigurationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("onOffSwitchConfiguration", onOffSwitchConfigurationClusterInteractionInfoMap); + Map levelControlClusterInteractionInfoMap = new LinkedHashMap<>(); + Map levelControlmoveToLevelCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlmoveToLevellevelCommandParameterInfo = new CommandParameterInfo("level", Integer.class, Integer.class); + levelControlmoveToLevelCommandParams.put("level",levelControlmoveToLevellevelCommandParameterInfo); + + CommandParameterInfo levelControlmoveToLeveltransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + levelControlmoveToLevelCommandParams.put("transitionTime",levelControlmoveToLeveltransitionTimeCommandParameterInfo); + + CommandParameterInfo levelControlmoveToLeveloptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlmoveToLevelCommandParams.put("optionsMask",levelControlmoveToLeveloptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlmoveToLeveloptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlmoveToLevelCommandParams.put("optionsOverride",levelControlmoveToLeveloptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlmoveToLevelInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .moveToLevel((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("level") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlmoveToLevelCommandParams + ); + levelControlClusterInteractionInfoMap.put("moveToLevel", levelControlmoveToLevelInteractionInfo); + Map levelControlmoveCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlmovemoveModeCommandParameterInfo = new CommandParameterInfo("moveMode", Integer.class, Integer.class); + levelControlmoveCommandParams.put("moveMode",levelControlmovemoveModeCommandParameterInfo); + + CommandParameterInfo levelControlmoverateCommandParameterInfo = new CommandParameterInfo("rate", Integer.class, Integer.class); + levelControlmoveCommandParams.put("rate",levelControlmoverateCommandParameterInfo); + + CommandParameterInfo levelControlmoveoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlmoveCommandParams.put("optionsMask",levelControlmoveoptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlmoveoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlmoveCommandParams.put("optionsOverride",levelControlmoveoptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlmoveInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .move((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("moveMode") + , (Integer) + commandArguments.get("rate") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlmoveCommandParams + ); + levelControlClusterInteractionInfoMap.put("move", levelControlmoveInteractionInfo); + Map levelControlstepCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlstepstepModeCommandParameterInfo = new CommandParameterInfo("stepMode", Integer.class, Integer.class); + levelControlstepCommandParams.put("stepMode",levelControlstepstepModeCommandParameterInfo); + + CommandParameterInfo levelControlstepstepSizeCommandParameterInfo = new CommandParameterInfo("stepSize", Integer.class, Integer.class); + levelControlstepCommandParams.put("stepSize",levelControlstepstepSizeCommandParameterInfo); + + CommandParameterInfo levelControlsteptransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + levelControlstepCommandParams.put("transitionTime",levelControlsteptransitionTimeCommandParameterInfo); + + CommandParameterInfo levelControlstepoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlstepCommandParams.put("optionsMask",levelControlstepoptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlstepoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlstepCommandParams.put("optionsOverride",levelControlstepoptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlstepInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .step((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("stepMode") + , (Integer) + commandArguments.get("stepSize") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlstepCommandParams + ); + levelControlClusterInteractionInfoMap.put("step", levelControlstepInteractionInfo); + Map levelControlstopCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlstopoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlstopCommandParams.put("optionsMask",levelControlstopoptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlstopoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlstopCommandParams.put("optionsOverride",levelControlstopoptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlstopInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .stop((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlstopCommandParams + ); + levelControlClusterInteractionInfoMap.put("stop", levelControlstopInteractionInfo); + Map levelControlmoveToLevelWithOnOffCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlmoveToLevelWithOnOfflevelCommandParameterInfo = new CommandParameterInfo("level", Integer.class, Integer.class); + levelControlmoveToLevelWithOnOffCommandParams.put("level",levelControlmoveToLevelWithOnOfflevelCommandParameterInfo); + + CommandParameterInfo levelControlmoveToLevelWithOnOfftransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + levelControlmoveToLevelWithOnOffCommandParams.put("transitionTime",levelControlmoveToLevelWithOnOfftransitionTimeCommandParameterInfo); + + CommandParameterInfo levelControlmoveToLevelWithOnOffoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlmoveToLevelWithOnOffCommandParams.put("optionsMask",levelControlmoveToLevelWithOnOffoptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlmoveToLevelWithOnOffoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlmoveToLevelWithOnOffCommandParams.put("optionsOverride",levelControlmoveToLevelWithOnOffoptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlmoveToLevelWithOnOffInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .moveToLevelWithOnOff((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("level") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlmoveToLevelWithOnOffCommandParams + ); + levelControlClusterInteractionInfoMap.put("moveToLevelWithOnOff", levelControlmoveToLevelWithOnOffInteractionInfo); + Map levelControlmoveWithOnOffCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlmoveWithOnOffmoveModeCommandParameterInfo = new CommandParameterInfo("moveMode", Integer.class, Integer.class); + levelControlmoveWithOnOffCommandParams.put("moveMode",levelControlmoveWithOnOffmoveModeCommandParameterInfo); + + CommandParameterInfo levelControlmoveWithOnOffrateCommandParameterInfo = new CommandParameterInfo("rate", Integer.class, Integer.class); + levelControlmoveWithOnOffCommandParams.put("rate",levelControlmoveWithOnOffrateCommandParameterInfo); + + CommandParameterInfo levelControlmoveWithOnOffoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlmoveWithOnOffCommandParams.put("optionsMask",levelControlmoveWithOnOffoptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlmoveWithOnOffoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlmoveWithOnOffCommandParams.put("optionsOverride",levelControlmoveWithOnOffoptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlmoveWithOnOffInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .moveWithOnOff((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("moveMode") + , (Integer) + commandArguments.get("rate") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlmoveWithOnOffCommandParams + ); + levelControlClusterInteractionInfoMap.put("moveWithOnOff", levelControlmoveWithOnOffInteractionInfo); + Map levelControlstepWithOnOffCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlstepWithOnOffstepModeCommandParameterInfo = new CommandParameterInfo("stepMode", Integer.class, Integer.class); + levelControlstepWithOnOffCommandParams.put("stepMode",levelControlstepWithOnOffstepModeCommandParameterInfo); + + CommandParameterInfo levelControlstepWithOnOffstepSizeCommandParameterInfo = new CommandParameterInfo("stepSize", Integer.class, Integer.class); + levelControlstepWithOnOffCommandParams.put("stepSize",levelControlstepWithOnOffstepSizeCommandParameterInfo); + + CommandParameterInfo levelControlstepWithOnOfftransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + levelControlstepWithOnOffCommandParams.put("transitionTime",levelControlstepWithOnOfftransitionTimeCommandParameterInfo); + + CommandParameterInfo levelControlstepWithOnOffoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlstepWithOnOffCommandParams.put("optionsMask",levelControlstepWithOnOffoptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlstepWithOnOffoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlstepWithOnOffCommandParams.put("optionsOverride",levelControlstepWithOnOffoptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlstepWithOnOffInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .stepWithOnOff((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("stepMode") + , (Integer) + commandArguments.get("stepSize") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlstepWithOnOffCommandParams + ); + levelControlClusterInteractionInfoMap.put("stepWithOnOff", levelControlstepWithOnOffInteractionInfo); + Map levelControlstopWithOnOffCommandParams = new LinkedHashMap(); + CommandParameterInfo levelControlstopWithOnOffoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + levelControlstopWithOnOffCommandParams.put("optionsMask",levelControlstopWithOnOffoptionsMaskCommandParameterInfo); + + CommandParameterInfo levelControlstopWithOnOffoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + levelControlstopWithOnOffCommandParams.put("optionsOverride",levelControlstopWithOnOffoptionsOverrideCommandParameterInfo); + + InteractionInfo levelControlstopWithOnOffInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .stopWithOnOff((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + levelControlstopWithOnOffCommandParams + ); + levelControlClusterInteractionInfoMap.put("stopWithOnOff", levelControlstopWithOnOffInteractionInfo); + commandMap.put("levelControl", levelControlClusterInteractionInfoMap); + Map binaryInputBasicClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("binaryInputBasic", binaryInputBasicClusterInteractionInfoMap); + Map pulseWidthModulationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("pulseWidthModulation", pulseWidthModulationClusterInteractionInfoMap); + Map descriptorClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("descriptor", descriptorClusterInteractionInfoMap); + Map bindingClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("binding", bindingClusterInteractionInfoMap); + Map accessControlClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("accessControl", accessControlClusterInteractionInfoMap); + Map actionsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map actionsinstantActionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsinstantActionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsinstantActionCommandParams.put("actionID",actionsinstantActionactionIDCommandParameterInfo); + + CommandParameterInfo actionsinstantActioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsinstantActionCommandParams.put("invokeID",actionsinstantActioninvokeIDCommandParameterInfo); + + InteractionInfo actionsinstantActionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .instantAction((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsinstantActionCommandParams + ); + actionsClusterInteractionInfoMap.put("instantAction", actionsinstantActionInteractionInfo); + Map actionsinstantActionWithTransitionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsinstantActionWithTransitionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsinstantActionWithTransitionCommandParams.put("actionID",actionsinstantActionWithTransitionactionIDCommandParameterInfo); + + CommandParameterInfo actionsinstantActionWithTransitioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsinstantActionWithTransitionCommandParams.put("invokeID",actionsinstantActionWithTransitioninvokeIDCommandParameterInfo); + + CommandParameterInfo actionsinstantActionWithTransitiontransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + actionsinstantActionWithTransitionCommandParams.put("transitionTime",actionsinstantActionWithTransitiontransitionTimeCommandParameterInfo); + + InteractionInfo actionsinstantActionWithTransitionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .instantActionWithTransition((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + , (Integer) + commandArguments.get("transitionTime") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsinstantActionWithTransitionCommandParams + ); + actionsClusterInteractionInfoMap.put("instantActionWithTransition", actionsinstantActionWithTransitionInteractionInfo); + Map actionsstartActionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsstartActionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsstartActionCommandParams.put("actionID",actionsstartActionactionIDCommandParameterInfo); + + CommandParameterInfo actionsstartActioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsstartActionCommandParams.put("invokeID",actionsstartActioninvokeIDCommandParameterInfo); + + InteractionInfo actionsstartActionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .startAction((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsstartActionCommandParams + ); + actionsClusterInteractionInfoMap.put("startAction", actionsstartActionInteractionInfo); + Map actionsstartActionWithDurationCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsstartActionWithDurationactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsstartActionWithDurationCommandParams.put("actionID",actionsstartActionWithDurationactionIDCommandParameterInfo); + + CommandParameterInfo actionsstartActionWithDurationinvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsstartActionWithDurationCommandParams.put("invokeID",actionsstartActionWithDurationinvokeIDCommandParameterInfo); + + CommandParameterInfo actionsstartActionWithDurationdurationCommandParameterInfo = new CommandParameterInfo("duration", Long.class, Long.class); + actionsstartActionWithDurationCommandParams.put("duration",actionsstartActionWithDurationdurationCommandParameterInfo); + + InteractionInfo actionsstartActionWithDurationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .startActionWithDuration((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + , (Long) + commandArguments.get("duration") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsstartActionWithDurationCommandParams + ); + actionsClusterInteractionInfoMap.put("startActionWithDuration", actionsstartActionWithDurationInteractionInfo); + Map actionsstopActionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsstopActionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsstopActionCommandParams.put("actionID",actionsstopActionactionIDCommandParameterInfo); + + CommandParameterInfo actionsstopActioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsstopActionCommandParams.put("invokeID",actionsstopActioninvokeIDCommandParameterInfo); + + InteractionInfo actionsstopActionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .stopAction((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsstopActionCommandParams + ); + actionsClusterInteractionInfoMap.put("stopAction", actionsstopActionInteractionInfo); + Map actionspauseActionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionspauseActionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionspauseActionCommandParams.put("actionID",actionspauseActionactionIDCommandParameterInfo); + + CommandParameterInfo actionspauseActioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionspauseActionCommandParams.put("invokeID",actionspauseActioninvokeIDCommandParameterInfo); + + InteractionInfo actionspauseActionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .pauseAction((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionspauseActionCommandParams + ); + actionsClusterInteractionInfoMap.put("pauseAction", actionspauseActionInteractionInfo); + Map actionspauseActionWithDurationCommandParams = new LinkedHashMap(); + CommandParameterInfo actionspauseActionWithDurationactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionspauseActionWithDurationCommandParams.put("actionID",actionspauseActionWithDurationactionIDCommandParameterInfo); + + CommandParameterInfo actionspauseActionWithDurationinvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionspauseActionWithDurationCommandParams.put("invokeID",actionspauseActionWithDurationinvokeIDCommandParameterInfo); + + CommandParameterInfo actionspauseActionWithDurationdurationCommandParameterInfo = new CommandParameterInfo("duration", Long.class, Long.class); + actionspauseActionWithDurationCommandParams.put("duration",actionspauseActionWithDurationdurationCommandParameterInfo); + + InteractionInfo actionspauseActionWithDurationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .pauseActionWithDuration((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + , (Long) + commandArguments.get("duration") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionspauseActionWithDurationCommandParams + ); + actionsClusterInteractionInfoMap.put("pauseActionWithDuration", actionspauseActionWithDurationInteractionInfo); + Map actionsresumeActionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsresumeActionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsresumeActionCommandParams.put("actionID",actionsresumeActionactionIDCommandParameterInfo); + + CommandParameterInfo actionsresumeActioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsresumeActionCommandParams.put("invokeID",actionsresumeActioninvokeIDCommandParameterInfo); + + InteractionInfo actionsresumeActionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .resumeAction((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsresumeActionCommandParams + ); + actionsClusterInteractionInfoMap.put("resumeAction", actionsresumeActionInteractionInfo); + Map actionsenableActionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsenableActionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsenableActionCommandParams.put("actionID",actionsenableActionactionIDCommandParameterInfo); + + CommandParameterInfo actionsenableActioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsenableActionCommandParams.put("invokeID",actionsenableActioninvokeIDCommandParameterInfo); + + InteractionInfo actionsenableActionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .enableAction((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsenableActionCommandParams + ); + actionsClusterInteractionInfoMap.put("enableAction", actionsenableActionInteractionInfo); + Map actionsenableActionWithDurationCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsenableActionWithDurationactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsenableActionWithDurationCommandParams.put("actionID",actionsenableActionWithDurationactionIDCommandParameterInfo); + + CommandParameterInfo actionsenableActionWithDurationinvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsenableActionWithDurationCommandParams.put("invokeID",actionsenableActionWithDurationinvokeIDCommandParameterInfo); + + CommandParameterInfo actionsenableActionWithDurationdurationCommandParameterInfo = new CommandParameterInfo("duration", Long.class, Long.class); + actionsenableActionWithDurationCommandParams.put("duration",actionsenableActionWithDurationdurationCommandParameterInfo); + + InteractionInfo actionsenableActionWithDurationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .enableActionWithDuration((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + , (Long) + commandArguments.get("duration") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsenableActionWithDurationCommandParams + ); + actionsClusterInteractionInfoMap.put("enableActionWithDuration", actionsenableActionWithDurationInteractionInfo); + Map actionsdisableActionCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsdisableActionactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsdisableActionCommandParams.put("actionID",actionsdisableActionactionIDCommandParameterInfo); + + CommandParameterInfo actionsdisableActioninvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsdisableActionCommandParams.put("invokeID",actionsdisableActioninvokeIDCommandParameterInfo); + + InteractionInfo actionsdisableActionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .disableAction((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsdisableActionCommandParams + ); + actionsClusterInteractionInfoMap.put("disableAction", actionsdisableActionInteractionInfo); + Map actionsdisableActionWithDurationCommandParams = new LinkedHashMap(); + CommandParameterInfo actionsdisableActionWithDurationactionIDCommandParameterInfo = new CommandParameterInfo("actionID", Integer.class, Integer.class); + actionsdisableActionWithDurationCommandParams.put("actionID",actionsdisableActionWithDurationactionIDCommandParameterInfo); + + CommandParameterInfo actionsdisableActionWithDurationinvokeIDCommandParameterInfo = new CommandParameterInfo("invokeID", Optional.class, Long.class); + actionsdisableActionWithDurationCommandParams.put("invokeID",actionsdisableActionWithDurationinvokeIDCommandParameterInfo); + + CommandParameterInfo actionsdisableActionWithDurationdurationCommandParameterInfo = new CommandParameterInfo("duration", Long.class, Long.class); + actionsdisableActionWithDurationCommandParams.put("duration",actionsdisableActionWithDurationdurationCommandParameterInfo); + + InteractionInfo actionsdisableActionWithDurationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ActionsCluster) cluster) + .disableActionWithDuration((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("actionID") + , (Optional) + commandArguments.get("invokeID") + , (Long) + commandArguments.get("duration") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + actionsdisableActionWithDurationCommandParams + ); + actionsClusterInteractionInfoMap.put("disableActionWithDuration", actionsdisableActionWithDurationInteractionInfo); + commandMap.put("actions", actionsClusterInteractionInfoMap); + Map basicInformationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("basicInformation", basicInformationClusterInteractionInfoMap); + Map otaSoftwareUpdateProviderClusterInteractionInfoMap = new LinkedHashMap<>(); + Map otaSoftwareUpdateProviderqueryImageCommandParams = new LinkedHashMap(); + CommandParameterInfo otaSoftwareUpdateProviderqueryImagevendorIDCommandParameterInfo = new CommandParameterInfo("vendorID", Integer.class, Integer.class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("vendorID",otaSoftwareUpdateProviderqueryImagevendorIDCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderqueryImageproductIDCommandParameterInfo = new CommandParameterInfo("productID", Integer.class, Integer.class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("productID",otaSoftwareUpdateProviderqueryImageproductIDCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderqueryImagesoftwareVersionCommandParameterInfo = new CommandParameterInfo("softwareVersion", Long.class, Long.class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("softwareVersion",otaSoftwareUpdateProviderqueryImagesoftwareVersionCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderqueryImageprotocolsSupportedCommandParameterInfo = new CommandParameterInfo("protocolsSupported", ArrayList.class, Integer.class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("protocolsSupported",otaSoftwareUpdateProviderqueryImageprotocolsSupportedCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderqueryImagehardwareVersionCommandParameterInfo = new CommandParameterInfo("hardwareVersion", Optional.class, Integer.class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("hardwareVersion",otaSoftwareUpdateProviderqueryImagehardwareVersionCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderqueryImagelocationCommandParameterInfo = new CommandParameterInfo("location", Optional.class, String.class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("location",otaSoftwareUpdateProviderqueryImagelocationCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderqueryImagerequestorCanConsentCommandParameterInfo = new CommandParameterInfo("requestorCanConsent", Optional.class, Boolean.class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("requestorCanConsent",otaSoftwareUpdateProviderqueryImagerequestorCanConsentCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderqueryImagemetadataForProviderCommandParameterInfo = new CommandParameterInfo("metadataForProvider", Optional.class, byte[].class); + otaSoftwareUpdateProviderqueryImageCommandParams.put("metadataForProvider",otaSoftwareUpdateProviderqueryImagemetadataForProviderCommandParameterInfo); + + InteractionInfo otaSoftwareUpdateProviderqueryImageInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .queryImage((ChipClusters.OtaSoftwareUpdateProviderCluster.QueryImageResponseCallback) callback + , (Integer) + commandArguments.get("vendorID") + , (Integer) + commandArguments.get("productID") + , (Long) + commandArguments.get("softwareVersion") + , (ArrayList) + commandArguments.get("protocolsSupported") + , (Optional) + commandArguments.get("hardwareVersion") + , (Optional) + commandArguments.get("location") + , (Optional) + commandArguments.get("requestorCanConsent") + , (Optional) + commandArguments.get("metadataForProvider") + + ); + }, + () -> new DelegatedOtaSoftwareUpdateProviderClusterQueryImageResponseCallback(), + otaSoftwareUpdateProviderqueryImageCommandParams + ); + otaSoftwareUpdateProviderClusterInteractionInfoMap.put("queryImage", otaSoftwareUpdateProviderqueryImageInteractionInfo); + Map otaSoftwareUpdateProviderapplyUpdateRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo otaSoftwareUpdateProviderapplyUpdateRequestupdateTokenCommandParameterInfo = new CommandParameterInfo("updateToken", byte[].class, byte[].class); + otaSoftwareUpdateProviderapplyUpdateRequestCommandParams.put("updateToken",otaSoftwareUpdateProviderapplyUpdateRequestupdateTokenCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProviderapplyUpdateRequestnewVersionCommandParameterInfo = new CommandParameterInfo("newVersion", Long.class, Long.class); + otaSoftwareUpdateProviderapplyUpdateRequestCommandParams.put("newVersion",otaSoftwareUpdateProviderapplyUpdateRequestnewVersionCommandParameterInfo); + + InteractionInfo otaSoftwareUpdateProviderapplyUpdateRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .applyUpdateRequest((ChipClusters.OtaSoftwareUpdateProviderCluster.ApplyUpdateResponseCallback) callback + , (byte[]) + commandArguments.get("updateToken") + , (Long) + commandArguments.get("newVersion") + + ); + }, + () -> new DelegatedOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(), + otaSoftwareUpdateProviderapplyUpdateRequestCommandParams + ); + otaSoftwareUpdateProviderClusterInteractionInfoMap.put("applyUpdateRequest", otaSoftwareUpdateProviderapplyUpdateRequestInteractionInfo); + Map otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams = new LinkedHashMap(); + CommandParameterInfo otaSoftwareUpdateProvidernotifyUpdateAppliedupdateTokenCommandParameterInfo = new CommandParameterInfo("updateToken", byte[].class, byte[].class); + otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams.put("updateToken",otaSoftwareUpdateProvidernotifyUpdateAppliedupdateTokenCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateProvidernotifyUpdateAppliedsoftwareVersionCommandParameterInfo = new CommandParameterInfo("softwareVersion", Long.class, Long.class); + otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams.put("softwareVersion",otaSoftwareUpdateProvidernotifyUpdateAppliedsoftwareVersionCommandParameterInfo); + + InteractionInfo otaSoftwareUpdateProvidernotifyUpdateAppliedInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) + .notifyUpdateApplied((DefaultClusterCallback) callback + , (byte[]) + commandArguments.get("updateToken") + , (Long) + commandArguments.get("softwareVersion") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams + ); + otaSoftwareUpdateProviderClusterInteractionInfoMap.put("notifyUpdateApplied", otaSoftwareUpdateProvidernotifyUpdateAppliedInteractionInfo); + commandMap.put("otaSoftwareUpdateProvider", otaSoftwareUpdateProviderClusterInteractionInfoMap); + Map otaSoftwareUpdateRequestorClusterInteractionInfoMap = new LinkedHashMap<>(); + Map otaSoftwareUpdateRequestorannounceOTAProviderCommandParams = new LinkedHashMap(); + CommandParameterInfo otaSoftwareUpdateRequestorannounceOTAProviderproviderNodeIDCommandParameterInfo = new CommandParameterInfo("providerNodeID", Long.class, Long.class); + otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put("providerNodeID",otaSoftwareUpdateRequestorannounceOTAProviderproviderNodeIDCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateRequestorannounceOTAProvidervendorIDCommandParameterInfo = new CommandParameterInfo("vendorID", Integer.class, Integer.class); + otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put("vendorID",otaSoftwareUpdateRequestorannounceOTAProvidervendorIDCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateRequestorannounceOTAProviderannouncementReasonCommandParameterInfo = new CommandParameterInfo("announcementReason", Integer.class, Integer.class); + otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put("announcementReason",otaSoftwareUpdateRequestorannounceOTAProviderannouncementReasonCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateRequestorannounceOTAProvidermetadataForNodeCommandParameterInfo = new CommandParameterInfo("metadataForNode", Optional.class, byte[].class); + otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put("metadataForNode",otaSoftwareUpdateRequestorannounceOTAProvidermetadataForNodeCommandParameterInfo); + + CommandParameterInfo otaSoftwareUpdateRequestorannounceOTAProviderendpointCommandParameterInfo = new CommandParameterInfo("endpoint", Integer.class, Integer.class); + otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put("endpoint",otaSoftwareUpdateRequestorannounceOTAProviderendpointCommandParameterInfo); + + InteractionInfo otaSoftwareUpdateRequestorannounceOTAProviderInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) + .announceOTAProvider((DefaultClusterCallback) callback + , (Long) + commandArguments.get("providerNodeID") + , (Integer) + commandArguments.get("vendorID") + , (Integer) + commandArguments.get("announcementReason") + , (Optional) + commandArguments.get("metadataForNode") + , (Integer) + commandArguments.get("endpoint") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + otaSoftwareUpdateRequestorannounceOTAProviderCommandParams + ); + otaSoftwareUpdateRequestorClusterInteractionInfoMap.put("announceOTAProvider", otaSoftwareUpdateRequestorannounceOTAProviderInteractionInfo); + commandMap.put("otaSoftwareUpdateRequestor", otaSoftwareUpdateRequestorClusterInteractionInfoMap); + Map localizationConfigurationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("localizationConfiguration", localizationConfigurationClusterInteractionInfoMap); + Map timeFormatLocalizationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("timeFormatLocalization", timeFormatLocalizationClusterInteractionInfoMap); + Map unitLocalizationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("unitLocalization", unitLocalizationClusterInteractionInfoMap); + Map powerSourceConfigurationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("powerSourceConfiguration", powerSourceConfigurationClusterInteractionInfoMap); + Map powerSourceClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("powerSource", powerSourceClusterInteractionInfoMap); + Map generalCommissioningClusterInteractionInfoMap = new LinkedHashMap<>(); + Map generalCommissioningarmFailSafeCommandParams = new LinkedHashMap(); + CommandParameterInfo generalCommissioningarmFailSafeexpiryLengthSecondsCommandParameterInfo = new CommandParameterInfo("expiryLengthSeconds", Integer.class, Integer.class); + generalCommissioningarmFailSafeCommandParams.put("expiryLengthSeconds",generalCommissioningarmFailSafeexpiryLengthSecondsCommandParameterInfo); + + CommandParameterInfo generalCommissioningarmFailSafebreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Long.class, Long.class); + generalCommissioningarmFailSafeCommandParams.put("breadcrumb",generalCommissioningarmFailSafebreadcrumbCommandParameterInfo); + + InteractionInfo generalCommissioningarmFailSafeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .armFailSafe((ChipClusters.GeneralCommissioningCluster.ArmFailSafeResponseCallback) callback + , (Integer) + commandArguments.get("expiryLengthSeconds") + , (Long) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedGeneralCommissioningClusterArmFailSafeResponseCallback(), + generalCommissioningarmFailSafeCommandParams + ); + generalCommissioningClusterInteractionInfoMap.put("armFailSafe", generalCommissioningarmFailSafeInteractionInfo); + Map generalCommissioningsetRegulatoryConfigCommandParams = new LinkedHashMap(); + CommandParameterInfo generalCommissioningsetRegulatoryConfignewRegulatoryConfigCommandParameterInfo = new CommandParameterInfo("newRegulatoryConfig", Integer.class, Integer.class); + generalCommissioningsetRegulatoryConfigCommandParams.put("newRegulatoryConfig",generalCommissioningsetRegulatoryConfignewRegulatoryConfigCommandParameterInfo); + + CommandParameterInfo generalCommissioningsetRegulatoryConfigcountryCodeCommandParameterInfo = new CommandParameterInfo("countryCode", String.class, String.class); + generalCommissioningsetRegulatoryConfigCommandParams.put("countryCode",generalCommissioningsetRegulatoryConfigcountryCodeCommandParameterInfo); + + CommandParameterInfo generalCommissioningsetRegulatoryConfigbreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Long.class, Long.class); + generalCommissioningsetRegulatoryConfigCommandParams.put("breadcrumb",generalCommissioningsetRegulatoryConfigbreadcrumbCommandParameterInfo); + + InteractionInfo generalCommissioningsetRegulatoryConfigInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .setRegulatoryConfig((ChipClusters.GeneralCommissioningCluster.SetRegulatoryConfigResponseCallback) callback + , (Integer) + commandArguments.get("newRegulatoryConfig") + , (String) + commandArguments.get("countryCode") + , (Long) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(), + generalCommissioningsetRegulatoryConfigCommandParams + ); + generalCommissioningClusterInteractionInfoMap.put("setRegulatoryConfig", generalCommissioningsetRegulatoryConfigInteractionInfo); + Map generalCommissioningcommissioningCompleteCommandParams = new LinkedHashMap(); + InteractionInfo generalCommissioningcommissioningCompleteInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .commissioningComplete((ChipClusters.GeneralCommissioningCluster.CommissioningCompleteResponseCallback) callback + + ); + }, + () -> new DelegatedGeneralCommissioningClusterCommissioningCompleteResponseCallback(), + generalCommissioningcommissioningCompleteCommandParams + ); + generalCommissioningClusterInteractionInfoMap.put("commissioningComplete", generalCommissioningcommissioningCompleteInteractionInfo); + commandMap.put("generalCommissioning", generalCommissioningClusterInteractionInfoMap); + Map networkCommissioningClusterInteractionInfoMap = new LinkedHashMap<>(); + Map networkCommissioningscanNetworksCommandParams = new LinkedHashMap(); + CommandParameterInfo networkCommissioningscanNetworksssidCommandParameterInfo = new CommandParameterInfo("ssid", Optional.class, byte[].class); + networkCommissioningscanNetworksCommandParams.put("ssid",networkCommissioningscanNetworksssidCommandParameterInfo); + + CommandParameterInfo networkCommissioningscanNetworksbreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Optional.class, Long.class); + networkCommissioningscanNetworksCommandParams.put("breadcrumb",networkCommissioningscanNetworksbreadcrumbCommandParameterInfo); + + InteractionInfo networkCommissioningscanNetworksInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .scanNetworks((ChipClusters.NetworkCommissioningCluster.ScanNetworksResponseCallback) callback + , (Optional) + commandArguments.get("ssid") + , (Optional) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedNetworkCommissioningClusterScanNetworksResponseCallback(), + networkCommissioningscanNetworksCommandParams + ); + networkCommissioningClusterInteractionInfoMap.put("scanNetworks", networkCommissioningscanNetworksInteractionInfo); + Map networkCommissioningaddOrUpdateWiFiNetworkCommandParams = new LinkedHashMap(); + CommandParameterInfo networkCommissioningaddOrUpdateWiFiNetworkssidCommandParameterInfo = new CommandParameterInfo("ssid", byte[].class, byte[].class); + networkCommissioningaddOrUpdateWiFiNetworkCommandParams.put("ssid",networkCommissioningaddOrUpdateWiFiNetworkssidCommandParameterInfo); + + CommandParameterInfo networkCommissioningaddOrUpdateWiFiNetworkcredentialsCommandParameterInfo = new CommandParameterInfo("credentials", byte[].class, byte[].class); + networkCommissioningaddOrUpdateWiFiNetworkCommandParams.put("credentials",networkCommissioningaddOrUpdateWiFiNetworkcredentialsCommandParameterInfo); + + CommandParameterInfo networkCommissioningaddOrUpdateWiFiNetworkbreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Optional.class, Long.class); + networkCommissioningaddOrUpdateWiFiNetworkCommandParams.put("breadcrumb",networkCommissioningaddOrUpdateWiFiNetworkbreadcrumbCommandParameterInfo); + + InteractionInfo networkCommissioningaddOrUpdateWiFiNetworkInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .addOrUpdateWiFiNetwork((ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) callback + , (byte[]) + commandArguments.get("ssid") + , (byte[]) + commandArguments.get("credentials") + , (Optional) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), + networkCommissioningaddOrUpdateWiFiNetworkCommandParams + ); + networkCommissioningClusterInteractionInfoMap.put("addOrUpdateWiFiNetwork", networkCommissioningaddOrUpdateWiFiNetworkInteractionInfo); + Map networkCommissioningaddOrUpdateThreadNetworkCommandParams = new LinkedHashMap(); + CommandParameterInfo networkCommissioningaddOrUpdateThreadNetworkoperationalDatasetCommandParameterInfo = new CommandParameterInfo("operationalDataset", byte[].class, byte[].class); + networkCommissioningaddOrUpdateThreadNetworkCommandParams.put("operationalDataset",networkCommissioningaddOrUpdateThreadNetworkoperationalDatasetCommandParameterInfo); + + CommandParameterInfo networkCommissioningaddOrUpdateThreadNetworkbreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Optional.class, Long.class); + networkCommissioningaddOrUpdateThreadNetworkCommandParams.put("breadcrumb",networkCommissioningaddOrUpdateThreadNetworkbreadcrumbCommandParameterInfo); + + InteractionInfo networkCommissioningaddOrUpdateThreadNetworkInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .addOrUpdateThreadNetwork((ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) callback + , (byte[]) + commandArguments.get("operationalDataset") + , (Optional) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), + networkCommissioningaddOrUpdateThreadNetworkCommandParams + ); + networkCommissioningClusterInteractionInfoMap.put("addOrUpdateThreadNetwork", networkCommissioningaddOrUpdateThreadNetworkInteractionInfo); + Map networkCommissioningremoveNetworkCommandParams = new LinkedHashMap(); + CommandParameterInfo networkCommissioningremoveNetworknetworkIDCommandParameterInfo = new CommandParameterInfo("networkID", byte[].class, byte[].class); + networkCommissioningremoveNetworkCommandParams.put("networkID",networkCommissioningremoveNetworknetworkIDCommandParameterInfo); + + CommandParameterInfo networkCommissioningremoveNetworkbreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Optional.class, Long.class); + networkCommissioningremoveNetworkCommandParams.put("breadcrumb",networkCommissioningremoveNetworkbreadcrumbCommandParameterInfo); + + InteractionInfo networkCommissioningremoveNetworkInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .removeNetwork((ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) callback + , (byte[]) + commandArguments.get("networkID") + , (Optional) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), + networkCommissioningremoveNetworkCommandParams + ); + networkCommissioningClusterInteractionInfoMap.put("removeNetwork", networkCommissioningremoveNetworkInteractionInfo); + Map networkCommissioningconnectNetworkCommandParams = new LinkedHashMap(); + CommandParameterInfo networkCommissioningconnectNetworknetworkIDCommandParameterInfo = new CommandParameterInfo("networkID", byte[].class, byte[].class); + networkCommissioningconnectNetworkCommandParams.put("networkID",networkCommissioningconnectNetworknetworkIDCommandParameterInfo); + + CommandParameterInfo networkCommissioningconnectNetworkbreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Optional.class, Long.class); + networkCommissioningconnectNetworkCommandParams.put("breadcrumb",networkCommissioningconnectNetworkbreadcrumbCommandParameterInfo); + + InteractionInfo networkCommissioningconnectNetworkInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .connectNetwork((ChipClusters.NetworkCommissioningCluster.ConnectNetworkResponseCallback) callback + , (byte[]) + commandArguments.get("networkID") + , (Optional) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedNetworkCommissioningClusterConnectNetworkResponseCallback(), + networkCommissioningconnectNetworkCommandParams + ); + networkCommissioningClusterInteractionInfoMap.put("connectNetwork", networkCommissioningconnectNetworkInteractionInfo); + Map networkCommissioningreorderNetworkCommandParams = new LinkedHashMap(); + CommandParameterInfo networkCommissioningreorderNetworknetworkIDCommandParameterInfo = new CommandParameterInfo("networkID", byte[].class, byte[].class); + networkCommissioningreorderNetworkCommandParams.put("networkID",networkCommissioningreorderNetworknetworkIDCommandParameterInfo); + + CommandParameterInfo networkCommissioningreorderNetworknetworkIndexCommandParameterInfo = new CommandParameterInfo("networkIndex", Integer.class, Integer.class); + networkCommissioningreorderNetworkCommandParams.put("networkIndex",networkCommissioningreorderNetworknetworkIndexCommandParameterInfo); + + CommandParameterInfo networkCommissioningreorderNetworkbreadcrumbCommandParameterInfo = new CommandParameterInfo("breadcrumb", Optional.class, Long.class); + networkCommissioningreorderNetworkCommandParams.put("breadcrumb",networkCommissioningreorderNetworkbreadcrumbCommandParameterInfo); + + InteractionInfo networkCommissioningreorderNetworkInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .reorderNetwork((ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) callback + , (byte[]) + commandArguments.get("networkID") + , (Integer) + commandArguments.get("networkIndex") + , (Optional) + commandArguments.get("breadcrumb") + + ); + }, + () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), + networkCommissioningreorderNetworkCommandParams + ); + networkCommissioningClusterInteractionInfoMap.put("reorderNetwork", networkCommissioningreorderNetworkInteractionInfo); + commandMap.put("networkCommissioning", networkCommissioningClusterInteractionInfoMap); + Map diagnosticLogsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map diagnosticLogsretrieveLogsRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo diagnosticLogsretrieveLogsRequestintentCommandParameterInfo = new CommandParameterInfo("intent", Integer.class, Integer.class); + diagnosticLogsretrieveLogsRequestCommandParams.put("intent",diagnosticLogsretrieveLogsRequestintentCommandParameterInfo); + + CommandParameterInfo diagnosticLogsretrieveLogsRequestrequestedProtocolCommandParameterInfo = new CommandParameterInfo("requestedProtocol", Integer.class, Integer.class); + diagnosticLogsretrieveLogsRequestCommandParams.put("requestedProtocol",diagnosticLogsretrieveLogsRequestrequestedProtocolCommandParameterInfo); + + CommandParameterInfo diagnosticLogsretrieveLogsRequesttransferFileDesignatorCommandParameterInfo = new CommandParameterInfo("transferFileDesignator", Optional.class, String.class); + diagnosticLogsretrieveLogsRequestCommandParams.put("transferFileDesignator",diagnosticLogsretrieveLogsRequesttransferFileDesignatorCommandParameterInfo); + + InteractionInfo diagnosticLogsretrieveLogsRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DiagnosticLogsCluster) cluster) + .retrieveLogsRequest((ChipClusters.DiagnosticLogsCluster.RetrieveLogsResponseCallback) callback + , (Integer) + commandArguments.get("intent") + , (Integer) + commandArguments.get("requestedProtocol") + , (Optional) + commandArguments.get("transferFileDesignator") + + ); + }, + () -> new DelegatedDiagnosticLogsClusterRetrieveLogsResponseCallback(), + diagnosticLogsretrieveLogsRequestCommandParams + ); + diagnosticLogsClusterInteractionInfoMap.put("retrieveLogsRequest", diagnosticLogsretrieveLogsRequestInteractionInfo); + commandMap.put("diagnosticLogs", diagnosticLogsClusterInteractionInfoMap); + Map generalDiagnosticsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map generalDiagnosticstestEventTriggerCommandParams = new LinkedHashMap(); + CommandParameterInfo generalDiagnosticstestEventTriggerenableKeyCommandParameterInfo = new CommandParameterInfo("enableKey", byte[].class, byte[].class); + generalDiagnosticstestEventTriggerCommandParams.put("enableKey",generalDiagnosticstestEventTriggerenableKeyCommandParameterInfo); + + CommandParameterInfo generalDiagnosticstestEventTriggereventTriggerCommandParameterInfo = new CommandParameterInfo("eventTrigger", Long.class, Long.class); + generalDiagnosticstestEventTriggerCommandParams.put("eventTrigger",generalDiagnosticstestEventTriggereventTriggerCommandParameterInfo); + + InteractionInfo generalDiagnosticstestEventTriggerInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralDiagnosticsCluster) cluster) + .testEventTrigger((DefaultClusterCallback) callback + , (byte[]) + commandArguments.get("enableKey") + , (Long) + commandArguments.get("eventTrigger") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + generalDiagnosticstestEventTriggerCommandParams + ); + generalDiagnosticsClusterInteractionInfoMap.put("testEventTrigger", generalDiagnosticstestEventTriggerInteractionInfo); + commandMap.put("generalDiagnostics", generalDiagnosticsClusterInteractionInfoMap); + Map softwareDiagnosticsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map softwareDiagnosticsresetWatermarksCommandParams = new LinkedHashMap(); + InteractionInfo softwareDiagnosticsresetWatermarksInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SoftwareDiagnosticsCluster) cluster) + .resetWatermarks((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + softwareDiagnosticsresetWatermarksCommandParams + ); + softwareDiagnosticsClusterInteractionInfoMap.put("resetWatermarks", softwareDiagnosticsresetWatermarksInteractionInfo); + commandMap.put("softwareDiagnostics", softwareDiagnosticsClusterInteractionInfoMap); + Map threadNetworkDiagnosticsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map threadNetworkDiagnosticsresetCountsCommandParams = new LinkedHashMap(); + InteractionInfo threadNetworkDiagnosticsresetCountsInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) + .resetCounts((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + threadNetworkDiagnosticsresetCountsCommandParams + ); + threadNetworkDiagnosticsClusterInteractionInfoMap.put("resetCounts", threadNetworkDiagnosticsresetCountsInteractionInfo); + commandMap.put("threadNetworkDiagnostics", threadNetworkDiagnosticsClusterInteractionInfoMap); + Map wiFiNetworkDiagnosticsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map wiFiNetworkDiagnosticsresetCountsCommandParams = new LinkedHashMap(); + InteractionInfo wiFiNetworkDiagnosticsresetCountsInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) + .resetCounts((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + wiFiNetworkDiagnosticsresetCountsCommandParams + ); + wiFiNetworkDiagnosticsClusterInteractionInfoMap.put("resetCounts", wiFiNetworkDiagnosticsresetCountsInteractionInfo); + commandMap.put("wiFiNetworkDiagnostics", wiFiNetworkDiagnosticsClusterInteractionInfoMap); + Map ethernetNetworkDiagnosticsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map ethernetNetworkDiagnosticsresetCountsCommandParams = new LinkedHashMap(); + InteractionInfo ethernetNetworkDiagnosticsresetCountsInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) + .resetCounts((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + ethernetNetworkDiagnosticsresetCountsCommandParams + ); + ethernetNetworkDiagnosticsClusterInteractionInfoMap.put("resetCounts", ethernetNetworkDiagnosticsresetCountsInteractionInfo); + commandMap.put("ethernetNetworkDiagnostics", ethernetNetworkDiagnosticsClusterInteractionInfoMap); + Map timeSynchronizationClusterInteractionInfoMap = new LinkedHashMap<>(); + Map timeSynchronizationsetUTCTimeCommandParams = new LinkedHashMap(); + CommandParameterInfo timeSynchronizationsetUTCTimeUTCTimeCommandParameterInfo = new CommandParameterInfo("UTCTime", Long.class, Long.class); + timeSynchronizationsetUTCTimeCommandParams.put("UTCTime",timeSynchronizationsetUTCTimeUTCTimeCommandParameterInfo); + + CommandParameterInfo timeSynchronizationsetUTCTimegranularityCommandParameterInfo = new CommandParameterInfo("granularity", Integer.class, Integer.class); + timeSynchronizationsetUTCTimeCommandParams.put("granularity",timeSynchronizationsetUTCTimegranularityCommandParameterInfo); + + CommandParameterInfo timeSynchronizationsetUTCTimetimeSourceCommandParameterInfo = new CommandParameterInfo("timeSource", Optional.class, Integer.class); + timeSynchronizationsetUTCTimeCommandParams.put("timeSource",timeSynchronizationsetUTCTimetimeSourceCommandParameterInfo); + + InteractionInfo timeSynchronizationsetUTCTimeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeSynchronizationCluster) cluster) + .setUTCTime((DefaultClusterCallback) callback + , (Long) + commandArguments.get("UTCTime") + , (Integer) + commandArguments.get("granularity") + , (Optional) + commandArguments.get("timeSource") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + timeSynchronizationsetUTCTimeCommandParams + ); + timeSynchronizationClusterInteractionInfoMap.put("setUTCTime", timeSynchronizationsetUTCTimeInteractionInfo); + Map timeSynchronizationsetTrustedTimeSourceCommandParams = new LinkedHashMap(); + InteractionInfo timeSynchronizationsetTrustedTimeSourceInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeSynchronizationCluster) cluster) + .setTrustedTimeSource((DefaultClusterCallback) callback + , (ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct) + commandArguments.get("trustedTimeSource") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + timeSynchronizationsetTrustedTimeSourceCommandParams + ); + timeSynchronizationClusterInteractionInfoMap.put("setTrustedTimeSource", timeSynchronizationsetTrustedTimeSourceInteractionInfo); + Map timeSynchronizationsetTimeZoneCommandParams = new LinkedHashMap(); + InteractionInfo timeSynchronizationsetTimeZoneInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeSynchronizationCluster) cluster) + .setTimeZone((ChipClusters.TimeSynchronizationCluster.SetTimeZoneResponseCallback) callback + , (ArrayList) + commandArguments.get("timeZone") + + ); + }, + () -> new DelegatedTimeSynchronizationClusterSetTimeZoneResponseCallback(), + timeSynchronizationsetTimeZoneCommandParams + ); + timeSynchronizationClusterInteractionInfoMap.put("setTimeZone", timeSynchronizationsetTimeZoneInteractionInfo); + Map timeSynchronizationsetDSTOffsetCommandParams = new LinkedHashMap(); + InteractionInfo timeSynchronizationsetDSTOffsetInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeSynchronizationCluster) cluster) + .setDSTOffset((DefaultClusterCallback) callback + , (ArrayList) + commandArguments.get("DSTOffset") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + timeSynchronizationsetDSTOffsetCommandParams + ); + timeSynchronizationClusterInteractionInfoMap.put("setDSTOffset", timeSynchronizationsetDSTOffsetInteractionInfo); + Map timeSynchronizationsetDefaultNTPCommandParams = new LinkedHashMap(); + CommandParameterInfo timeSynchronizationsetDefaultNTPdefaultNTPCommandParameterInfo = new CommandParameterInfo("defaultNTP", String.class, String.class); + timeSynchronizationsetDefaultNTPCommandParams.put("defaultNTP",timeSynchronizationsetDefaultNTPdefaultNTPCommandParameterInfo); + + InteractionInfo timeSynchronizationsetDefaultNTPInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeSynchronizationCluster) cluster) + .setDefaultNTP((DefaultClusterCallback) callback + , (String) + commandArguments.get("defaultNTP") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + timeSynchronizationsetDefaultNTPCommandParams + ); + timeSynchronizationClusterInteractionInfoMap.put("setDefaultNTP", timeSynchronizationsetDefaultNTPInteractionInfo); + commandMap.put("timeSynchronization", timeSynchronizationClusterInteractionInfoMap); + Map bridgedDeviceBasicInformationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("bridgedDeviceBasicInformation", bridgedDeviceBasicInformationClusterInteractionInfoMap); + Map switchClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("switch", switchClusterInteractionInfoMap); + Map administratorCommissioningClusterInteractionInfoMap = new LinkedHashMap<>(); + Map administratorCommissioningopenCommissioningWindowCommandParams = new LinkedHashMap(); + CommandParameterInfo administratorCommissioningopenCommissioningWindowcommissioningTimeoutCommandParameterInfo = new CommandParameterInfo("commissioningTimeout", Integer.class, Integer.class); + administratorCommissioningopenCommissioningWindowCommandParams.put("commissioningTimeout",administratorCommissioningopenCommissioningWindowcommissioningTimeoutCommandParameterInfo); + + CommandParameterInfo administratorCommissioningopenCommissioningWindowPAKEPasscodeVerifierCommandParameterInfo = new CommandParameterInfo("PAKEPasscodeVerifier", byte[].class, byte[].class); + administratorCommissioningopenCommissioningWindowCommandParams.put("PAKEPasscodeVerifier",administratorCommissioningopenCommissioningWindowPAKEPasscodeVerifierCommandParameterInfo); + + CommandParameterInfo administratorCommissioningopenCommissioningWindowdiscriminatorCommandParameterInfo = new CommandParameterInfo("discriminator", Integer.class, Integer.class); + administratorCommissioningopenCommissioningWindowCommandParams.put("discriminator",administratorCommissioningopenCommissioningWindowdiscriminatorCommandParameterInfo); + + CommandParameterInfo administratorCommissioningopenCommissioningWindowiterationsCommandParameterInfo = new CommandParameterInfo("iterations", Long.class, Long.class); + administratorCommissioningopenCommissioningWindowCommandParams.put("iterations",administratorCommissioningopenCommissioningWindowiterationsCommandParameterInfo); + + CommandParameterInfo administratorCommissioningopenCommissioningWindowsaltCommandParameterInfo = new CommandParameterInfo("salt", byte[].class, byte[].class); + administratorCommissioningopenCommissioningWindowCommandParams.put("salt",administratorCommissioningopenCommissioningWindowsaltCommandParameterInfo); + + InteractionInfo administratorCommissioningopenCommissioningWindowInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .openCommissioningWindow((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("commissioningTimeout") + , (byte[]) + commandArguments.get("PAKEPasscodeVerifier") + , (Integer) + commandArguments.get("discriminator") + , (Long) + commandArguments.get("iterations") + , (byte[]) + commandArguments.get("salt") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + administratorCommissioningopenCommissioningWindowCommandParams + ); + administratorCommissioningClusterInteractionInfoMap.put("openCommissioningWindow", administratorCommissioningopenCommissioningWindowInteractionInfo); + Map administratorCommissioningopenBasicCommissioningWindowCommandParams = new LinkedHashMap(); + CommandParameterInfo administratorCommissioningopenBasicCommissioningWindowcommissioningTimeoutCommandParameterInfo = new CommandParameterInfo("commissioningTimeout", Integer.class, Integer.class); + administratorCommissioningopenBasicCommissioningWindowCommandParams.put("commissioningTimeout",administratorCommissioningopenBasicCommissioningWindowcommissioningTimeoutCommandParameterInfo); + + InteractionInfo administratorCommissioningopenBasicCommissioningWindowInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .openBasicCommissioningWindow((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("commissioningTimeout") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + administratorCommissioningopenBasicCommissioningWindowCommandParams + ); + administratorCommissioningClusterInteractionInfoMap.put("openBasicCommissioningWindow", administratorCommissioningopenBasicCommissioningWindowInteractionInfo); + Map administratorCommissioningrevokeCommissioningCommandParams = new LinkedHashMap(); + InteractionInfo administratorCommissioningrevokeCommissioningInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AdministratorCommissioningCluster) cluster) + .revokeCommissioning((DefaultClusterCallback) callback + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + administratorCommissioningrevokeCommissioningCommandParams + ); + administratorCommissioningClusterInteractionInfoMap.put("revokeCommissioning", administratorCommissioningrevokeCommissioningInteractionInfo); + commandMap.put("administratorCommissioning", administratorCommissioningClusterInteractionInfoMap); + Map operationalCredentialsClusterInteractionInfoMap = new LinkedHashMap<>(); + Map operationalCredentialsattestationRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialsattestationRequestattestationNonceCommandParameterInfo = new CommandParameterInfo("attestationNonce", byte[].class, byte[].class); + operationalCredentialsattestationRequestCommandParams.put("attestationNonce",operationalCredentialsattestationRequestattestationNonceCommandParameterInfo); + + InteractionInfo operationalCredentialsattestationRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .attestationRequest((ChipClusters.OperationalCredentialsCluster.AttestationResponseCallback) callback + , (byte[]) + commandArguments.get("attestationNonce") + + ); + }, + () -> new DelegatedOperationalCredentialsClusterAttestationResponseCallback(), + operationalCredentialsattestationRequestCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("attestationRequest", operationalCredentialsattestationRequestInteractionInfo); + Map operationalCredentialscertificateChainRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialscertificateChainRequestcertificateTypeCommandParameterInfo = new CommandParameterInfo("certificateType", Integer.class, Integer.class); + operationalCredentialscertificateChainRequestCommandParams.put("certificateType",operationalCredentialscertificateChainRequestcertificateTypeCommandParameterInfo); + + InteractionInfo operationalCredentialscertificateChainRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .certificateChainRequest((ChipClusters.OperationalCredentialsCluster.CertificateChainResponseCallback) callback + , (Integer) + commandArguments.get("certificateType") + + ); + }, + () -> new DelegatedOperationalCredentialsClusterCertificateChainResponseCallback(), + operationalCredentialscertificateChainRequestCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("certificateChainRequest", operationalCredentialscertificateChainRequestInteractionInfo); + Map operationalCredentialsCSRRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialsCSRRequestCSRNonceCommandParameterInfo = new CommandParameterInfo("CSRNonce", byte[].class, byte[].class); + operationalCredentialsCSRRequestCommandParams.put("CSRNonce",operationalCredentialsCSRRequestCSRNonceCommandParameterInfo); + + CommandParameterInfo operationalCredentialsCSRRequestisForUpdateNOCCommandParameterInfo = new CommandParameterInfo("isForUpdateNOC", Optional.class, Boolean.class); + operationalCredentialsCSRRequestCommandParams.put("isForUpdateNOC",operationalCredentialsCSRRequestisForUpdateNOCCommandParameterInfo); + + InteractionInfo operationalCredentialsCSRRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .CSRRequest((ChipClusters.OperationalCredentialsCluster.CSRResponseCallback) callback + , (byte[]) + commandArguments.get("CSRNonce") + , (Optional) + commandArguments.get("isForUpdateNOC") + + ); + }, + () -> new DelegatedOperationalCredentialsClusterCSRResponseCallback(), + operationalCredentialsCSRRequestCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("CSRRequest", operationalCredentialsCSRRequestInteractionInfo); + Map operationalCredentialsaddNOCCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialsaddNOCNOCValueCommandParameterInfo = new CommandParameterInfo("NOCValue", byte[].class, byte[].class); + operationalCredentialsaddNOCCommandParams.put("NOCValue",operationalCredentialsaddNOCNOCValueCommandParameterInfo); + + CommandParameterInfo operationalCredentialsaddNOCICACValueCommandParameterInfo = new CommandParameterInfo("ICACValue", Optional.class, byte[].class); + operationalCredentialsaddNOCCommandParams.put("ICACValue",operationalCredentialsaddNOCICACValueCommandParameterInfo); + + CommandParameterInfo operationalCredentialsaddNOCIPKValueCommandParameterInfo = new CommandParameterInfo("IPKValue", byte[].class, byte[].class); + operationalCredentialsaddNOCCommandParams.put("IPKValue",operationalCredentialsaddNOCIPKValueCommandParameterInfo); + + CommandParameterInfo operationalCredentialsaddNOCcaseAdminSubjectCommandParameterInfo = new CommandParameterInfo("caseAdminSubject", Long.class, Long.class); + operationalCredentialsaddNOCCommandParams.put("caseAdminSubject",operationalCredentialsaddNOCcaseAdminSubjectCommandParameterInfo); + + CommandParameterInfo operationalCredentialsaddNOCadminVendorIdCommandParameterInfo = new CommandParameterInfo("adminVendorId", Integer.class, Integer.class); + operationalCredentialsaddNOCCommandParams.put("adminVendorId",operationalCredentialsaddNOCadminVendorIdCommandParameterInfo); + + InteractionInfo operationalCredentialsaddNOCInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .addNOC((ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback + , (byte[]) + commandArguments.get("NOCValue") + , (Optional) + commandArguments.get("ICACValue") + , (byte[]) + commandArguments.get("IPKValue") + , (Long) + commandArguments.get("caseAdminSubject") + , (Integer) + commandArguments.get("adminVendorId") + + ); + }, + () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), + operationalCredentialsaddNOCCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("addNOC", operationalCredentialsaddNOCInteractionInfo); + Map operationalCredentialsupdateNOCCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialsupdateNOCNOCValueCommandParameterInfo = new CommandParameterInfo("NOCValue", byte[].class, byte[].class); + operationalCredentialsupdateNOCCommandParams.put("NOCValue",operationalCredentialsupdateNOCNOCValueCommandParameterInfo); + + CommandParameterInfo operationalCredentialsupdateNOCICACValueCommandParameterInfo = new CommandParameterInfo("ICACValue", Optional.class, byte[].class); + operationalCredentialsupdateNOCCommandParams.put("ICACValue",operationalCredentialsupdateNOCICACValueCommandParameterInfo); + + InteractionInfo operationalCredentialsupdateNOCInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .updateNOC((ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback + , (byte[]) + commandArguments.get("NOCValue") + , (Optional) + commandArguments.get("ICACValue") + + ); + }, + () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), + operationalCredentialsupdateNOCCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("updateNOC", operationalCredentialsupdateNOCInteractionInfo); + Map operationalCredentialsupdateFabricLabelCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialsupdateFabricLabellabelCommandParameterInfo = new CommandParameterInfo("label", String.class, String.class); + operationalCredentialsupdateFabricLabelCommandParams.put("label",operationalCredentialsupdateFabricLabellabelCommandParameterInfo); + + InteractionInfo operationalCredentialsupdateFabricLabelInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .updateFabricLabel((ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback + , (String) + commandArguments.get("label") + + ); + }, + () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), + operationalCredentialsupdateFabricLabelCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("updateFabricLabel", operationalCredentialsupdateFabricLabelInteractionInfo); + Map operationalCredentialsremoveFabricCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialsremoveFabricfabricIndexCommandParameterInfo = new CommandParameterInfo("fabricIndex", Integer.class, Integer.class); + operationalCredentialsremoveFabricCommandParams.put("fabricIndex",operationalCredentialsremoveFabricfabricIndexCommandParameterInfo); + + InteractionInfo operationalCredentialsremoveFabricInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .removeFabric((ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback + , (Integer) + commandArguments.get("fabricIndex") + + ); + }, + () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), + operationalCredentialsremoveFabricCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("removeFabric", operationalCredentialsremoveFabricInteractionInfo); + Map operationalCredentialsaddTrustedRootCertificateCommandParams = new LinkedHashMap(); + CommandParameterInfo operationalCredentialsaddTrustedRootCertificaterootCACertificateCommandParameterInfo = new CommandParameterInfo("rootCACertificate", byte[].class, byte[].class); + operationalCredentialsaddTrustedRootCertificateCommandParams.put("rootCACertificate",operationalCredentialsaddTrustedRootCertificaterootCACertificateCommandParameterInfo); + + InteractionInfo operationalCredentialsaddTrustedRootCertificateInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OperationalCredentialsCluster) cluster) + .addTrustedRootCertificate((DefaultClusterCallback) callback + , (byte[]) + commandArguments.get("rootCACertificate") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + operationalCredentialsaddTrustedRootCertificateCommandParams + ); + operationalCredentialsClusterInteractionInfoMap.put("addTrustedRootCertificate", operationalCredentialsaddTrustedRootCertificateInteractionInfo); + commandMap.put("operationalCredentials", operationalCredentialsClusterInteractionInfoMap); + Map groupKeyManagementClusterInteractionInfoMap = new LinkedHashMap<>(); + Map groupKeyManagementkeySetWriteCommandParams = new LinkedHashMap(); + InteractionInfo groupKeyManagementkeySetWriteInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .keySetWrite((DefaultClusterCallback) callback + , (ChipStructs.GroupKeyManagementClusterGroupKeySetStruct) + commandArguments.get("groupKeySet") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + groupKeyManagementkeySetWriteCommandParams + ); + groupKeyManagementClusterInteractionInfoMap.put("keySetWrite", groupKeyManagementkeySetWriteInteractionInfo); + Map groupKeyManagementkeySetReadCommandParams = new LinkedHashMap(); + CommandParameterInfo groupKeyManagementkeySetReadgroupKeySetIDCommandParameterInfo = new CommandParameterInfo("groupKeySetID", Integer.class, Integer.class); + groupKeyManagementkeySetReadCommandParams.put("groupKeySetID",groupKeyManagementkeySetReadgroupKeySetIDCommandParameterInfo); + + InteractionInfo groupKeyManagementkeySetReadInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .keySetRead((ChipClusters.GroupKeyManagementCluster.KeySetReadResponseCallback) callback + , (Integer) + commandArguments.get("groupKeySetID") + + ); + }, + () -> new DelegatedGroupKeyManagementClusterKeySetReadResponseCallback(), + groupKeyManagementkeySetReadCommandParams + ); + groupKeyManagementClusterInteractionInfoMap.put("keySetRead", groupKeyManagementkeySetReadInteractionInfo); + Map groupKeyManagementkeySetRemoveCommandParams = new LinkedHashMap(); + CommandParameterInfo groupKeyManagementkeySetRemovegroupKeySetIDCommandParameterInfo = new CommandParameterInfo("groupKeySetID", Integer.class, Integer.class); + groupKeyManagementkeySetRemoveCommandParams.put("groupKeySetID",groupKeyManagementkeySetRemovegroupKeySetIDCommandParameterInfo); + + InteractionInfo groupKeyManagementkeySetRemoveInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .keySetRemove((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("groupKeySetID") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + groupKeyManagementkeySetRemoveCommandParams + ); + groupKeyManagementClusterInteractionInfoMap.put("keySetRemove", groupKeyManagementkeySetRemoveInteractionInfo); + Map groupKeyManagementkeySetReadAllIndicesCommandParams = new LinkedHashMap(); + CommandParameterInfo groupKeyManagementkeySetReadAllIndicesgroupKeySetIDsCommandParameterInfo = new CommandParameterInfo("groupKeySetIDs", ArrayList.class, Integer.class); + groupKeyManagementkeySetReadAllIndicesCommandParams.put("groupKeySetIDs",groupKeyManagementkeySetReadAllIndicesgroupKeySetIDsCommandParameterInfo); + + InteractionInfo groupKeyManagementkeySetReadAllIndicesInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GroupKeyManagementCluster) cluster) + .keySetReadAllIndices((ChipClusters.GroupKeyManagementCluster.KeySetReadAllIndicesResponseCallback) callback + , (ArrayList) + commandArguments.get("groupKeySetIDs") + + ); + }, + () -> new DelegatedGroupKeyManagementClusterKeySetReadAllIndicesResponseCallback(), + groupKeyManagementkeySetReadAllIndicesCommandParams + ); + groupKeyManagementClusterInteractionInfoMap.put("keySetReadAllIndices", groupKeyManagementkeySetReadAllIndicesInteractionInfo); + commandMap.put("groupKeyManagement", groupKeyManagementClusterInteractionInfoMap); + Map fixedLabelClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("fixedLabel", fixedLabelClusterInteractionInfoMap); + Map userLabelClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("userLabel", userLabelClusterInteractionInfoMap); + Map proxyConfigurationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("proxyConfiguration", proxyConfigurationClusterInteractionInfoMap); + Map proxyDiscoveryClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("proxyDiscovery", proxyDiscoveryClusterInteractionInfoMap); + Map proxyValidClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("proxyValid", proxyValidClusterInteractionInfoMap); + Map booleanStateClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("booleanState", booleanStateClusterInteractionInfoMap); + Map icdManagementClusterInteractionInfoMap = new LinkedHashMap<>(); + Map icdManagementregisterClientCommandParams = new LinkedHashMap(); + CommandParameterInfo icdManagementregisterClientcheckInNodeIDCommandParameterInfo = new CommandParameterInfo("checkInNodeID", Long.class, Long.class); + icdManagementregisterClientCommandParams.put("checkInNodeID",icdManagementregisterClientcheckInNodeIDCommandParameterInfo); + + CommandParameterInfo icdManagementregisterClientmonitoredSubjectCommandParameterInfo = new CommandParameterInfo("monitoredSubject", Long.class, Long.class); + icdManagementregisterClientCommandParams.put("monitoredSubject",icdManagementregisterClientmonitoredSubjectCommandParameterInfo); + + CommandParameterInfo icdManagementregisterClientkeyCommandParameterInfo = new CommandParameterInfo("key", byte[].class, byte[].class); + icdManagementregisterClientCommandParams.put("key",icdManagementregisterClientkeyCommandParameterInfo); + + CommandParameterInfo icdManagementregisterClientverificationKeyCommandParameterInfo = new CommandParameterInfo("verificationKey", Optional.class, byte[].class); + icdManagementregisterClientCommandParams.put("verificationKey",icdManagementregisterClientverificationKeyCommandParameterInfo); + + InteractionInfo icdManagementregisterClientInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IcdManagementCluster) cluster) + .registerClient((ChipClusters.IcdManagementCluster.RegisterClientResponseCallback) callback + , (Long) + commandArguments.get("checkInNodeID") + , (Long) + commandArguments.get("monitoredSubject") + , (byte[]) + commandArguments.get("key") + , (Optional) + commandArguments.get("verificationKey") + + ); + }, + () -> new DelegatedIcdManagementClusterRegisterClientResponseCallback(), + icdManagementregisterClientCommandParams + ); + icdManagementClusterInteractionInfoMap.put("registerClient", icdManagementregisterClientInteractionInfo); + Map icdManagementunregisterClientCommandParams = new LinkedHashMap(); + CommandParameterInfo icdManagementunregisterClientcheckInNodeIDCommandParameterInfo = new CommandParameterInfo("checkInNodeID", Long.class, Long.class); + icdManagementunregisterClientCommandParams.put("checkInNodeID",icdManagementunregisterClientcheckInNodeIDCommandParameterInfo); + + CommandParameterInfo icdManagementunregisterClientkeyCommandParameterInfo = new CommandParameterInfo("key", Optional.class, byte[].class); + icdManagementunregisterClientCommandParams.put("key",icdManagementunregisterClientkeyCommandParameterInfo); + + InteractionInfo icdManagementunregisterClientInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IcdManagementCluster) cluster) + .unregisterClient((DefaultClusterCallback) callback + , (Long) + commandArguments.get("checkInNodeID") + , (Optional) + commandArguments.get("key") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + icdManagementunregisterClientCommandParams + ); + icdManagementClusterInteractionInfoMap.put("unregisterClient", icdManagementunregisterClientInteractionInfo); + Map icdManagementstayActiveRequestCommandParams = new LinkedHashMap(); + InteractionInfo icdManagementstayActiveRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IcdManagementCluster) cluster) + .stayActiveRequest((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + icdManagementstayActiveRequestCommandParams + ); + icdManagementClusterInteractionInfoMap.put("stayActiveRequest", icdManagementstayActiveRequestInteractionInfo); + commandMap.put("icdManagement", icdManagementClusterInteractionInfoMap); + Map modeSelectClusterInteractionInfoMap = new LinkedHashMap<>(); + Map modeSelectchangeToModeCommandParams = new LinkedHashMap(); + CommandParameterInfo modeSelectchangeToModenewModeCommandParameterInfo = new CommandParameterInfo("newMode", Integer.class, Integer.class); + modeSelectchangeToModeCommandParams.put("newMode",modeSelectchangeToModenewModeCommandParameterInfo); + + InteractionInfo modeSelectchangeToModeInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .changeToMode((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("newMode") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + modeSelectchangeToModeCommandParams + ); + modeSelectClusterInteractionInfoMap.put("changeToMode", modeSelectchangeToModeInteractionInfo); + commandMap.put("modeSelect", modeSelectClusterInteractionInfoMap); + Map temperatureControlClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("temperatureControl", temperatureControlClusterInteractionInfoMap); + Map refrigeratorAlarmClusterInteractionInfoMap = new LinkedHashMap<>(); + Map refrigeratorAlarmresetCommandParams = new LinkedHashMap(); + CommandParameterInfo refrigeratorAlarmresetalarmsCommandParameterInfo = new CommandParameterInfo("alarms", Long.class, Long.class); + refrigeratorAlarmresetCommandParams.put("alarms",refrigeratorAlarmresetalarmsCommandParameterInfo); + + CommandParameterInfo refrigeratorAlarmresetmaskCommandParameterInfo = new CommandParameterInfo("mask", Optional.class, Long.class); + refrigeratorAlarmresetCommandParams.put("mask",refrigeratorAlarmresetmaskCommandParameterInfo); + + InteractionInfo refrigeratorAlarmresetInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.RefrigeratorAlarmCluster) cluster) + .reset((DefaultClusterCallback) callback + , (Long) + commandArguments.get("alarms") + , (Optional) + commandArguments.get("mask") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + refrigeratorAlarmresetCommandParams + ); + refrigeratorAlarmClusterInteractionInfoMap.put("reset", refrigeratorAlarmresetInteractionInfo); + commandMap.put("refrigeratorAlarm", refrigeratorAlarmClusterInteractionInfoMap); + Map airQualityClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("airQuality", airQualityClusterInteractionInfoMap); + Map smokeCoAlarmClusterInteractionInfoMap = new LinkedHashMap<>(); + Map smokeCoAlarmselfTestRequestCommandParams = new LinkedHashMap(); + InteractionInfo smokeCoAlarmselfTestRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.SmokeCoAlarmCluster) cluster) + .selfTestRequest((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + smokeCoAlarmselfTestRequestCommandParams + ); + smokeCoAlarmClusterInteractionInfoMap.put("selfTestRequest", smokeCoAlarmselfTestRequestInteractionInfo); + commandMap.put("smokeCoAlarm", smokeCoAlarmClusterInteractionInfoMap); + Map operationalStateClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("operationalState", operationalStateClusterInteractionInfoMap); + Map hepaFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("hepaFilterMonitoring", hepaFilterMonitoringClusterInteractionInfoMap); + Map activatedCarbonFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("activatedCarbonFilterMonitoring", activatedCarbonFilterMonitoringClusterInteractionInfoMap); + Map ceramicFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("ceramicFilterMonitoring", ceramicFilterMonitoringClusterInteractionInfoMap); + Map electrostaticFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("electrostaticFilterMonitoring", electrostaticFilterMonitoringClusterInteractionInfoMap); + Map uvFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("uvFilterMonitoring", uvFilterMonitoringClusterInteractionInfoMap); + Map ionizingFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("ionizingFilterMonitoring", ionizingFilterMonitoringClusterInteractionInfoMap); + Map zeoliteFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("zeoliteFilterMonitoring", zeoliteFilterMonitoringClusterInteractionInfoMap); + Map ozoneFilterMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("ozoneFilterMonitoring", ozoneFilterMonitoringClusterInteractionInfoMap); + Map waterTankMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("waterTankMonitoring", waterTankMonitoringClusterInteractionInfoMap); + Map fuelTankMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("fuelTankMonitoring", fuelTankMonitoringClusterInteractionInfoMap); + Map inkCartridgeMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("inkCartridgeMonitoring", inkCartridgeMonitoringClusterInteractionInfoMap); + Map tonerCartridgeMonitoringClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("tonerCartridgeMonitoring", tonerCartridgeMonitoringClusterInteractionInfoMap); + Map doorLockClusterInteractionInfoMap = new LinkedHashMap<>(); + Map doorLocklockDoorCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLocklockDoorPINCodeCommandParameterInfo = new CommandParameterInfo("PINCode", Optional.class, byte[].class); + doorLocklockDoorCommandParams.put("PINCode",doorLocklockDoorPINCodeCommandParameterInfo); + + InteractionInfo doorLocklockDoorInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .lockDoor((DefaultClusterCallback) callback + , (Optional) + commandArguments.get("PINCode") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLocklockDoorCommandParams + ); + doorLockClusterInteractionInfoMap.put("lockDoor", doorLocklockDoorInteractionInfo); + Map doorLockunlockDoorCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockunlockDoorPINCodeCommandParameterInfo = new CommandParameterInfo("PINCode", Optional.class, byte[].class); + doorLockunlockDoorCommandParams.put("PINCode",doorLockunlockDoorPINCodeCommandParameterInfo); + + InteractionInfo doorLockunlockDoorInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .unlockDoor((DefaultClusterCallback) callback + , (Optional) + commandArguments.get("PINCode") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLockunlockDoorCommandParams + ); + doorLockClusterInteractionInfoMap.put("unlockDoor", doorLockunlockDoorInteractionInfo); + Map doorLockunlockWithTimeoutCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockunlockWithTimeouttimeoutCommandParameterInfo = new CommandParameterInfo("timeout", Integer.class, Integer.class); + doorLockunlockWithTimeoutCommandParams.put("timeout",doorLockunlockWithTimeouttimeoutCommandParameterInfo); + + CommandParameterInfo doorLockunlockWithTimeoutPINCodeCommandParameterInfo = new CommandParameterInfo("PINCode", Optional.class, byte[].class); + doorLockunlockWithTimeoutCommandParams.put("PINCode",doorLockunlockWithTimeoutPINCodeCommandParameterInfo); + + InteractionInfo doorLockunlockWithTimeoutInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .unlockWithTimeout((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("timeout") + , (Optional) + commandArguments.get("PINCode") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLockunlockWithTimeoutCommandParams + ); + doorLockClusterInteractionInfoMap.put("unlockWithTimeout", doorLockunlockWithTimeoutInteractionInfo); + Map doorLocksetWeekDayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLocksetWeekDayScheduleweekDayIndexCommandParameterInfo = new CommandParameterInfo("weekDayIndex", Integer.class, Integer.class); + doorLocksetWeekDayScheduleCommandParams.put("weekDayIndex",doorLocksetWeekDayScheduleweekDayIndexCommandParameterInfo); + + CommandParameterInfo doorLocksetWeekDayScheduleuserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLocksetWeekDayScheduleCommandParams.put("userIndex",doorLocksetWeekDayScheduleuserIndexCommandParameterInfo); + + CommandParameterInfo doorLocksetWeekDayScheduledaysMaskCommandParameterInfo = new CommandParameterInfo("daysMask", Integer.class, Integer.class); + doorLocksetWeekDayScheduleCommandParams.put("daysMask",doorLocksetWeekDayScheduledaysMaskCommandParameterInfo); + + CommandParameterInfo doorLocksetWeekDaySchedulestartHourCommandParameterInfo = new CommandParameterInfo("startHour", Integer.class, Integer.class); + doorLocksetWeekDayScheduleCommandParams.put("startHour",doorLocksetWeekDaySchedulestartHourCommandParameterInfo); + + CommandParameterInfo doorLocksetWeekDaySchedulestartMinuteCommandParameterInfo = new CommandParameterInfo("startMinute", Integer.class, Integer.class); + doorLocksetWeekDayScheduleCommandParams.put("startMinute",doorLocksetWeekDaySchedulestartMinuteCommandParameterInfo); + + CommandParameterInfo doorLocksetWeekDayScheduleendHourCommandParameterInfo = new CommandParameterInfo("endHour", Integer.class, Integer.class); + doorLocksetWeekDayScheduleCommandParams.put("endHour",doorLocksetWeekDayScheduleendHourCommandParameterInfo); + + CommandParameterInfo doorLocksetWeekDayScheduleendMinuteCommandParameterInfo = new CommandParameterInfo("endMinute", Integer.class, Integer.class); + doorLocksetWeekDayScheduleCommandParams.put("endMinute",doorLocksetWeekDayScheduleendMinuteCommandParameterInfo); + + InteractionInfo doorLocksetWeekDayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .setWeekDaySchedule((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("weekDayIndex") + , (Integer) + commandArguments.get("userIndex") + , (Integer) + commandArguments.get("daysMask") + , (Integer) + commandArguments.get("startHour") + , (Integer) + commandArguments.get("startMinute") + , (Integer) + commandArguments.get("endHour") + , (Integer) + commandArguments.get("endMinute") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLocksetWeekDayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("setWeekDaySchedule", doorLocksetWeekDayScheduleInteractionInfo); + Map doorLockgetWeekDayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockgetWeekDayScheduleweekDayIndexCommandParameterInfo = new CommandParameterInfo("weekDayIndex", Integer.class, Integer.class); + doorLockgetWeekDayScheduleCommandParams.put("weekDayIndex",doorLockgetWeekDayScheduleweekDayIndexCommandParameterInfo); + + CommandParameterInfo doorLockgetWeekDayScheduleuserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLockgetWeekDayScheduleCommandParams.put("userIndex",doorLockgetWeekDayScheduleuserIndexCommandParameterInfo); + + InteractionInfo doorLockgetWeekDayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .getWeekDaySchedule((ChipClusters.DoorLockCluster.GetWeekDayScheduleResponseCallback) callback + , (Integer) + commandArguments.get("weekDayIndex") + , (Integer) + commandArguments.get("userIndex") + + ); + }, + () -> new DelegatedDoorLockClusterGetWeekDayScheduleResponseCallback(), + doorLockgetWeekDayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("getWeekDaySchedule", doorLockgetWeekDayScheduleInteractionInfo); + Map doorLockclearWeekDayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockclearWeekDayScheduleweekDayIndexCommandParameterInfo = new CommandParameterInfo("weekDayIndex", Integer.class, Integer.class); + doorLockclearWeekDayScheduleCommandParams.put("weekDayIndex",doorLockclearWeekDayScheduleweekDayIndexCommandParameterInfo); + + CommandParameterInfo doorLockclearWeekDayScheduleuserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLockclearWeekDayScheduleCommandParams.put("userIndex",doorLockclearWeekDayScheduleuserIndexCommandParameterInfo); + + InteractionInfo doorLockclearWeekDayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .clearWeekDaySchedule((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("weekDayIndex") + , (Integer) + commandArguments.get("userIndex") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLockclearWeekDayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("clearWeekDaySchedule", doorLockclearWeekDayScheduleInteractionInfo); + Map doorLocksetYearDayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLocksetYearDayScheduleyearDayIndexCommandParameterInfo = new CommandParameterInfo("yearDayIndex", Integer.class, Integer.class); + doorLocksetYearDayScheduleCommandParams.put("yearDayIndex",doorLocksetYearDayScheduleyearDayIndexCommandParameterInfo); + + CommandParameterInfo doorLocksetYearDayScheduleuserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLocksetYearDayScheduleCommandParams.put("userIndex",doorLocksetYearDayScheduleuserIndexCommandParameterInfo); + + CommandParameterInfo doorLocksetYearDaySchedulelocalStartTimeCommandParameterInfo = new CommandParameterInfo("localStartTime", Long.class, Long.class); + doorLocksetYearDayScheduleCommandParams.put("localStartTime",doorLocksetYearDaySchedulelocalStartTimeCommandParameterInfo); + + CommandParameterInfo doorLocksetYearDaySchedulelocalEndTimeCommandParameterInfo = new CommandParameterInfo("localEndTime", Long.class, Long.class); + doorLocksetYearDayScheduleCommandParams.put("localEndTime",doorLocksetYearDaySchedulelocalEndTimeCommandParameterInfo); + + InteractionInfo doorLocksetYearDayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .setYearDaySchedule((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("yearDayIndex") + , (Integer) + commandArguments.get("userIndex") + , (Long) + commandArguments.get("localStartTime") + , (Long) + commandArguments.get("localEndTime") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLocksetYearDayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("setYearDaySchedule", doorLocksetYearDayScheduleInteractionInfo); + Map doorLockgetYearDayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockgetYearDayScheduleyearDayIndexCommandParameterInfo = new CommandParameterInfo("yearDayIndex", Integer.class, Integer.class); + doorLockgetYearDayScheduleCommandParams.put("yearDayIndex",doorLockgetYearDayScheduleyearDayIndexCommandParameterInfo); + + CommandParameterInfo doorLockgetYearDayScheduleuserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLockgetYearDayScheduleCommandParams.put("userIndex",doorLockgetYearDayScheduleuserIndexCommandParameterInfo); + + InteractionInfo doorLockgetYearDayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .getYearDaySchedule((ChipClusters.DoorLockCluster.GetYearDayScheduleResponseCallback) callback + , (Integer) + commandArguments.get("yearDayIndex") + , (Integer) + commandArguments.get("userIndex") + + ); + }, + () -> new DelegatedDoorLockClusterGetYearDayScheduleResponseCallback(), + doorLockgetYearDayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("getYearDaySchedule", doorLockgetYearDayScheduleInteractionInfo); + Map doorLockclearYearDayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockclearYearDayScheduleyearDayIndexCommandParameterInfo = new CommandParameterInfo("yearDayIndex", Integer.class, Integer.class); + doorLockclearYearDayScheduleCommandParams.put("yearDayIndex",doorLockclearYearDayScheduleyearDayIndexCommandParameterInfo); + + CommandParameterInfo doorLockclearYearDayScheduleuserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLockclearYearDayScheduleCommandParams.put("userIndex",doorLockclearYearDayScheduleuserIndexCommandParameterInfo); + + InteractionInfo doorLockclearYearDayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .clearYearDaySchedule((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("yearDayIndex") + , (Integer) + commandArguments.get("userIndex") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLockclearYearDayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("clearYearDaySchedule", doorLockclearYearDayScheduleInteractionInfo); + Map doorLocksetHolidayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLocksetHolidayScheduleholidayIndexCommandParameterInfo = new CommandParameterInfo("holidayIndex", Integer.class, Integer.class); + doorLocksetHolidayScheduleCommandParams.put("holidayIndex",doorLocksetHolidayScheduleholidayIndexCommandParameterInfo); + + CommandParameterInfo doorLocksetHolidaySchedulelocalStartTimeCommandParameterInfo = new CommandParameterInfo("localStartTime", Long.class, Long.class); + doorLocksetHolidayScheduleCommandParams.put("localStartTime",doorLocksetHolidaySchedulelocalStartTimeCommandParameterInfo); + + CommandParameterInfo doorLocksetHolidaySchedulelocalEndTimeCommandParameterInfo = new CommandParameterInfo("localEndTime", Long.class, Long.class); + doorLocksetHolidayScheduleCommandParams.put("localEndTime",doorLocksetHolidaySchedulelocalEndTimeCommandParameterInfo); + + CommandParameterInfo doorLocksetHolidayScheduleoperatingModeCommandParameterInfo = new CommandParameterInfo("operatingMode", Integer.class, Integer.class); + doorLocksetHolidayScheduleCommandParams.put("operatingMode",doorLocksetHolidayScheduleoperatingModeCommandParameterInfo); + + InteractionInfo doorLocksetHolidayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .setHolidaySchedule((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("holidayIndex") + , (Long) + commandArguments.get("localStartTime") + , (Long) + commandArguments.get("localEndTime") + , (Integer) + commandArguments.get("operatingMode") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLocksetHolidayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("setHolidaySchedule", doorLocksetHolidayScheduleInteractionInfo); + Map doorLockgetHolidayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockgetHolidayScheduleholidayIndexCommandParameterInfo = new CommandParameterInfo("holidayIndex", Integer.class, Integer.class); + doorLockgetHolidayScheduleCommandParams.put("holidayIndex",doorLockgetHolidayScheduleholidayIndexCommandParameterInfo); + + InteractionInfo doorLockgetHolidayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .getHolidaySchedule((ChipClusters.DoorLockCluster.GetHolidayScheduleResponseCallback) callback + , (Integer) + commandArguments.get("holidayIndex") + + ); + }, + () -> new DelegatedDoorLockClusterGetHolidayScheduleResponseCallback(), + doorLockgetHolidayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("getHolidaySchedule", doorLockgetHolidayScheduleInteractionInfo); + Map doorLockclearHolidayScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockclearHolidayScheduleholidayIndexCommandParameterInfo = new CommandParameterInfo("holidayIndex", Integer.class, Integer.class); + doorLockclearHolidayScheduleCommandParams.put("holidayIndex",doorLockclearHolidayScheduleholidayIndexCommandParameterInfo); + + InteractionInfo doorLockclearHolidayScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .clearHolidaySchedule((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("holidayIndex") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLockclearHolidayScheduleCommandParams + ); + doorLockClusterInteractionInfoMap.put("clearHolidaySchedule", doorLockclearHolidayScheduleInteractionInfo); + Map doorLocksetUserCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLocksetUseroperationTypeCommandParameterInfo = new CommandParameterInfo("operationType", Integer.class, Integer.class); + doorLocksetUserCommandParams.put("operationType",doorLocksetUseroperationTypeCommandParameterInfo); + + CommandParameterInfo doorLocksetUseruserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLocksetUserCommandParams.put("userIndex",doorLocksetUseruserIndexCommandParameterInfo); + + CommandParameterInfo doorLocksetUseruserNameCommandParameterInfo = new CommandParameterInfo("userName", String.class, String.class); + doorLocksetUserCommandParams.put("userName",doorLocksetUseruserNameCommandParameterInfo); + + CommandParameterInfo doorLocksetUseruserUniqueIDCommandParameterInfo = new CommandParameterInfo("userUniqueID", Long.class, Long.class); + doorLocksetUserCommandParams.put("userUniqueID",doorLocksetUseruserUniqueIDCommandParameterInfo); + + CommandParameterInfo doorLocksetUseruserStatusCommandParameterInfo = new CommandParameterInfo("userStatus", Integer.class, Integer.class); + doorLocksetUserCommandParams.put("userStatus",doorLocksetUseruserStatusCommandParameterInfo); + + CommandParameterInfo doorLocksetUseruserTypeCommandParameterInfo = new CommandParameterInfo("userType", Integer.class, Integer.class); + doorLocksetUserCommandParams.put("userType",doorLocksetUseruserTypeCommandParameterInfo); + + CommandParameterInfo doorLocksetUsercredentialRuleCommandParameterInfo = new CommandParameterInfo("credentialRule", Integer.class, Integer.class); + doorLocksetUserCommandParams.put("credentialRule",doorLocksetUsercredentialRuleCommandParameterInfo); + + InteractionInfo doorLocksetUserInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .setUser((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("operationType") + , (Integer) + commandArguments.get("userIndex") + , (String) + commandArguments.get("userName") + , (Long) + commandArguments.get("userUniqueID") + , (Integer) + commandArguments.get("userStatus") + , (Integer) + commandArguments.get("userType") + , (Integer) + commandArguments.get("credentialRule") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLocksetUserCommandParams + ); + doorLockClusterInteractionInfoMap.put("setUser", doorLocksetUserInteractionInfo); + Map doorLockgetUserCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockgetUseruserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLockgetUserCommandParams.put("userIndex",doorLockgetUseruserIndexCommandParameterInfo); + + InteractionInfo doorLockgetUserInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .getUser((ChipClusters.DoorLockCluster.GetUserResponseCallback) callback + , (Integer) + commandArguments.get("userIndex") + + ); + }, + () -> new DelegatedDoorLockClusterGetUserResponseCallback(), + doorLockgetUserCommandParams + ); + doorLockClusterInteractionInfoMap.put("getUser", doorLockgetUserInteractionInfo); + Map doorLockclearUserCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLockclearUseruserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLockclearUserCommandParams.put("userIndex",doorLockclearUseruserIndexCommandParameterInfo); + + InteractionInfo doorLockclearUserInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .clearUser((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("userIndex") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLockclearUserCommandParams + ); + doorLockClusterInteractionInfoMap.put("clearUser", doorLockclearUserInteractionInfo); + Map doorLocksetCredentialCommandParams = new LinkedHashMap(); + CommandParameterInfo doorLocksetCredentialoperationTypeCommandParameterInfo = new CommandParameterInfo("operationType", Integer.class, Integer.class); + doorLocksetCredentialCommandParams.put("operationType",doorLocksetCredentialoperationTypeCommandParameterInfo); + + CommandParameterInfo doorLocksetCredentialcredentialDataCommandParameterInfo = new CommandParameterInfo("credentialData", byte[].class, byte[].class); + doorLocksetCredentialCommandParams.put("credentialData",doorLocksetCredentialcredentialDataCommandParameterInfo); + + CommandParameterInfo doorLocksetCredentialuserIndexCommandParameterInfo = new CommandParameterInfo("userIndex", Integer.class, Integer.class); + doorLocksetCredentialCommandParams.put("userIndex",doorLocksetCredentialuserIndexCommandParameterInfo); + + CommandParameterInfo doorLocksetCredentialuserStatusCommandParameterInfo = new CommandParameterInfo("userStatus", Integer.class, Integer.class); + doorLocksetCredentialCommandParams.put("userStatus",doorLocksetCredentialuserStatusCommandParameterInfo); + + CommandParameterInfo doorLocksetCredentialuserTypeCommandParameterInfo = new CommandParameterInfo("userType", Integer.class, Integer.class); + doorLocksetCredentialCommandParams.put("userType",doorLocksetCredentialuserTypeCommandParameterInfo); + + InteractionInfo doorLocksetCredentialInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .setCredential((ChipClusters.DoorLockCluster.SetCredentialResponseCallback) callback + , (Integer) + commandArguments.get("operationType") + , (ChipStructs.DoorLockClusterCredentialStruct) + commandArguments.get("credential") + , (byte[]) + commandArguments.get("credentialData") + , (Integer) + commandArguments.get("userIndex") + , (Integer) + commandArguments.get("userStatus") + , (Integer) + commandArguments.get("userType") + , 10000 + ); + }, + () -> new DelegatedDoorLockClusterSetCredentialResponseCallback(), + doorLocksetCredentialCommandParams + ); + doorLockClusterInteractionInfoMap.put("setCredential", doorLocksetCredentialInteractionInfo); + Map doorLockgetCredentialStatusCommandParams = new LinkedHashMap(); + InteractionInfo doorLockgetCredentialStatusInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .getCredentialStatus((ChipClusters.DoorLockCluster.GetCredentialStatusResponseCallback) callback + , (ChipStructs.DoorLockClusterCredentialStruct) + commandArguments.get("credential") + + ); + }, + () -> new DelegatedDoorLockClusterGetCredentialStatusResponseCallback(), + doorLockgetCredentialStatusCommandParams + ); + doorLockClusterInteractionInfoMap.put("getCredentialStatus", doorLockgetCredentialStatusInteractionInfo); + Map doorLockclearCredentialCommandParams = new LinkedHashMap(); + InteractionInfo doorLockclearCredentialInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .clearCredential((DefaultClusterCallback) callback + , (ChipStructs.DoorLockClusterCredentialStruct) + commandArguments.get("credential") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + doorLockclearCredentialCommandParams + ); + doorLockClusterInteractionInfoMap.put("clearCredential", doorLockclearCredentialInteractionInfo); + commandMap.put("doorLock", doorLockClusterInteractionInfoMap); + Map windowCoveringClusterInteractionInfoMap = new LinkedHashMap<>(); + Map windowCoveringupOrOpenCommandParams = new LinkedHashMap(); + InteractionInfo windowCoveringupOrOpenInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .upOrOpen((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + windowCoveringupOrOpenCommandParams + ); + windowCoveringClusterInteractionInfoMap.put("upOrOpen", windowCoveringupOrOpenInteractionInfo); + Map windowCoveringdownOrCloseCommandParams = new LinkedHashMap(); + InteractionInfo windowCoveringdownOrCloseInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .downOrClose((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + windowCoveringdownOrCloseCommandParams + ); + windowCoveringClusterInteractionInfoMap.put("downOrClose", windowCoveringdownOrCloseInteractionInfo); + Map windowCoveringstopMotionCommandParams = new LinkedHashMap(); + InteractionInfo windowCoveringstopMotionInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .stopMotion((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + windowCoveringstopMotionCommandParams + ); + windowCoveringClusterInteractionInfoMap.put("stopMotion", windowCoveringstopMotionInteractionInfo); + Map windowCoveringgoToLiftValueCommandParams = new LinkedHashMap(); + CommandParameterInfo windowCoveringgoToLiftValueliftValueCommandParameterInfo = new CommandParameterInfo("liftValue", Integer.class, Integer.class); + windowCoveringgoToLiftValueCommandParams.put("liftValue",windowCoveringgoToLiftValueliftValueCommandParameterInfo); + + InteractionInfo windowCoveringgoToLiftValueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .goToLiftValue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("liftValue") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + windowCoveringgoToLiftValueCommandParams + ); + windowCoveringClusterInteractionInfoMap.put("goToLiftValue", windowCoveringgoToLiftValueInteractionInfo); + Map windowCoveringgoToLiftPercentageCommandParams = new LinkedHashMap(); + CommandParameterInfo windowCoveringgoToLiftPercentageliftPercent100thsValueCommandParameterInfo = new CommandParameterInfo("liftPercent100thsValue", Integer.class, Integer.class); + windowCoveringgoToLiftPercentageCommandParams.put("liftPercent100thsValue",windowCoveringgoToLiftPercentageliftPercent100thsValueCommandParameterInfo); + + InteractionInfo windowCoveringgoToLiftPercentageInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .goToLiftPercentage((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("liftPercent100thsValue") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + windowCoveringgoToLiftPercentageCommandParams + ); + windowCoveringClusterInteractionInfoMap.put("goToLiftPercentage", windowCoveringgoToLiftPercentageInteractionInfo); + Map windowCoveringgoToTiltValueCommandParams = new LinkedHashMap(); + CommandParameterInfo windowCoveringgoToTiltValuetiltValueCommandParameterInfo = new CommandParameterInfo("tiltValue", Integer.class, Integer.class); + windowCoveringgoToTiltValueCommandParams.put("tiltValue",windowCoveringgoToTiltValuetiltValueCommandParameterInfo); + + InteractionInfo windowCoveringgoToTiltValueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .goToTiltValue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("tiltValue") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + windowCoveringgoToTiltValueCommandParams + ); + windowCoveringClusterInteractionInfoMap.put("goToTiltValue", windowCoveringgoToTiltValueInteractionInfo); + Map windowCoveringgoToTiltPercentageCommandParams = new LinkedHashMap(); + CommandParameterInfo windowCoveringgoToTiltPercentagetiltPercent100thsValueCommandParameterInfo = new CommandParameterInfo("tiltPercent100thsValue", Integer.class, Integer.class); + windowCoveringgoToTiltPercentageCommandParams.put("tiltPercent100thsValue",windowCoveringgoToTiltPercentagetiltPercent100thsValueCommandParameterInfo); + + InteractionInfo windowCoveringgoToTiltPercentageInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .goToTiltPercentage((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("tiltPercent100thsValue") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + windowCoveringgoToTiltPercentageCommandParams + ); + windowCoveringClusterInteractionInfoMap.put("goToTiltPercentage", windowCoveringgoToTiltPercentageInteractionInfo); + commandMap.put("windowCovering", windowCoveringClusterInteractionInfoMap); + Map barrierControlClusterInteractionInfoMap = new LinkedHashMap<>(); + Map barrierControlbarrierControlGoToPercentCommandParams = new LinkedHashMap(); + CommandParameterInfo barrierControlbarrierControlGoToPercentpercentOpenCommandParameterInfo = new CommandParameterInfo("percentOpen", Integer.class, Integer.class); + barrierControlbarrierControlGoToPercentCommandParams.put("percentOpen",barrierControlbarrierControlGoToPercentpercentOpenCommandParameterInfo); + + InteractionInfo barrierControlbarrierControlGoToPercentInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .barrierControlGoToPercent((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("percentOpen") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + barrierControlbarrierControlGoToPercentCommandParams + ); + barrierControlClusterInteractionInfoMap.put("barrierControlGoToPercent", barrierControlbarrierControlGoToPercentInteractionInfo); + Map barrierControlbarrierControlStopCommandParams = new LinkedHashMap(); + InteractionInfo barrierControlbarrierControlStopInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BarrierControlCluster) cluster) + .barrierControlStop((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + barrierControlbarrierControlStopCommandParams + ); + barrierControlClusterInteractionInfoMap.put("barrierControlStop", barrierControlbarrierControlStopInteractionInfo); + commandMap.put("barrierControl", barrierControlClusterInteractionInfoMap); + Map pumpConfigurationAndControlClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("pumpConfigurationAndControl", pumpConfigurationAndControlClusterInteractionInfoMap); + Map thermostatClusterInteractionInfoMap = new LinkedHashMap<>(); + Map thermostatsetpointRaiseLowerCommandParams = new LinkedHashMap(); + CommandParameterInfo thermostatsetpointRaiseLowermodeCommandParameterInfo = new CommandParameterInfo("mode", Integer.class, Integer.class); + thermostatsetpointRaiseLowerCommandParams.put("mode",thermostatsetpointRaiseLowermodeCommandParameterInfo); + + CommandParameterInfo thermostatsetpointRaiseLoweramountCommandParameterInfo = new CommandParameterInfo("amount", Integer.class, Integer.class); + thermostatsetpointRaiseLowerCommandParams.put("amount",thermostatsetpointRaiseLoweramountCommandParameterInfo); + + InteractionInfo thermostatsetpointRaiseLowerInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .setpointRaiseLower((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("mode") + , (Integer) + commandArguments.get("amount") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + thermostatsetpointRaiseLowerCommandParams + ); + thermostatClusterInteractionInfoMap.put("setpointRaiseLower", thermostatsetpointRaiseLowerInteractionInfo); + Map thermostatsetWeeklyScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo thermostatsetWeeklySchedulenumberOfTransitionsForSequenceCommandParameterInfo = new CommandParameterInfo("numberOfTransitionsForSequence", Integer.class, Integer.class); + thermostatsetWeeklyScheduleCommandParams.put("numberOfTransitionsForSequence",thermostatsetWeeklySchedulenumberOfTransitionsForSequenceCommandParameterInfo); + + CommandParameterInfo thermostatsetWeeklyScheduledayOfWeekForSequenceCommandParameterInfo = new CommandParameterInfo("dayOfWeekForSequence", Integer.class, Integer.class); + thermostatsetWeeklyScheduleCommandParams.put("dayOfWeekForSequence",thermostatsetWeeklyScheduledayOfWeekForSequenceCommandParameterInfo); + + CommandParameterInfo thermostatsetWeeklySchedulemodeForSequenceCommandParameterInfo = new CommandParameterInfo("modeForSequence", Integer.class, Integer.class); + thermostatsetWeeklyScheduleCommandParams.put("modeForSequence",thermostatsetWeeklySchedulemodeForSequenceCommandParameterInfo); + + InteractionInfo thermostatsetWeeklyScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .setWeeklySchedule((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("numberOfTransitionsForSequence") + , (Integer) + commandArguments.get("dayOfWeekForSequence") + , (Integer) + commandArguments.get("modeForSequence") + , (ArrayList) + commandArguments.get("transitions") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + thermostatsetWeeklyScheduleCommandParams + ); + thermostatClusterInteractionInfoMap.put("setWeeklySchedule", thermostatsetWeeklyScheduleInteractionInfo); + Map thermostatgetWeeklyScheduleCommandParams = new LinkedHashMap(); + CommandParameterInfo thermostatgetWeeklyScheduledaysToReturnCommandParameterInfo = new CommandParameterInfo("daysToReturn", Integer.class, Integer.class); + thermostatgetWeeklyScheduleCommandParams.put("daysToReturn",thermostatgetWeeklyScheduledaysToReturnCommandParameterInfo); + + CommandParameterInfo thermostatgetWeeklySchedulemodeToReturnCommandParameterInfo = new CommandParameterInfo("modeToReturn", Integer.class, Integer.class); + thermostatgetWeeklyScheduleCommandParams.put("modeToReturn",thermostatgetWeeklySchedulemodeToReturnCommandParameterInfo); + + InteractionInfo thermostatgetWeeklyScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .getWeeklySchedule((ChipClusters.ThermostatCluster.GetWeeklyScheduleResponseCallback) callback + , (Integer) + commandArguments.get("daysToReturn") + , (Integer) + commandArguments.get("modeToReturn") + + ); + }, + () -> new DelegatedThermostatClusterGetWeeklyScheduleResponseCallback(), + thermostatgetWeeklyScheduleCommandParams + ); + thermostatClusterInteractionInfoMap.put("getWeeklySchedule", thermostatgetWeeklyScheduleInteractionInfo); + Map thermostatclearWeeklyScheduleCommandParams = new LinkedHashMap(); + InteractionInfo thermostatclearWeeklyScheduleInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .clearWeeklySchedule((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + thermostatclearWeeklyScheduleCommandParams + ); + thermostatClusterInteractionInfoMap.put("clearWeeklySchedule", thermostatclearWeeklyScheduleInteractionInfo); + commandMap.put("thermostat", thermostatClusterInteractionInfoMap); + Map fanControlClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("fanControl", fanControlClusterInteractionInfoMap); + Map thermostatUserInterfaceConfigurationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("thermostatUserInterfaceConfiguration", thermostatUserInterfaceConfigurationClusterInteractionInfoMap); + Map colorControlClusterInteractionInfoMap = new LinkedHashMap<>(); + Map colorControlmoveToHueCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveToHuehueCommandParameterInfo = new CommandParameterInfo("hue", Integer.class, Integer.class); + colorControlmoveToHueCommandParams.put("hue",colorControlmoveToHuehueCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHuedirectionCommandParameterInfo = new CommandParameterInfo("direction", Integer.class, Integer.class); + colorControlmoveToHueCommandParams.put("direction",colorControlmoveToHuedirectionCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHuetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlmoveToHueCommandParams.put("transitionTime",colorControlmoveToHuetransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHueoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveToHueCommandParams.put("optionsMask",colorControlmoveToHueoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHueoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveToHueCommandParams.put("optionsOverride",colorControlmoveToHueoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveToHueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveToHue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("hue") + , (Integer) + commandArguments.get("direction") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveToHueCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveToHue", colorControlmoveToHueInteractionInfo); + Map colorControlmoveHueCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveHuemoveModeCommandParameterInfo = new CommandParameterInfo("moveMode", Integer.class, Integer.class); + colorControlmoveHueCommandParams.put("moveMode",colorControlmoveHuemoveModeCommandParameterInfo); + + CommandParameterInfo colorControlmoveHuerateCommandParameterInfo = new CommandParameterInfo("rate", Integer.class, Integer.class); + colorControlmoveHueCommandParams.put("rate",colorControlmoveHuerateCommandParameterInfo); + + CommandParameterInfo colorControlmoveHueoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveHueCommandParams.put("optionsMask",colorControlmoveHueoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveHueoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveHueCommandParams.put("optionsOverride",colorControlmoveHueoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveHueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveHue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("moveMode") + , (Integer) + commandArguments.get("rate") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveHueCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveHue", colorControlmoveHueInteractionInfo); + Map colorControlstepHueCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlstepHuestepModeCommandParameterInfo = new CommandParameterInfo("stepMode", Integer.class, Integer.class); + colorControlstepHueCommandParams.put("stepMode",colorControlstepHuestepModeCommandParameterInfo); + + CommandParameterInfo colorControlstepHuestepSizeCommandParameterInfo = new CommandParameterInfo("stepSize", Integer.class, Integer.class); + colorControlstepHueCommandParams.put("stepSize",colorControlstepHuestepSizeCommandParameterInfo); + + CommandParameterInfo colorControlstepHuetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlstepHueCommandParams.put("transitionTime",colorControlstepHuetransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlstepHueoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlstepHueCommandParams.put("optionsMask",colorControlstepHueoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlstepHueoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlstepHueCommandParams.put("optionsOverride",colorControlstepHueoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlstepHueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .stepHue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("stepMode") + , (Integer) + commandArguments.get("stepSize") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlstepHueCommandParams + ); + colorControlClusterInteractionInfoMap.put("stepHue", colorControlstepHueInteractionInfo); + Map colorControlmoveToSaturationCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveToSaturationsaturationCommandParameterInfo = new CommandParameterInfo("saturation", Integer.class, Integer.class); + colorControlmoveToSaturationCommandParams.put("saturation",colorControlmoveToSaturationsaturationCommandParameterInfo); + + CommandParameterInfo colorControlmoveToSaturationtransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlmoveToSaturationCommandParams.put("transitionTime",colorControlmoveToSaturationtransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlmoveToSaturationoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveToSaturationCommandParams.put("optionsMask",colorControlmoveToSaturationoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveToSaturationoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveToSaturationCommandParams.put("optionsOverride",colorControlmoveToSaturationoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveToSaturationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveToSaturation((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("saturation") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveToSaturationCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveToSaturation", colorControlmoveToSaturationInteractionInfo); + Map colorControlmoveSaturationCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveSaturationmoveModeCommandParameterInfo = new CommandParameterInfo("moveMode", Integer.class, Integer.class); + colorControlmoveSaturationCommandParams.put("moveMode",colorControlmoveSaturationmoveModeCommandParameterInfo); + + CommandParameterInfo colorControlmoveSaturationrateCommandParameterInfo = new CommandParameterInfo("rate", Integer.class, Integer.class); + colorControlmoveSaturationCommandParams.put("rate",colorControlmoveSaturationrateCommandParameterInfo); + + CommandParameterInfo colorControlmoveSaturationoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveSaturationCommandParams.put("optionsMask",colorControlmoveSaturationoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveSaturationoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveSaturationCommandParams.put("optionsOverride",colorControlmoveSaturationoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveSaturationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveSaturation((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("moveMode") + , (Integer) + commandArguments.get("rate") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveSaturationCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveSaturation", colorControlmoveSaturationInteractionInfo); + Map colorControlstepSaturationCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlstepSaturationstepModeCommandParameterInfo = new CommandParameterInfo("stepMode", Integer.class, Integer.class); + colorControlstepSaturationCommandParams.put("stepMode",colorControlstepSaturationstepModeCommandParameterInfo); + + CommandParameterInfo colorControlstepSaturationstepSizeCommandParameterInfo = new CommandParameterInfo("stepSize", Integer.class, Integer.class); + colorControlstepSaturationCommandParams.put("stepSize",colorControlstepSaturationstepSizeCommandParameterInfo); + + CommandParameterInfo colorControlstepSaturationtransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlstepSaturationCommandParams.put("transitionTime",colorControlstepSaturationtransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlstepSaturationoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlstepSaturationCommandParams.put("optionsMask",colorControlstepSaturationoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlstepSaturationoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlstepSaturationCommandParams.put("optionsOverride",colorControlstepSaturationoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlstepSaturationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .stepSaturation((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("stepMode") + , (Integer) + commandArguments.get("stepSize") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlstepSaturationCommandParams + ); + colorControlClusterInteractionInfoMap.put("stepSaturation", colorControlstepSaturationInteractionInfo); + Map colorControlmoveToHueAndSaturationCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveToHueAndSaturationhueCommandParameterInfo = new CommandParameterInfo("hue", Integer.class, Integer.class); + colorControlmoveToHueAndSaturationCommandParams.put("hue",colorControlmoveToHueAndSaturationhueCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHueAndSaturationsaturationCommandParameterInfo = new CommandParameterInfo("saturation", Integer.class, Integer.class); + colorControlmoveToHueAndSaturationCommandParams.put("saturation",colorControlmoveToHueAndSaturationsaturationCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHueAndSaturationtransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlmoveToHueAndSaturationCommandParams.put("transitionTime",colorControlmoveToHueAndSaturationtransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHueAndSaturationoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveToHueAndSaturationCommandParams.put("optionsMask",colorControlmoveToHueAndSaturationoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveToHueAndSaturationoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveToHueAndSaturationCommandParams.put("optionsOverride",colorControlmoveToHueAndSaturationoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveToHueAndSaturationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveToHueAndSaturation((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("hue") + , (Integer) + commandArguments.get("saturation") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveToHueAndSaturationCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveToHueAndSaturation", colorControlmoveToHueAndSaturationInteractionInfo); + Map colorControlmoveToColorCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveToColorcolorXCommandParameterInfo = new CommandParameterInfo("colorX", Integer.class, Integer.class); + colorControlmoveToColorCommandParams.put("colorX",colorControlmoveToColorcolorXCommandParameterInfo); + + CommandParameterInfo colorControlmoveToColorcolorYCommandParameterInfo = new CommandParameterInfo("colorY", Integer.class, Integer.class); + colorControlmoveToColorCommandParams.put("colorY",colorControlmoveToColorcolorYCommandParameterInfo); + + CommandParameterInfo colorControlmoveToColortransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlmoveToColorCommandParams.put("transitionTime",colorControlmoveToColortransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlmoveToColoroptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveToColorCommandParams.put("optionsMask",colorControlmoveToColoroptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveToColoroptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveToColorCommandParams.put("optionsOverride",colorControlmoveToColoroptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveToColorInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveToColor((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("colorX") + , (Integer) + commandArguments.get("colorY") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveToColorCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveToColor", colorControlmoveToColorInteractionInfo); + Map colorControlmoveColorCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveColorrateXCommandParameterInfo = new CommandParameterInfo("rateX", Integer.class, Integer.class); + colorControlmoveColorCommandParams.put("rateX",colorControlmoveColorrateXCommandParameterInfo); + + CommandParameterInfo colorControlmoveColorrateYCommandParameterInfo = new CommandParameterInfo("rateY", Integer.class, Integer.class); + colorControlmoveColorCommandParams.put("rateY",colorControlmoveColorrateYCommandParameterInfo); + + CommandParameterInfo colorControlmoveColoroptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveColorCommandParams.put("optionsMask",colorControlmoveColoroptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveColoroptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveColorCommandParams.put("optionsOverride",colorControlmoveColoroptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveColorInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveColor((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("rateX") + , (Integer) + commandArguments.get("rateY") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveColorCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveColor", colorControlmoveColorInteractionInfo); + Map colorControlstepColorCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlstepColorstepXCommandParameterInfo = new CommandParameterInfo("stepX", Integer.class, Integer.class); + colorControlstepColorCommandParams.put("stepX",colorControlstepColorstepXCommandParameterInfo); + + CommandParameterInfo colorControlstepColorstepYCommandParameterInfo = new CommandParameterInfo("stepY", Integer.class, Integer.class); + colorControlstepColorCommandParams.put("stepY",colorControlstepColorstepYCommandParameterInfo); + + CommandParameterInfo colorControlstepColortransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlstepColorCommandParams.put("transitionTime",colorControlstepColortransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlstepColoroptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlstepColorCommandParams.put("optionsMask",colorControlstepColoroptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlstepColoroptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlstepColorCommandParams.put("optionsOverride",colorControlstepColoroptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlstepColorInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .stepColor((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("stepX") + , (Integer) + commandArguments.get("stepY") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlstepColorCommandParams + ); + colorControlClusterInteractionInfoMap.put("stepColor", colorControlstepColorInteractionInfo); + Map colorControlmoveToColorTemperatureCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveToColorTemperaturecolorTemperatureMiredsCommandParameterInfo = new CommandParameterInfo("colorTemperatureMireds", Integer.class, Integer.class); + colorControlmoveToColorTemperatureCommandParams.put("colorTemperatureMireds",colorControlmoveToColorTemperaturecolorTemperatureMiredsCommandParameterInfo); + + CommandParameterInfo colorControlmoveToColorTemperaturetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlmoveToColorTemperatureCommandParams.put("transitionTime",colorControlmoveToColorTemperaturetransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlmoveToColorTemperatureoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveToColorTemperatureCommandParams.put("optionsMask",colorControlmoveToColorTemperatureoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveToColorTemperatureoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveToColorTemperatureCommandParams.put("optionsOverride",colorControlmoveToColorTemperatureoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveToColorTemperatureInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveToColorTemperature((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("colorTemperatureMireds") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveToColorTemperatureCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveToColorTemperature", colorControlmoveToColorTemperatureInteractionInfo); + Map colorControlenhancedMoveToHueCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlenhancedMoveToHueenhancedHueCommandParameterInfo = new CommandParameterInfo("enhancedHue", Integer.class, Integer.class); + colorControlenhancedMoveToHueCommandParams.put("enhancedHue",colorControlenhancedMoveToHueenhancedHueCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHuedirectionCommandParameterInfo = new CommandParameterInfo("direction", Integer.class, Integer.class); + colorControlenhancedMoveToHueCommandParams.put("direction",colorControlenhancedMoveToHuedirectionCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHuetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlenhancedMoveToHueCommandParams.put("transitionTime",colorControlenhancedMoveToHuetransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHueoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlenhancedMoveToHueCommandParams.put("optionsMask",colorControlenhancedMoveToHueoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHueoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlenhancedMoveToHueCommandParams.put("optionsOverride",colorControlenhancedMoveToHueoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlenhancedMoveToHueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .enhancedMoveToHue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("enhancedHue") + , (Integer) + commandArguments.get("direction") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlenhancedMoveToHueCommandParams + ); + colorControlClusterInteractionInfoMap.put("enhancedMoveToHue", colorControlenhancedMoveToHueInteractionInfo); + Map colorControlenhancedMoveHueCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlenhancedMoveHuemoveModeCommandParameterInfo = new CommandParameterInfo("moveMode", Integer.class, Integer.class); + colorControlenhancedMoveHueCommandParams.put("moveMode",colorControlenhancedMoveHuemoveModeCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveHuerateCommandParameterInfo = new CommandParameterInfo("rate", Integer.class, Integer.class); + colorControlenhancedMoveHueCommandParams.put("rate",colorControlenhancedMoveHuerateCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveHueoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlenhancedMoveHueCommandParams.put("optionsMask",colorControlenhancedMoveHueoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveHueoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlenhancedMoveHueCommandParams.put("optionsOverride",colorControlenhancedMoveHueoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlenhancedMoveHueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .enhancedMoveHue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("moveMode") + , (Integer) + commandArguments.get("rate") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlenhancedMoveHueCommandParams + ); + colorControlClusterInteractionInfoMap.put("enhancedMoveHue", colorControlenhancedMoveHueInteractionInfo); + Map colorControlenhancedStepHueCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlenhancedStepHuestepModeCommandParameterInfo = new CommandParameterInfo("stepMode", Integer.class, Integer.class); + colorControlenhancedStepHueCommandParams.put("stepMode",colorControlenhancedStepHuestepModeCommandParameterInfo); + + CommandParameterInfo colorControlenhancedStepHuestepSizeCommandParameterInfo = new CommandParameterInfo("stepSize", Integer.class, Integer.class); + colorControlenhancedStepHueCommandParams.put("stepSize",colorControlenhancedStepHuestepSizeCommandParameterInfo); + + CommandParameterInfo colorControlenhancedStepHuetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlenhancedStepHueCommandParams.put("transitionTime",colorControlenhancedStepHuetransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlenhancedStepHueoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlenhancedStepHueCommandParams.put("optionsMask",colorControlenhancedStepHueoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlenhancedStepHueoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlenhancedStepHueCommandParams.put("optionsOverride",colorControlenhancedStepHueoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlenhancedStepHueInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .enhancedStepHue((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("stepMode") + , (Integer) + commandArguments.get("stepSize") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlenhancedStepHueCommandParams + ); + colorControlClusterInteractionInfoMap.put("enhancedStepHue", colorControlenhancedStepHueInteractionInfo); + Map colorControlenhancedMoveToHueAndSaturationCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlenhancedMoveToHueAndSaturationenhancedHueCommandParameterInfo = new CommandParameterInfo("enhancedHue", Integer.class, Integer.class); + colorControlenhancedMoveToHueAndSaturationCommandParams.put("enhancedHue",colorControlenhancedMoveToHueAndSaturationenhancedHueCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHueAndSaturationsaturationCommandParameterInfo = new CommandParameterInfo("saturation", Integer.class, Integer.class); + colorControlenhancedMoveToHueAndSaturationCommandParams.put("saturation",colorControlenhancedMoveToHueAndSaturationsaturationCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHueAndSaturationtransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlenhancedMoveToHueAndSaturationCommandParams.put("transitionTime",colorControlenhancedMoveToHueAndSaturationtransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHueAndSaturationoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlenhancedMoveToHueAndSaturationCommandParams.put("optionsMask",colorControlenhancedMoveToHueAndSaturationoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlenhancedMoveToHueAndSaturationoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlenhancedMoveToHueAndSaturationCommandParams.put("optionsOverride",colorControlenhancedMoveToHueAndSaturationoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlenhancedMoveToHueAndSaturationInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .enhancedMoveToHueAndSaturation((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("enhancedHue") + , (Integer) + commandArguments.get("saturation") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlenhancedMoveToHueAndSaturationCommandParams + ); + colorControlClusterInteractionInfoMap.put("enhancedMoveToHueAndSaturation", colorControlenhancedMoveToHueAndSaturationInteractionInfo); + Map colorControlcolorLoopSetCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlcolorLoopSetupdateFlagsCommandParameterInfo = new CommandParameterInfo("updateFlags", Integer.class, Integer.class); + colorControlcolorLoopSetCommandParams.put("updateFlags",colorControlcolorLoopSetupdateFlagsCommandParameterInfo); + + CommandParameterInfo colorControlcolorLoopSetactionCommandParameterInfo = new CommandParameterInfo("action", Integer.class, Integer.class); + colorControlcolorLoopSetCommandParams.put("action",colorControlcolorLoopSetactionCommandParameterInfo); + + CommandParameterInfo colorControlcolorLoopSetdirectionCommandParameterInfo = new CommandParameterInfo("direction", Integer.class, Integer.class); + colorControlcolorLoopSetCommandParams.put("direction",colorControlcolorLoopSetdirectionCommandParameterInfo); + + CommandParameterInfo colorControlcolorLoopSettimeCommandParameterInfo = new CommandParameterInfo("time", Integer.class, Integer.class); + colorControlcolorLoopSetCommandParams.put("time",colorControlcolorLoopSettimeCommandParameterInfo); + + CommandParameterInfo colorControlcolorLoopSetstartHueCommandParameterInfo = new CommandParameterInfo("startHue", Integer.class, Integer.class); + colorControlcolorLoopSetCommandParams.put("startHue",colorControlcolorLoopSetstartHueCommandParameterInfo); + + CommandParameterInfo colorControlcolorLoopSetoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlcolorLoopSetCommandParams.put("optionsMask",colorControlcolorLoopSetoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlcolorLoopSetoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlcolorLoopSetCommandParams.put("optionsOverride",colorControlcolorLoopSetoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlcolorLoopSetInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .colorLoopSet((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("updateFlags") + , (Integer) + commandArguments.get("action") + , (Integer) + commandArguments.get("direction") + , (Integer) + commandArguments.get("time") + , (Integer) + commandArguments.get("startHue") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlcolorLoopSetCommandParams + ); + colorControlClusterInteractionInfoMap.put("colorLoopSet", colorControlcolorLoopSetInteractionInfo); + Map colorControlstopMoveStepCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlstopMoveStepoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlstopMoveStepCommandParams.put("optionsMask",colorControlstopMoveStepoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlstopMoveStepoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlstopMoveStepCommandParams.put("optionsOverride",colorControlstopMoveStepoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlstopMoveStepInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .stopMoveStep((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlstopMoveStepCommandParams + ); + colorControlClusterInteractionInfoMap.put("stopMoveStep", colorControlstopMoveStepInteractionInfo); + Map colorControlmoveColorTemperatureCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlmoveColorTemperaturemoveModeCommandParameterInfo = new CommandParameterInfo("moveMode", Integer.class, Integer.class); + colorControlmoveColorTemperatureCommandParams.put("moveMode",colorControlmoveColorTemperaturemoveModeCommandParameterInfo); + + CommandParameterInfo colorControlmoveColorTemperaturerateCommandParameterInfo = new CommandParameterInfo("rate", Integer.class, Integer.class); + colorControlmoveColorTemperatureCommandParams.put("rate",colorControlmoveColorTemperaturerateCommandParameterInfo); + + CommandParameterInfo colorControlmoveColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo = new CommandParameterInfo("colorTemperatureMinimumMireds", Integer.class, Integer.class); + colorControlmoveColorTemperatureCommandParams.put("colorTemperatureMinimumMireds",colorControlmoveColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo); + + CommandParameterInfo colorControlmoveColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo = new CommandParameterInfo("colorTemperatureMaximumMireds", Integer.class, Integer.class); + colorControlmoveColorTemperatureCommandParams.put("colorTemperatureMaximumMireds",colorControlmoveColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo); + + CommandParameterInfo colorControlmoveColorTemperatureoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlmoveColorTemperatureCommandParams.put("optionsMask",colorControlmoveColorTemperatureoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlmoveColorTemperatureoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlmoveColorTemperatureCommandParams.put("optionsOverride",colorControlmoveColorTemperatureoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlmoveColorTemperatureInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .moveColorTemperature((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("moveMode") + , (Integer) + commandArguments.get("rate") + , (Integer) + commandArguments.get("colorTemperatureMinimumMireds") + , (Integer) + commandArguments.get("colorTemperatureMaximumMireds") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlmoveColorTemperatureCommandParams + ); + colorControlClusterInteractionInfoMap.put("moveColorTemperature", colorControlmoveColorTemperatureInteractionInfo); + Map colorControlstepColorTemperatureCommandParams = new LinkedHashMap(); + CommandParameterInfo colorControlstepColorTemperaturestepModeCommandParameterInfo = new CommandParameterInfo("stepMode", Integer.class, Integer.class); + colorControlstepColorTemperatureCommandParams.put("stepMode",colorControlstepColorTemperaturestepModeCommandParameterInfo); + + CommandParameterInfo colorControlstepColorTemperaturestepSizeCommandParameterInfo = new CommandParameterInfo("stepSize", Integer.class, Integer.class); + colorControlstepColorTemperatureCommandParams.put("stepSize",colorControlstepColorTemperaturestepSizeCommandParameterInfo); + + CommandParameterInfo colorControlstepColorTemperaturetransitionTimeCommandParameterInfo = new CommandParameterInfo("transitionTime", Integer.class, Integer.class); + colorControlstepColorTemperatureCommandParams.put("transitionTime",colorControlstepColorTemperaturetransitionTimeCommandParameterInfo); + + CommandParameterInfo colorControlstepColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo = new CommandParameterInfo("colorTemperatureMinimumMireds", Integer.class, Integer.class); + colorControlstepColorTemperatureCommandParams.put("colorTemperatureMinimumMireds",colorControlstepColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo); + + CommandParameterInfo colorControlstepColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo = new CommandParameterInfo("colorTemperatureMaximumMireds", Integer.class, Integer.class); + colorControlstepColorTemperatureCommandParams.put("colorTemperatureMaximumMireds",colorControlstepColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo); + + CommandParameterInfo colorControlstepColorTemperatureoptionsMaskCommandParameterInfo = new CommandParameterInfo("optionsMask", Integer.class, Integer.class); + colorControlstepColorTemperatureCommandParams.put("optionsMask",colorControlstepColorTemperatureoptionsMaskCommandParameterInfo); + + CommandParameterInfo colorControlstepColorTemperatureoptionsOverrideCommandParameterInfo = new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); + colorControlstepColorTemperatureCommandParams.put("optionsOverride",colorControlstepColorTemperatureoptionsOverrideCommandParameterInfo); + + InteractionInfo colorControlstepColorTemperatureInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .stepColorTemperature((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("stepMode") + , (Integer) + commandArguments.get("stepSize") + , (Integer) + commandArguments.get("transitionTime") + , (Integer) + commandArguments.get("colorTemperatureMinimumMireds") + , (Integer) + commandArguments.get("colorTemperatureMaximumMireds") + , (Integer) + commandArguments.get("optionsMask") + , (Integer) + commandArguments.get("optionsOverride") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + colorControlstepColorTemperatureCommandParams + ); + colorControlClusterInteractionInfoMap.put("stepColorTemperature", colorControlstepColorTemperatureInteractionInfo); + commandMap.put("colorControl", colorControlClusterInteractionInfoMap); + Map ballastConfigurationClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("ballastConfiguration", ballastConfigurationClusterInteractionInfoMap); + Map illuminanceMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("illuminanceMeasurement", illuminanceMeasurementClusterInteractionInfoMap); + Map temperatureMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("temperatureMeasurement", temperatureMeasurementClusterInteractionInfoMap); + Map pressureMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("pressureMeasurement", pressureMeasurementClusterInteractionInfoMap); + Map flowMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("flowMeasurement", flowMeasurementClusterInteractionInfoMap); + Map relativeHumidityMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("relativeHumidityMeasurement", relativeHumidityMeasurementClusterInteractionInfoMap); + Map occupancySensingClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("occupancySensing", occupancySensingClusterInteractionInfoMap); + Map carbonMonoxideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("carbonMonoxideConcentrationMeasurement", carbonMonoxideConcentrationMeasurementClusterInteractionInfoMap); + Map carbonDioxideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("carbonDioxideConcentrationMeasurement", carbonDioxideConcentrationMeasurementClusterInteractionInfoMap); + Map ethyleneConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("ethyleneConcentrationMeasurement", ethyleneConcentrationMeasurementClusterInteractionInfoMap); + Map ethyleneOxideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("ethyleneOxideConcentrationMeasurement", ethyleneOxideConcentrationMeasurementClusterInteractionInfoMap); + Map hydrogenConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("hydrogenConcentrationMeasurement", hydrogenConcentrationMeasurementClusterInteractionInfoMap); + Map hydrogenSulfideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("hydrogenSulfideConcentrationMeasurement", hydrogenSulfideConcentrationMeasurementClusterInteractionInfoMap); + Map nitricOxideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("nitricOxideConcentrationMeasurement", nitricOxideConcentrationMeasurementClusterInteractionInfoMap); + Map nitrogenDioxideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("nitrogenDioxideConcentrationMeasurement", nitrogenDioxideConcentrationMeasurementClusterInteractionInfoMap); + Map oxygenConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("oxygenConcentrationMeasurement", oxygenConcentrationMeasurementClusterInteractionInfoMap); + Map ozoneConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("ozoneConcentrationMeasurement", ozoneConcentrationMeasurementClusterInteractionInfoMap); + Map sulfurDioxideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("sulfurDioxideConcentrationMeasurement", sulfurDioxideConcentrationMeasurementClusterInteractionInfoMap); + Map dissolvedOxygenConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("dissolvedOxygenConcentrationMeasurement", dissolvedOxygenConcentrationMeasurementClusterInteractionInfoMap); + Map bromateConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("bromateConcentrationMeasurement", bromateConcentrationMeasurementClusterInteractionInfoMap); + Map chloraminesConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("chloraminesConcentrationMeasurement", chloraminesConcentrationMeasurementClusterInteractionInfoMap); + Map chlorineConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("chlorineConcentrationMeasurement", chlorineConcentrationMeasurementClusterInteractionInfoMap); + Map fecalColiformEColiConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("fecalColiformEColiConcentrationMeasurement", fecalColiformEColiConcentrationMeasurementClusterInteractionInfoMap); + Map fluorideConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("fluorideConcentrationMeasurement", fluorideConcentrationMeasurementClusterInteractionInfoMap); + Map haloaceticAcidsConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("haloaceticAcidsConcentrationMeasurement", haloaceticAcidsConcentrationMeasurementClusterInteractionInfoMap); + Map totalTrihalomethanesConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("totalTrihalomethanesConcentrationMeasurement", totalTrihalomethanesConcentrationMeasurementClusterInteractionInfoMap); + Map totalColiformBacteriaConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("totalColiformBacteriaConcentrationMeasurement", totalColiformBacteriaConcentrationMeasurementClusterInteractionInfoMap); + Map turbidityConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("turbidityConcentrationMeasurement", turbidityConcentrationMeasurementClusterInteractionInfoMap); + Map copperConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("copperConcentrationMeasurement", copperConcentrationMeasurementClusterInteractionInfoMap); + Map leadConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("leadConcentrationMeasurement", leadConcentrationMeasurementClusterInteractionInfoMap); + Map manganeseConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("manganeseConcentrationMeasurement", manganeseConcentrationMeasurementClusterInteractionInfoMap); + Map sulfateConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("sulfateConcentrationMeasurement", sulfateConcentrationMeasurementClusterInteractionInfoMap); + Map bromodichloromethaneConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("bromodichloromethaneConcentrationMeasurement", bromodichloromethaneConcentrationMeasurementClusterInteractionInfoMap); + Map bromoformConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("bromoformConcentrationMeasurement", bromoformConcentrationMeasurementClusterInteractionInfoMap); + Map chlorodibromomethaneConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("chlorodibromomethaneConcentrationMeasurement", chlorodibromomethaneConcentrationMeasurementClusterInteractionInfoMap); + Map chloroformConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("chloroformConcentrationMeasurement", chloroformConcentrationMeasurementClusterInteractionInfoMap); + Map sodiumConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("sodiumConcentrationMeasurement", sodiumConcentrationMeasurementClusterInteractionInfoMap); + Map pm25ConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("pm25ConcentrationMeasurement", pm25ConcentrationMeasurementClusterInteractionInfoMap); + Map formaldehydeConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("formaldehydeConcentrationMeasurement", formaldehydeConcentrationMeasurementClusterInteractionInfoMap); + Map pm1ConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("pm1ConcentrationMeasurement", pm1ConcentrationMeasurementClusterInteractionInfoMap); + Map pm10ConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("pm10ConcentrationMeasurement", pm10ConcentrationMeasurementClusterInteractionInfoMap); + Map totalVolatileOrganicCompoundsConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("totalVolatileOrganicCompoundsConcentrationMeasurement", totalVolatileOrganicCompoundsConcentrationMeasurementClusterInteractionInfoMap); + Map radonConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("radonConcentrationMeasurement", radonConcentrationMeasurementClusterInteractionInfoMap); + Map wakeOnLanClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("wakeOnLan", wakeOnLanClusterInteractionInfoMap); + Map channelClusterInteractionInfoMap = new LinkedHashMap<>(); + Map channelchangeChannelCommandParams = new LinkedHashMap(); + CommandParameterInfo channelchangeChannelmatchCommandParameterInfo = new CommandParameterInfo("match", String.class, String.class); + channelchangeChannelCommandParams.put("match",channelchangeChannelmatchCommandParameterInfo); + + InteractionInfo channelchangeChannelInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .changeChannel((ChipClusters.ChannelCluster.ChangeChannelResponseCallback) callback + , (String) + commandArguments.get("match") + + ); + }, + () -> new DelegatedChannelClusterChangeChannelResponseCallback(), + channelchangeChannelCommandParams + ); + channelClusterInteractionInfoMap.put("changeChannel", channelchangeChannelInteractionInfo); + Map channelchangeChannelByNumberCommandParams = new LinkedHashMap(); + CommandParameterInfo channelchangeChannelByNumbermajorNumberCommandParameterInfo = new CommandParameterInfo("majorNumber", Integer.class, Integer.class); + channelchangeChannelByNumberCommandParams.put("majorNumber",channelchangeChannelByNumbermajorNumberCommandParameterInfo); + + CommandParameterInfo channelchangeChannelByNumberminorNumberCommandParameterInfo = new CommandParameterInfo("minorNumber", Integer.class, Integer.class); + channelchangeChannelByNumberCommandParams.put("minorNumber",channelchangeChannelByNumberminorNumberCommandParameterInfo); + + InteractionInfo channelchangeChannelByNumberInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .changeChannelByNumber((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("majorNumber") + , (Integer) + commandArguments.get("minorNumber") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + channelchangeChannelByNumberCommandParams + ); + channelClusterInteractionInfoMap.put("changeChannelByNumber", channelchangeChannelByNumberInteractionInfo); + Map channelskipChannelCommandParams = new LinkedHashMap(); + CommandParameterInfo channelskipChannelcountCommandParameterInfo = new CommandParameterInfo("count", Integer.class, Integer.class); + channelskipChannelCommandParams.put("count",channelskipChannelcountCommandParameterInfo); + + InteractionInfo channelskipChannelInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ChannelCluster) cluster) + .skipChannel((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("count") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + channelskipChannelCommandParams + ); + channelClusterInteractionInfoMap.put("skipChannel", channelskipChannelInteractionInfo); + commandMap.put("channel", channelClusterInteractionInfoMap); + Map targetNavigatorClusterInteractionInfoMap = new LinkedHashMap<>(); + Map targetNavigatornavigateTargetCommandParams = new LinkedHashMap(); + CommandParameterInfo targetNavigatornavigateTargettargetCommandParameterInfo = new CommandParameterInfo("target", Integer.class, Integer.class); + targetNavigatornavigateTargetCommandParams.put("target",targetNavigatornavigateTargettargetCommandParameterInfo); + + CommandParameterInfo targetNavigatornavigateTargetdataCommandParameterInfo = new CommandParameterInfo("data", Optional.class, String.class); + targetNavigatornavigateTargetCommandParams.put("data",targetNavigatornavigateTargetdataCommandParameterInfo); + + InteractionInfo targetNavigatornavigateTargetInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TargetNavigatorCluster) cluster) + .navigateTarget((ChipClusters.TargetNavigatorCluster.NavigateTargetResponseCallback) callback + , (Integer) + commandArguments.get("target") + , (Optional) + commandArguments.get("data") + + ); + }, + () -> new DelegatedTargetNavigatorClusterNavigateTargetResponseCallback(), + targetNavigatornavigateTargetCommandParams + ); + targetNavigatorClusterInteractionInfoMap.put("navigateTarget", targetNavigatornavigateTargetInteractionInfo); + commandMap.put("targetNavigator", targetNavigatorClusterInteractionInfoMap); + Map mediaPlaybackClusterInteractionInfoMap = new LinkedHashMap<>(); + Map mediaPlaybackplayCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybackplayInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .play((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackplayCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("play", mediaPlaybackplayInteractionInfo); + Map mediaPlaybackpauseCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybackpauseInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .pause((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackpauseCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("pause", mediaPlaybackpauseInteractionInfo); + Map mediaPlaybackstopCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybackstopInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .stop((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackstopCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("stop", mediaPlaybackstopInteractionInfo); + Map mediaPlaybackstartOverCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybackstartOverInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .startOver((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackstartOverCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("startOver", mediaPlaybackstartOverInteractionInfo); + Map mediaPlaybackpreviousCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybackpreviousInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .previous((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackpreviousCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("previous", mediaPlaybackpreviousInteractionInfo); + Map mediaPlaybacknextCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybacknextInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .next((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybacknextCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("next", mediaPlaybacknextInteractionInfo); + Map mediaPlaybackrewindCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybackrewindInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .rewind((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackrewindCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("rewind", mediaPlaybackrewindInteractionInfo); + Map mediaPlaybackfastForwardCommandParams = new LinkedHashMap(); + InteractionInfo mediaPlaybackfastForwardInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .fastForward((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackfastForwardCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("fastForward", mediaPlaybackfastForwardInteractionInfo); + Map mediaPlaybackskipForwardCommandParams = new LinkedHashMap(); + CommandParameterInfo mediaPlaybackskipForwarddeltaPositionMillisecondsCommandParameterInfo = new CommandParameterInfo("deltaPositionMilliseconds", Long.class, Long.class); + mediaPlaybackskipForwardCommandParams.put("deltaPositionMilliseconds",mediaPlaybackskipForwarddeltaPositionMillisecondsCommandParameterInfo); + + InteractionInfo mediaPlaybackskipForwardInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .skipForward((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + , (Long) + commandArguments.get("deltaPositionMilliseconds") + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackskipForwardCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("skipForward", mediaPlaybackskipForwardInteractionInfo); + Map mediaPlaybackskipBackwardCommandParams = new LinkedHashMap(); + CommandParameterInfo mediaPlaybackskipBackwarddeltaPositionMillisecondsCommandParameterInfo = new CommandParameterInfo("deltaPositionMilliseconds", Long.class, Long.class); + mediaPlaybackskipBackwardCommandParams.put("deltaPositionMilliseconds",mediaPlaybackskipBackwarddeltaPositionMillisecondsCommandParameterInfo); + + InteractionInfo mediaPlaybackskipBackwardInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .skipBackward((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + , (Long) + commandArguments.get("deltaPositionMilliseconds") + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackskipBackwardCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("skipBackward", mediaPlaybackskipBackwardInteractionInfo); + Map mediaPlaybackseekCommandParams = new LinkedHashMap(); + CommandParameterInfo mediaPlaybackseekpositionCommandParameterInfo = new CommandParameterInfo("position", Long.class, Long.class); + mediaPlaybackseekCommandParams.put("position",mediaPlaybackseekpositionCommandParameterInfo); + + InteractionInfo mediaPlaybackseekInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaPlaybackCluster) cluster) + .seek((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback + , (Long) + commandArguments.get("position") + + ); + }, + () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), + mediaPlaybackseekCommandParams + ); + mediaPlaybackClusterInteractionInfoMap.put("seek", mediaPlaybackseekInteractionInfo); + commandMap.put("mediaPlayback", mediaPlaybackClusterInteractionInfoMap); + Map mediaInputClusterInteractionInfoMap = new LinkedHashMap<>(); + Map mediaInputselectInputCommandParams = new LinkedHashMap(); + CommandParameterInfo mediaInputselectInputindexCommandParameterInfo = new CommandParameterInfo("index", Integer.class, Integer.class); + mediaInputselectInputCommandParams.put("index",mediaInputselectInputindexCommandParameterInfo); + + InteractionInfo mediaInputselectInputInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .selectInput((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("index") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + mediaInputselectInputCommandParams + ); + mediaInputClusterInteractionInfoMap.put("selectInput", mediaInputselectInputInteractionInfo); + Map mediaInputshowInputStatusCommandParams = new LinkedHashMap(); + InteractionInfo mediaInputshowInputStatusInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .showInputStatus((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + mediaInputshowInputStatusCommandParams + ); + mediaInputClusterInteractionInfoMap.put("showInputStatus", mediaInputshowInputStatusInteractionInfo); + Map mediaInputhideInputStatusCommandParams = new LinkedHashMap(); + InteractionInfo mediaInputhideInputStatusInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .hideInputStatus((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + mediaInputhideInputStatusCommandParams + ); + mediaInputClusterInteractionInfoMap.put("hideInputStatus", mediaInputhideInputStatusInteractionInfo); + Map mediaInputrenameInputCommandParams = new LinkedHashMap(); + CommandParameterInfo mediaInputrenameInputindexCommandParameterInfo = new CommandParameterInfo("index", Integer.class, Integer.class); + mediaInputrenameInputCommandParams.put("index",mediaInputrenameInputindexCommandParameterInfo); + + CommandParameterInfo mediaInputrenameInputnameCommandParameterInfo = new CommandParameterInfo("name", String.class, String.class); + mediaInputrenameInputCommandParams.put("name",mediaInputrenameInputnameCommandParameterInfo); + + InteractionInfo mediaInputrenameInputInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.MediaInputCluster) cluster) + .renameInput((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("index") + , (String) + commandArguments.get("name") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + mediaInputrenameInputCommandParams + ); + mediaInputClusterInteractionInfoMap.put("renameInput", mediaInputrenameInputInteractionInfo); + commandMap.put("mediaInput", mediaInputClusterInteractionInfoMap); + Map lowPowerClusterInteractionInfoMap = new LinkedHashMap<>(); + Map lowPowersleepCommandParams = new LinkedHashMap(); + InteractionInfo lowPowersleepInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LowPowerCluster) cluster) + .sleep((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + lowPowersleepCommandParams + ); + lowPowerClusterInteractionInfoMap.put("sleep", lowPowersleepInteractionInfo); + commandMap.put("lowPower", lowPowerClusterInteractionInfoMap); + Map keypadInputClusterInteractionInfoMap = new LinkedHashMap<>(); + Map keypadInputsendKeyCommandParams = new LinkedHashMap(); + CommandParameterInfo keypadInputsendKeykeyCodeCommandParameterInfo = new CommandParameterInfo("keyCode", Integer.class, Integer.class); + keypadInputsendKeyCommandParams.put("keyCode",keypadInputsendKeykeyCodeCommandParameterInfo); + + InteractionInfo keypadInputsendKeyInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.KeypadInputCluster) cluster) + .sendKey((ChipClusters.KeypadInputCluster.SendKeyResponseCallback) callback + , (Integer) + commandArguments.get("keyCode") + + ); + }, + () -> new DelegatedKeypadInputClusterSendKeyResponseCallback(), + keypadInputsendKeyCommandParams + ); + keypadInputClusterInteractionInfoMap.put("sendKey", keypadInputsendKeyInteractionInfo); + commandMap.put("keypadInput", keypadInputClusterInteractionInfoMap); + Map contentLauncherClusterInteractionInfoMap = new LinkedHashMap<>(); + Map contentLauncherlaunchContentCommandParams = new LinkedHashMap(); + CommandParameterInfo contentLauncherlaunchContentautoPlayCommandParameterInfo = new CommandParameterInfo("autoPlay", Boolean.class, Boolean.class); + contentLauncherlaunchContentCommandParams.put("autoPlay",contentLauncherlaunchContentautoPlayCommandParameterInfo); + + CommandParameterInfo contentLauncherlaunchContentdataCommandParameterInfo = new CommandParameterInfo("data", Optional.class, String.class); + contentLauncherlaunchContentCommandParams.put("data",contentLauncherlaunchContentdataCommandParameterInfo); + + InteractionInfo contentLauncherlaunchContentInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .launchContent((ChipClusters.ContentLauncherCluster.LauncherResponseCallback) callback + , (ChipStructs.ContentLauncherClusterContentSearchStruct) + commandArguments.get("search") + , (Boolean) + commandArguments.get("autoPlay") + , (Optional) + commandArguments.get("data") + + ); + }, + () -> new DelegatedContentLauncherClusterLauncherResponseCallback(), + contentLauncherlaunchContentCommandParams + ); + contentLauncherClusterInteractionInfoMap.put("launchContent", contentLauncherlaunchContentInteractionInfo); + Map contentLauncherlaunchURLCommandParams = new LinkedHashMap(); + CommandParameterInfo contentLauncherlaunchURLcontentURLCommandParameterInfo = new CommandParameterInfo("contentURL", String.class, String.class); + contentLauncherlaunchURLCommandParams.put("contentURL",contentLauncherlaunchURLcontentURLCommandParameterInfo); + + CommandParameterInfo contentLauncherlaunchURLdisplayStringCommandParameterInfo = new CommandParameterInfo("displayString", Optional.class, String.class); + contentLauncherlaunchURLCommandParams.put("displayString",contentLauncherlaunchURLdisplayStringCommandParameterInfo); + + InteractionInfo contentLauncherlaunchURLInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .launchURL((ChipClusters.ContentLauncherCluster.LauncherResponseCallback) callback + , (String) + commandArguments.get("contentURL") + , (Optional) + commandArguments.get("displayString") + , (Optional) + commandArguments.get("brandingInformation") + + ); + }, + () -> new DelegatedContentLauncherClusterLauncherResponseCallback(), + contentLauncherlaunchURLCommandParams + ); + contentLauncherClusterInteractionInfoMap.put("launchURL", contentLauncherlaunchURLInteractionInfo); + commandMap.put("contentLauncher", contentLauncherClusterInteractionInfoMap); + Map audioOutputClusterInteractionInfoMap = new LinkedHashMap<>(); + Map audioOutputselectOutputCommandParams = new LinkedHashMap(); + CommandParameterInfo audioOutputselectOutputindexCommandParameterInfo = new CommandParameterInfo("index", Integer.class, Integer.class); + audioOutputselectOutputCommandParams.put("index",audioOutputselectOutputindexCommandParameterInfo); + + InteractionInfo audioOutputselectOutputInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .selectOutput((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("index") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + audioOutputselectOutputCommandParams + ); + audioOutputClusterInteractionInfoMap.put("selectOutput", audioOutputselectOutputInteractionInfo); + Map audioOutputrenameOutputCommandParams = new LinkedHashMap(); + CommandParameterInfo audioOutputrenameOutputindexCommandParameterInfo = new CommandParameterInfo("index", Integer.class, Integer.class); + audioOutputrenameOutputCommandParams.put("index",audioOutputrenameOutputindexCommandParameterInfo); + + CommandParameterInfo audioOutputrenameOutputnameCommandParameterInfo = new CommandParameterInfo("name", String.class, String.class); + audioOutputrenameOutputCommandParams.put("name",audioOutputrenameOutputnameCommandParameterInfo); + + InteractionInfo audioOutputrenameOutputInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AudioOutputCluster) cluster) + .renameOutput((DefaultClusterCallback) callback + , (Integer) + commandArguments.get("index") + , (String) + commandArguments.get("name") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + audioOutputrenameOutputCommandParams + ); + audioOutputClusterInteractionInfoMap.put("renameOutput", audioOutputrenameOutputInteractionInfo); + commandMap.put("audioOutput", audioOutputClusterInteractionInfoMap); + Map applicationLauncherClusterInteractionInfoMap = new LinkedHashMap<>(); + Map applicationLauncherlaunchAppCommandParams = new LinkedHashMap(); + CommandParameterInfo applicationLauncherlaunchAppdataCommandParameterInfo = new CommandParameterInfo("data", Optional.class, byte[].class); + applicationLauncherlaunchAppCommandParams.put("data",applicationLauncherlaunchAppdataCommandParameterInfo); + + InteractionInfo applicationLauncherlaunchAppInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .launchApp((ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback) callback + , (Optional) + commandArguments.get("application") + , (Optional) + commandArguments.get("data") + + ); + }, + () -> new DelegatedApplicationLauncherClusterLauncherResponseCallback(), + applicationLauncherlaunchAppCommandParams + ); + applicationLauncherClusterInteractionInfoMap.put("launchApp", applicationLauncherlaunchAppInteractionInfo); + Map applicationLauncherstopAppCommandParams = new LinkedHashMap(); + InteractionInfo applicationLauncherstopAppInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .stopApp((ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback) callback + , (Optional) + commandArguments.get("application") + + ); + }, + () -> new DelegatedApplicationLauncherClusterLauncherResponseCallback(), + applicationLauncherstopAppCommandParams + ); + applicationLauncherClusterInteractionInfoMap.put("stopApp", applicationLauncherstopAppInteractionInfo); + Map applicationLauncherhideAppCommandParams = new LinkedHashMap(); + InteractionInfo applicationLauncherhideAppInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ApplicationLauncherCluster) cluster) + .hideApp((ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback) callback + , (Optional) + commandArguments.get("application") + + ); + }, + () -> new DelegatedApplicationLauncherClusterLauncherResponseCallback(), + applicationLauncherhideAppCommandParams + ); + applicationLauncherClusterInteractionInfoMap.put("hideApp", applicationLauncherhideAppInteractionInfo); + commandMap.put("applicationLauncher", applicationLauncherClusterInteractionInfoMap); + Map applicationBasicClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("applicationBasic", applicationBasicClusterInteractionInfoMap); + Map accountLoginClusterInteractionInfoMap = new LinkedHashMap<>(); + Map accountLogingetSetupPINCommandParams = new LinkedHashMap(); + CommandParameterInfo accountLogingetSetupPINtempAccountIdentifierCommandParameterInfo = new CommandParameterInfo("tempAccountIdentifier", String.class, String.class); + accountLogingetSetupPINCommandParams.put("tempAccountIdentifier",accountLogingetSetupPINtempAccountIdentifierCommandParameterInfo); + + InteractionInfo accountLogingetSetupPINInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .getSetupPIN((ChipClusters.AccountLoginCluster.GetSetupPINResponseCallback) callback + , (String) + commandArguments.get("tempAccountIdentifier") + , 10000 + ); + }, + () -> new DelegatedAccountLoginClusterGetSetupPINResponseCallback(), + accountLogingetSetupPINCommandParams + ); + accountLoginClusterInteractionInfoMap.put("getSetupPIN", accountLogingetSetupPINInteractionInfo); + Map accountLoginloginCommandParams = new LinkedHashMap(); + CommandParameterInfo accountLoginlogintempAccountIdentifierCommandParameterInfo = new CommandParameterInfo("tempAccountIdentifier", String.class, String.class); + accountLoginloginCommandParams.put("tempAccountIdentifier",accountLoginlogintempAccountIdentifierCommandParameterInfo); + + CommandParameterInfo accountLoginloginsetupPINCommandParameterInfo = new CommandParameterInfo("setupPIN", String.class, String.class); + accountLoginloginCommandParams.put("setupPIN",accountLoginloginsetupPINCommandParameterInfo); + + InteractionInfo accountLoginloginInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .login((DefaultClusterCallback) callback + , (String) + commandArguments.get("tempAccountIdentifier") + , (String) + commandArguments.get("setupPIN") + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + accountLoginloginCommandParams + ); + accountLoginClusterInteractionInfoMap.put("login", accountLoginloginInteractionInfo); + Map accountLoginlogoutCommandParams = new LinkedHashMap(); + InteractionInfo accountLoginlogoutInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.AccountLoginCluster) cluster) + .logout((DefaultClusterCallback) callback + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + accountLoginlogoutCommandParams + ); + accountLoginClusterInteractionInfoMap.put("logout", accountLoginlogoutInteractionInfo); + commandMap.put("accountLogin", accountLoginClusterInteractionInfoMap); + Map electricalMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("electricalMeasurement", electricalMeasurementClusterInteractionInfoMap); + Map unitTestingClusterInteractionInfoMap = new LinkedHashMap<>(); + Map unitTestingtestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .test((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + unitTestingtestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("test", unitTestingtestInteractionInfo); + Map unitTestingtestNotHandledCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestNotHandledInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testNotHandled((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + unitTestingtestNotHandledCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testNotHandled", unitTestingtestNotHandledInteractionInfo); + Map unitTestingtestSpecificCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestSpecificInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testSpecific((ChipClusters.UnitTestingCluster.TestSpecificResponseCallback) callback + + ); + }, + () -> new DelegatedUnitTestingClusterTestSpecificResponseCallback(), + unitTestingtestSpecificCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testSpecific", unitTestingtestSpecificInteractionInfo); + Map unitTestingtestUnknownCommandCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestUnknownCommandInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testUnknownCommand((DefaultClusterCallback) callback + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + unitTestingtestUnknownCommandCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testUnknownCommand", unitTestingtestUnknownCommandInteractionInfo); + Map unitTestingtestAddArgumentsCommandParams = new LinkedHashMap(); + CommandParameterInfo unitTestingtestAddArgumentsarg1CommandParameterInfo = new CommandParameterInfo("arg1", Integer.class, Integer.class); + unitTestingtestAddArgumentsCommandParams.put("arg1",unitTestingtestAddArgumentsarg1CommandParameterInfo); + + CommandParameterInfo unitTestingtestAddArgumentsarg2CommandParameterInfo = new CommandParameterInfo("arg2", Integer.class, Integer.class); + unitTestingtestAddArgumentsCommandParams.put("arg2",unitTestingtestAddArgumentsarg2CommandParameterInfo); + + InteractionInfo unitTestingtestAddArgumentsInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testAddArguments((ChipClusters.UnitTestingCluster.TestAddArgumentsResponseCallback) callback + , (Integer) + commandArguments.get("arg1") + , (Integer) + commandArguments.get("arg2") + + ); + }, + () -> new DelegatedUnitTestingClusterTestAddArgumentsResponseCallback(), + unitTestingtestAddArgumentsCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testAddArguments", unitTestingtestAddArgumentsInteractionInfo); + Map unitTestingtestStructArgumentRequestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestStructArgumentRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testStructArgumentRequest((ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback + , (ChipStructs.UnitTestingClusterSimpleStruct) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), + unitTestingtestStructArgumentRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testStructArgumentRequest", unitTestingtestStructArgumentRequestInteractionInfo); + Map unitTestingtestNestedStructArgumentRequestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestNestedStructArgumentRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testNestedStructArgumentRequest((ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback + , (ChipStructs.UnitTestingClusterNestedStruct) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), + unitTestingtestNestedStructArgumentRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testNestedStructArgumentRequest", unitTestingtestNestedStructArgumentRequestInteractionInfo); + Map unitTestingtestListStructArgumentRequestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestListStructArgumentRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testListStructArgumentRequest((ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback + , (ArrayList) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), + unitTestingtestListStructArgumentRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testListStructArgumentRequest", unitTestingtestListStructArgumentRequestInteractionInfo); + Map unitTestingtestListInt8UArgumentRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo unitTestingtestListInt8UArgumentRequestarg1CommandParameterInfo = new CommandParameterInfo("arg1", ArrayList.class, Integer.class); + unitTestingtestListInt8UArgumentRequestCommandParams.put("arg1",unitTestingtestListInt8UArgumentRequestarg1CommandParameterInfo); + + InteractionInfo unitTestingtestListInt8UArgumentRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testListInt8UArgumentRequest((ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback + , (ArrayList) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), + unitTestingtestListInt8UArgumentRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testListInt8UArgumentRequest", unitTestingtestListInt8UArgumentRequestInteractionInfo); + Map unitTestingtestNestedStructListArgumentRequestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestNestedStructListArgumentRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testNestedStructListArgumentRequest((ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback + , (ChipStructs.UnitTestingClusterNestedStructList) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), + unitTestingtestNestedStructListArgumentRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testNestedStructListArgumentRequest", unitTestingtestNestedStructListArgumentRequestInteractionInfo); + Map unitTestingtestListNestedStructListArgumentRequestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtestListNestedStructListArgumentRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testListNestedStructListArgumentRequest((ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback + , (ArrayList) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), + unitTestingtestListNestedStructListArgumentRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testListNestedStructListArgumentRequest", unitTestingtestListNestedStructListArgumentRequestInteractionInfo); + Map unitTestingtestListInt8UReverseRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo unitTestingtestListInt8UReverseRequestarg1CommandParameterInfo = new CommandParameterInfo("arg1", ArrayList.class, Integer.class); + unitTestingtestListInt8UReverseRequestCommandParams.put("arg1",unitTestingtestListInt8UReverseRequestarg1CommandParameterInfo); + + InteractionInfo unitTestingtestListInt8UReverseRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testListInt8UReverseRequest((ChipClusters.UnitTestingCluster.TestListInt8UReverseResponseCallback) callback + , (ArrayList) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterTestListInt8UReverseResponseCallback(), + unitTestingtestListInt8UReverseRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testListInt8UReverseRequest", unitTestingtestListInt8UReverseRequestInteractionInfo); + Map unitTestingtestEnumsRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo unitTestingtestEnumsRequestarg1CommandParameterInfo = new CommandParameterInfo("arg1", Integer.class, Integer.class); + unitTestingtestEnumsRequestCommandParams.put("arg1",unitTestingtestEnumsRequestarg1CommandParameterInfo); + + CommandParameterInfo unitTestingtestEnumsRequestarg2CommandParameterInfo = new CommandParameterInfo("arg2", Integer.class, Integer.class); + unitTestingtestEnumsRequestCommandParams.put("arg2",unitTestingtestEnumsRequestarg2CommandParameterInfo); + + InteractionInfo unitTestingtestEnumsRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testEnumsRequest((ChipClusters.UnitTestingCluster.TestEnumsResponseCallback) callback + , (Integer) + commandArguments.get("arg1") + , (Integer) + commandArguments.get("arg2") + + ); + }, + () -> new DelegatedUnitTestingClusterTestEnumsResponseCallback(), + unitTestingtestEnumsRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testEnumsRequest", unitTestingtestEnumsRequestInteractionInfo); + Map unitTestingtestNullableOptionalRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo unitTestingtestNullableOptionalRequestarg1CommandParameterInfo = new CommandParameterInfo("arg1", Optional.class, Integer.class); + unitTestingtestNullableOptionalRequestCommandParams.put("arg1",unitTestingtestNullableOptionalRequestarg1CommandParameterInfo); + + InteractionInfo unitTestingtestNullableOptionalRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testNullableOptionalRequest((ChipClusters.UnitTestingCluster.TestNullableOptionalResponseCallback) callback + , (Optional) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterTestNullableOptionalResponseCallback(), + unitTestingtestNullableOptionalRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testNullableOptionalRequest", unitTestingtestNullableOptionalRequestInteractionInfo); + Map unitTestingsimpleStructEchoRequestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingsimpleStructEchoRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .simpleStructEchoRequest((ChipClusters.UnitTestingCluster.SimpleStructResponseCallback) callback + , (ChipStructs.UnitTestingClusterSimpleStruct) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedUnitTestingClusterSimpleStructResponseCallback(), + unitTestingsimpleStructEchoRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("simpleStructEchoRequest", unitTestingsimpleStructEchoRequestInteractionInfo); + Map unitTestingtimedInvokeRequestCommandParams = new LinkedHashMap(); + InteractionInfo unitTestingtimedInvokeRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .timedInvokeRequest((DefaultClusterCallback) callback + , 10000 + ); + }, + () -> new DelegatedDefaultClusterCallback(), + unitTestingtimedInvokeRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("timedInvokeRequest", unitTestingtimedInvokeRequestInteractionInfo); + Map unitTestingtestSimpleOptionalArgumentRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo unitTestingtestSimpleOptionalArgumentRequestarg1CommandParameterInfo = new CommandParameterInfo("arg1", Optional.class, Boolean.class); + unitTestingtestSimpleOptionalArgumentRequestCommandParams.put("arg1",unitTestingtestSimpleOptionalArgumentRequestarg1CommandParameterInfo); + + InteractionInfo unitTestingtestSimpleOptionalArgumentRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testSimpleOptionalArgumentRequest((DefaultClusterCallback) callback + , (Optional) + commandArguments.get("arg1") + + ); + }, + () -> new DelegatedDefaultClusterCallback(), + unitTestingtestSimpleOptionalArgumentRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testSimpleOptionalArgumentRequest", unitTestingtestSimpleOptionalArgumentRequestInteractionInfo); + Map unitTestingtestEmitTestEventRequestCommandParams = new LinkedHashMap(); + CommandParameterInfo unitTestingtestEmitTestEventRequestarg1CommandParameterInfo = new CommandParameterInfo("arg1", Integer.class, Integer.class); + unitTestingtestEmitTestEventRequestCommandParams.put("arg1",unitTestingtestEmitTestEventRequestarg1CommandParameterInfo); + + CommandParameterInfo unitTestingtestEmitTestEventRequestarg2CommandParameterInfo = new CommandParameterInfo("arg2", Integer.class, Integer.class); + unitTestingtestEmitTestEventRequestCommandParams.put("arg2",unitTestingtestEmitTestEventRequestarg2CommandParameterInfo); + + CommandParameterInfo unitTestingtestEmitTestEventRequestarg3CommandParameterInfo = new CommandParameterInfo("arg3", Boolean.class, Boolean.class); + unitTestingtestEmitTestEventRequestCommandParams.put("arg3",unitTestingtestEmitTestEventRequestarg3CommandParameterInfo); + + InteractionInfo unitTestingtestEmitTestEventRequestInteractionInfo = new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .testEmitTestEventRequest((ChipClusters.UnitTestingCluster.TestEmitTestEventResponseCallback) callback + , (Integer) + commandArguments.get("arg1") + , (Integer) + commandArguments.get("arg2") + , (Boolean) + commandArguments.get("arg3") + + ); + }, + () -> new DelegatedUnitTestingClusterTestEmitTestEventResponseCallback(), + unitTestingtestEmitTestEventRequestCommandParams + ); + unitTestingClusterInteractionInfoMap.put("testEmitTestEventRequest", unitTestingtestEmitTestEventRequestInteractionInfo); + commandMap.put("unitTesting", unitTestingClusterInteractionInfoMap); + Map faultInjectionClusterInteractionInfoMap = new LinkedHashMap<>(); + commandMap.put("faultInjection", faultInjectionClusterInteractionInfoMap); + return commandMap; } - public static class DelegatedScenesClusterViewSceneResponseCallback - implements ChipClusters.ScenesCluster.ViewSceneResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer Status, - Integer GroupID, - Integer SceneID, - Optional TransitionTime, - Optional SceneName, - Optional> ExtensionFieldSets) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); - responseValues.put(SceneIDResponseValue, SceneID); - CommandResponseInfo TransitionTimeResponseValue = - new CommandResponseInfo("TransitionTime", "Optional"); - responseValues.put(TransitionTimeResponseValue, TransitionTime); - CommandResponseInfo SceneNameResponseValue = - new CommandResponseInfo("SceneName", "Optional"); - responseValues.put(SceneNameResponseValue, SceneName); - // ExtensionFieldSets: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } +} - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedScenesClusterRemoveSceneResponseCallback - implements ChipClusters.ScenesCluster.RemoveSceneResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Integer GroupID, Integer SceneID) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); - responseValues.put(SceneIDResponseValue, SceneID); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedScenesClusterRemoveAllScenesResponseCallback - implements ChipClusters.ScenesCluster.RemoveAllScenesResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Integer GroupID) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedScenesClusterStoreSceneResponseCallback - implements ChipClusters.ScenesCluster.StoreSceneResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Integer GroupID, Integer SceneID) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - CommandResponseInfo SceneIDResponseValue = new CommandResponseInfo("SceneID", "Integer"); - responseValues.put(SceneIDResponseValue, SceneID); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedScenesClusterGetSceneMembershipResponseCallback - implements ChipClusters.ScenesCluster.GetSceneMembershipResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer Status, - @Nullable Integer Capacity, - Integer GroupID, - Optional> SceneList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo CapacityResponseValue = new CommandResponseInfo("Capacity", "Integer"); - responseValues.put(CapacityResponseValue, Capacity); - CommandResponseInfo GroupIDResponseValue = new CommandResponseInfo("GroupID", "Integer"); - responseValues.put(GroupIDResponseValue, GroupID); - // SceneList: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedScenesClusterLastConfiguredByAttributeCallback - implements ChipClusters.ScenesCluster.LastConfiguredByAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedScenesClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ScenesCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedScenesClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ScenesCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedScenesClusterEventListAttributeCallback - implements ChipClusters.ScenesCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedScenesClusterAttributeListAttributeCallback - implements ChipClusters.ScenesCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffClusterStartUpOnOffAttributeCallback - implements ChipClusters.OnOffCluster.StartUpOnOffAttributeCallback, 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 DelegatedOnOffClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OnOffCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OnOffCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffClusterEventListAttributeCallback - implements ChipClusters.OnOffCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffClusterAttributeListAttributeCallback - implements ChipClusters.OnOffCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffSwitchConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OnOffSwitchConfigurationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffSwitchConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OnOffSwitchConfigurationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffSwitchConfigurationClusterEventListAttributeCallback - implements ChipClusters.OnOffSwitchConfigurationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOnOffSwitchConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.OnOffSwitchConfigurationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLevelControlClusterCurrentLevelAttributeCallback - implements ChipClusters.LevelControlCluster.CurrentLevelAttributeCallback, - 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 DelegatedLevelControlClusterOnLevelAttributeCallback - implements ChipClusters.LevelControlCluster.OnLevelAttributeCallback, - 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 DelegatedLevelControlClusterOnTransitionTimeAttributeCallback - implements ChipClusters.LevelControlCluster.OnTransitionTimeAttributeCallback, - 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 DelegatedLevelControlClusterOffTransitionTimeAttributeCallback - implements ChipClusters.LevelControlCluster.OffTransitionTimeAttributeCallback, - 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 DelegatedLevelControlClusterDefaultMoveRateAttributeCallback - implements ChipClusters.LevelControlCluster.DefaultMoveRateAttributeCallback, - 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 DelegatedLevelControlClusterStartUpCurrentLevelAttributeCallback - implements ChipClusters.LevelControlCluster.StartUpCurrentLevelAttributeCallback, - 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 DelegatedLevelControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.LevelControlCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLevelControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.LevelControlCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLevelControlClusterEventListAttributeCallback - implements ChipClusters.LevelControlCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLevelControlClusterAttributeListAttributeCallback - implements ChipClusters.LevelControlCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBinaryInputBasicClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BinaryInputBasicCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBinaryInputBasicClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BinaryInputBasicCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBinaryInputBasicClusterEventListAttributeCallback - implements ChipClusters.BinaryInputBasicCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBinaryInputBasicClusterAttributeListAttributeCallback - implements ChipClusters.BinaryInputBasicCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPulseWidthModulationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PulseWidthModulationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPulseWidthModulationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PulseWidthModulationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPulseWidthModulationClusterEventListAttributeCallback - implements ChipClusters.PulseWidthModulationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPulseWidthModulationClusterAttributeListAttributeCallback - implements ChipClusters.PulseWidthModulationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterDeviceTypeListAttributeCallback - implements ChipClusters.DescriptorCluster.DeviceTypeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterServerListAttributeCallback - implements ChipClusters.DescriptorCluster.ServerListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterClientListAttributeCallback - implements ChipClusters.DescriptorCluster.ClientListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterPartsListAttributeCallback - implements ChipClusters.DescriptorCluster.PartsListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterGeneratedCommandListAttributeCallback - implements ChipClusters.DescriptorCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterAcceptedCommandListAttributeCallback - implements ChipClusters.DescriptorCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterEventListAttributeCallback - implements ChipClusters.DescriptorCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDescriptorClusterAttributeListAttributeCallback - implements ChipClusters.DescriptorCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBindingClusterBindingAttributeCallback - implements ChipClusters.BindingCluster.BindingAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBindingClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BindingCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBindingClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BindingCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBindingClusterEventListAttributeCallback - implements ChipClusters.BindingCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBindingClusterAttributeListAttributeCallback - implements ChipClusters.BindingCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccessControlClusterAclAttributeCallback - implements ChipClusters.AccessControlCluster.AclAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccessControlClusterExtensionAttributeCallback - implements ChipClusters.AccessControlCluster.ExtensionAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccessControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AccessControlCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccessControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AccessControlCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccessControlClusterEventListAttributeCallback - implements ChipClusters.AccessControlCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccessControlClusterAttributeListAttributeCallback - implements ChipClusters.AccessControlCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActionsClusterActionListAttributeCallback - implements ChipClusters.ActionsCluster.ActionListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActionsClusterEndpointListsAttributeCallback - implements ChipClusters.ActionsCluster.EndpointListsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActionsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ActionsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActionsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ActionsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActionsClusterEventListAttributeCallback - implements ChipClusters.ActionsCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActionsClusterAttributeListAttributeCallback - implements ChipClusters.ActionsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBasicInformationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BasicInformationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBasicInformationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BasicInformationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBasicInformationClusterEventListAttributeCallback - implements ChipClusters.BasicInformationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBasicInformationClusterAttributeListAttributeCallback - implements ChipClusters.BasicInformationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateProviderClusterQueryImageResponseCallback - implements ChipClusters.OtaSoftwareUpdateProviderCluster.QueryImageResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer Status, - Optional DelayedActionTime, - Optional ImageURI, - Optional SoftwareVersion, - Optional SoftwareVersionString, - Optional UpdateToken, - Optional UserConsentNeeded, - Optional MetadataForRequestor) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DelayedActionTimeResponseValue = - new CommandResponseInfo("DelayedActionTime", "Optional"); - responseValues.put(DelayedActionTimeResponseValue, DelayedActionTime); - CommandResponseInfo ImageURIResponseValue = - new CommandResponseInfo("ImageURI", "Optional"); - responseValues.put(ImageURIResponseValue, ImageURI); - CommandResponseInfo SoftwareVersionResponseValue = - new CommandResponseInfo("SoftwareVersion", "Optional"); - responseValues.put(SoftwareVersionResponseValue, SoftwareVersion); - CommandResponseInfo SoftwareVersionStringResponseValue = - new CommandResponseInfo("SoftwareVersionString", "Optional"); - responseValues.put(SoftwareVersionStringResponseValue, SoftwareVersionString); - CommandResponseInfo UpdateTokenResponseValue = - new CommandResponseInfo("UpdateToken", "Optional"); - responseValues.put(UpdateTokenResponseValue, UpdateToken); - CommandResponseInfo UserConsentNeededResponseValue = - new CommandResponseInfo("UserConsentNeeded", "Optional"); - responseValues.put(UserConsentNeededResponseValue, UserConsentNeeded); - CommandResponseInfo MetadataForRequestorResponseValue = - new CommandResponseInfo("MetadataForRequestor", "Optional"); - responseValues.put(MetadataForRequestorResponseValue, MetadataForRequestor); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback - implements ChipClusters.OtaSoftwareUpdateProviderCluster.ApplyUpdateResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Action, Long DelayedActionTime) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo ActionResponseValue = new CommandResponseInfo("Action", "Integer"); - responseValues.put(ActionResponseValue, Action); - CommandResponseInfo DelayedActionTimeResponseValue = - new CommandResponseInfo("DelayedActionTime", "Long"); - responseValues.put(DelayedActionTimeResponseValue, DelayedActionTime); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedOtaSoftwareUpdateProviderClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateProviderCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateProviderClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateProviderCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateProviderClusterEventListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateProviderCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateProviderClusterAttributeListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateProviderCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateRequestorClusterDefaultOTAProvidersAttributeCallback - implements ChipClusters.OtaSoftwareUpdateRequestorCluster - .DefaultOTAProvidersAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateRequestorClusterUpdateStateProgressAttributeCallback - implements ChipClusters.OtaSoftwareUpdateRequestorCluster - .UpdateStateProgressAttributeCallback, - 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 DelegatedOtaSoftwareUpdateRequestorClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateRequestorCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateRequestorClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateRequestorCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateRequestorClusterEventListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateRequestorCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOtaSoftwareUpdateRequestorClusterAttributeListAttributeCallback - implements ChipClusters.OtaSoftwareUpdateRequestorCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLocalizationConfigurationClusterSupportedLocalesAttributeCallback - implements ChipClusters.LocalizationConfigurationCluster.SupportedLocalesAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLocalizationConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.LocalizationConfigurationCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLocalizationConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.LocalizationConfigurationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLocalizationConfigurationClusterEventListAttributeCallback - implements ChipClusters.LocalizationConfigurationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLocalizationConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.LocalizationConfigurationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeFormatLocalizationClusterSupportedCalendarTypesAttributeCallback - implements ChipClusters.TimeFormatLocalizationCluster.SupportedCalendarTypesAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeFormatLocalizationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TimeFormatLocalizationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeFormatLocalizationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TimeFormatLocalizationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeFormatLocalizationClusterEventListAttributeCallback - implements ChipClusters.TimeFormatLocalizationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeFormatLocalizationClusterAttributeListAttributeCallback - implements ChipClusters.TimeFormatLocalizationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitLocalizationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.UnitLocalizationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitLocalizationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.UnitLocalizationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitLocalizationClusterEventListAttributeCallback - implements ChipClusters.UnitLocalizationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitLocalizationClusterAttributeListAttributeCallback - implements ChipClusters.UnitLocalizationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceConfigurationClusterSourcesAttributeCallback - implements ChipClusters.PowerSourceConfigurationCluster.SourcesAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PowerSourceConfigurationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PowerSourceConfigurationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceConfigurationClusterEventListAttributeCallback - implements ChipClusters.PowerSourceConfigurationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.PowerSourceConfigurationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterWiredAssessedInputVoltageAttributeCallback - implements ChipClusters.PowerSourceCluster.WiredAssessedInputVoltageAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterWiredAssessedInputFrequencyAttributeCallback - implements ChipClusters.PowerSourceCluster.WiredAssessedInputFrequencyAttributeCallback, - 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 DelegatedPowerSourceClusterWiredAssessedCurrentAttributeCallback - implements ChipClusters.PowerSourceCluster.WiredAssessedCurrentAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterActiveWiredFaultsAttributeCallback - implements ChipClusters.PowerSourceCluster.ActiveWiredFaultsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterBatVoltageAttributeCallback - implements ChipClusters.PowerSourceCluster.BatVoltageAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterBatPercentRemainingAttributeCallback - implements ChipClusters.PowerSourceCluster.BatPercentRemainingAttributeCallback, - 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 DelegatedPowerSourceClusterBatTimeRemainingAttributeCallback - implements ChipClusters.PowerSourceCluster.BatTimeRemainingAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterActiveBatFaultsAttributeCallback - implements ChipClusters.PowerSourceCluster.ActiveBatFaultsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterBatTimeToFullChargeAttributeCallback - implements ChipClusters.PowerSourceCluster.BatTimeToFullChargeAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterBatChargingCurrentAttributeCallback - implements ChipClusters.PowerSourceCluster.BatChargingCurrentAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterActiveBatChargeFaultsAttributeCallback - implements ChipClusters.PowerSourceCluster.ActiveBatChargeFaultsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PowerSourceCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PowerSourceCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterEventListAttributeCallback - implements ChipClusters.PowerSourceCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPowerSourceClusterAttributeListAttributeCallback - implements ChipClusters.PowerSourceCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralCommissioningClusterArmFailSafeResponseCallback - implements ChipClusters.GeneralCommissioningCluster.ArmFailSafeResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer ErrorCode, String DebugText) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); - responseValues.put(ErrorCodeResponseValue, ErrorCode); - CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); - responseValues.put(DebugTextResponseValue, DebugText); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGeneralCommissioningClusterSetRegulatoryConfigResponseCallback - implements ChipClusters.GeneralCommissioningCluster.SetRegulatoryConfigResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer ErrorCode, String DebugText) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); - responseValues.put(ErrorCodeResponseValue, ErrorCode); - CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); - responseValues.put(DebugTextResponseValue, DebugText); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGeneralCommissioningClusterCommissioningCompleteResponseCallback - implements ChipClusters.GeneralCommissioningCluster.CommissioningCompleteResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer ErrorCode, String DebugText) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo ErrorCodeResponseValue = new CommandResponseInfo("ErrorCode", "Integer"); - responseValues.put(ErrorCodeResponseValue, ErrorCode); - CommandResponseInfo DebugTextResponseValue = new CommandResponseInfo("DebugText", "String"); - responseValues.put(DebugTextResponseValue, DebugText); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGeneralCommissioningClusterGeneratedCommandListAttributeCallback - implements ChipClusters.GeneralCommissioningCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralCommissioningClusterAcceptedCommandListAttributeCallback - implements ChipClusters.GeneralCommissioningCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralCommissioningClusterEventListAttributeCallback - implements ChipClusters.GeneralCommissioningCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralCommissioningClusterAttributeListAttributeCallback - implements ChipClusters.GeneralCommissioningCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNetworkCommissioningClusterScanNetworksResponseCallback - implements ChipClusters.NetworkCommissioningCluster.ScanNetworksResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer NetworkingStatus, - Optional DebugText, - Optional> - WiFiScanResults, - Optional> - ThreadScanResults) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo NetworkingStatusResponseValue = - new CommandResponseInfo("NetworkingStatus", "Integer"); - responseValues.put(NetworkingStatusResponseValue, NetworkingStatus); - CommandResponseInfo DebugTextResponseValue = - new CommandResponseInfo("DebugText", "Optional"); - responseValues.put(DebugTextResponseValue, DebugText); - // WiFiScanResults: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - // ThreadScanResults: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback - implements ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer NetworkingStatus, Optional DebugText, Optional NetworkIndex) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo NetworkingStatusResponseValue = - new CommandResponseInfo("NetworkingStatus", "Integer"); - responseValues.put(NetworkingStatusResponseValue, NetworkingStatus); - CommandResponseInfo DebugTextResponseValue = - new CommandResponseInfo("DebugText", "Optional"); - responseValues.put(DebugTextResponseValue, DebugText); - CommandResponseInfo NetworkIndexResponseValue = - new CommandResponseInfo("NetworkIndex", "Optional"); - responseValues.put(NetworkIndexResponseValue, NetworkIndex); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedNetworkCommissioningClusterConnectNetworkResponseCallback - implements ChipClusters.NetworkCommissioningCluster.ConnectNetworkResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer NetworkingStatus, Optional DebugText, @Nullable Long ErrorValue) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo NetworkingStatusResponseValue = - new CommandResponseInfo("NetworkingStatus", "Integer"); - responseValues.put(NetworkingStatusResponseValue, NetworkingStatus); - CommandResponseInfo DebugTextResponseValue = - new CommandResponseInfo("DebugText", "Optional"); - responseValues.put(DebugTextResponseValue, DebugText); - CommandResponseInfo ErrorValueResponseValue = new CommandResponseInfo("ErrorValue", "Long"); - responseValues.put(ErrorValueResponseValue, ErrorValue); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedNetworkCommissioningClusterNetworksAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.NetworksAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNetworkCommissioningClusterLastNetworkingStatusAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.LastNetworkingStatusAttributeCallback, - 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 DelegatedNetworkCommissioningClusterLastNetworkIDAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.LastNetworkIDAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable byte[] value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNetworkCommissioningClusterLastConnectErrorValueAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.LastConnectErrorValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNetworkCommissioningClusterGeneratedCommandListAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNetworkCommissioningClusterAcceptedCommandListAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNetworkCommissioningClusterEventListAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNetworkCommissioningClusterAttributeListAttributeCallback - implements ChipClusters.NetworkCommissioningCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDiagnosticLogsClusterRetrieveLogsResponseCallback - implements ChipClusters.DiagnosticLogsCluster.RetrieveLogsResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer Status, - byte[] LogContent, - Optional UTCTimeStamp, - Optional TimeSinceBoot) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo LogContentResponseValue = new CommandResponseInfo("LogContent", "byte[]"); - responseValues.put(LogContentResponseValue, LogContent); - CommandResponseInfo UTCTimeStampResponseValue = - new CommandResponseInfo("UTCTimeStamp", "Optional"); - responseValues.put(UTCTimeStampResponseValue, UTCTimeStamp); - CommandResponseInfo TimeSinceBootResponseValue = - new CommandResponseInfo("TimeSinceBoot", "Optional"); - responseValues.put(TimeSinceBootResponseValue, TimeSinceBoot); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedDiagnosticLogsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.DiagnosticLogsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDiagnosticLogsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.DiagnosticLogsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDiagnosticLogsClusterEventListAttributeCallback - implements ChipClusters.DiagnosticLogsCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDiagnosticLogsClusterAttributeListAttributeCallback - implements ChipClusters.DiagnosticLogsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterNetworkInterfacesAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.NetworkInterfacesAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterActiveHardwareFaultsAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.ActiveHardwareFaultsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterActiveRadioFaultsAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.ActiveRadioFaultsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterActiveNetworkFaultsAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.ActiveNetworkFaultsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGeneralDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.GeneralDiagnosticsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSoftwareDiagnosticsClusterThreadMetricsAttributeCallback - implements ChipClusters.SoftwareDiagnosticsCluster.ThreadMetricsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSoftwareDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.SoftwareDiagnosticsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSoftwareDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.SoftwareDiagnosticsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSoftwareDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.SoftwareDiagnosticsCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSoftwareDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.SoftwareDiagnosticsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterChannelAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelAttributeCallback, - 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 DelegatedThreadNetworkDiagnosticsClusterRoutingRoleAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.RoutingRoleAttributeCallback, - 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 DelegatedThreadNetworkDiagnosticsClusterNetworkNameAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.NetworkNameAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable String value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterPanIdAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.PanIdAttributeCallback, - 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 DelegatedThreadNetworkDiagnosticsClusterExtendedPanIdAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.ExtendedPanIdAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterMeshLocalPrefixAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.MeshLocalPrefixAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable byte[] value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterNeighborTableAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.NeighborTableAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterRouteTableAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.RouteTableAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterPartitionIdAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.PartitionIdAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterWeightingAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.WeightingAttributeCallback, - 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 DelegatedThreadNetworkDiagnosticsClusterDataVersionAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.DataVersionAttributeCallback, - 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 DelegatedThreadNetworkDiagnosticsClusterStableDataVersionAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.StableDataVersionAttributeCallback, - 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 DelegatedThreadNetworkDiagnosticsClusterLeaderRouterIdAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.LeaderRouterIdAttributeCallback, - 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 DelegatedThreadNetworkDiagnosticsClusterActiveTimestampAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.ActiveTimestampAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterPendingTimestampAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.PendingTimestampAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterDelayAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.DelayAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterChannelPage0MaskAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.ChannelPage0MaskAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable byte[] value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedThreadNetworkDiagnosticsClusterActiveNetworkFaultsListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster - .ActiveNetworkFaultsListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThreadNetworkDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.ThreadNetworkDiagnosticsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterBssidAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.BssidAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable byte[] value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterSecurityTypeAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.SecurityTypeAttributeCallback, - 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 DelegatedWiFiNetworkDiagnosticsClusterWiFiVersionAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.WiFiVersionAttributeCallback, - 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 DelegatedWiFiNetworkDiagnosticsClusterChannelNumberAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.ChannelNumberAttributeCallback, - 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 DelegatedWiFiNetworkDiagnosticsClusterRssiAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.RssiAttributeCallback, - 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 DelegatedWiFiNetworkDiagnosticsClusterBeaconLostCountAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconLostCountAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterBeaconRxCountAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.BeaconRxCountAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastRxCountAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastRxCountAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterPacketMulticastTxCountAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketMulticastTxCountAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastRxCountAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastRxCountAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterPacketUnicastTxCountAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.PacketUnicastTxCountAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterCurrentMaxRateAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.CurrentMaxRateAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterOverrunCountAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.OverrunCountAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWiFiNetworkDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.WiFiNetworkDiagnosticsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthernetNetworkDiagnosticsClusterPHYRateAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster.PHYRateAttributeCallback, - 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 DelegatedEthernetNetworkDiagnosticsClusterFullDuplexAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster.FullDuplexAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Boolean value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthernetNetworkDiagnosticsClusterCarrierDetectAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster.CarrierDetectAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Boolean value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthernetNetworkDiagnosticsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthernetNetworkDiagnosticsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthernetNetworkDiagnosticsClusterEventListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthernetNetworkDiagnosticsClusterAttributeListAttributeCallback - implements ChipClusters.EthernetNetworkDiagnosticsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterSetTimeZoneResponseCallback - implements ChipClusters.TimeSynchronizationCluster.SetTimeZoneResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Boolean DSTOffsetRequired) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo DSTOffsetRequiredResponseValue = - new CommandResponseInfo("DSTOffsetRequired", "Boolean"); - responseValues.put(DSTOffsetRequiredResponseValue, DSTOffsetRequired); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedTimeSynchronizationClusterUTCTimeAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.UTCTimeAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterDefaultNTPAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.DefaultNTPAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable String value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterTimeZoneAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.TimeZoneAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterDSTOffsetAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.DSTOffsetAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterLocalTimeAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.LocalTimeAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterEventListAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTimeSynchronizationClusterAttributeListAttributeCallback - implements ChipClusters.TimeSynchronizationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBridgedDeviceBasicInformationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBridgedDeviceBasicInformationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBridgedDeviceBasicInformationClusterEventListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBridgedDeviceBasicInformationClusterAttributeListAttributeCallback - implements ChipClusters.BridgedDeviceBasicInformationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSwitchClusterGeneratedCommandListAttributeCallback - implements ChipClusters.SwitchCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSwitchClusterAcceptedCommandListAttributeCallback - implements ChipClusters.SwitchCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSwitchClusterEventListAttributeCallback - implements ChipClusters.SwitchCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSwitchClusterAttributeListAttributeCallback - implements ChipClusters.SwitchCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAdministratorCommissioningClusterAdminFabricIndexAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster.AdminFabricIndexAttributeCallback, - 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 DelegatedAdministratorCommissioningClusterAdminVendorIdAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster.AdminVendorIdAttributeCallback, - 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 DelegatedAdministratorCommissioningClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAdministratorCommissioningClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAdministratorCommissioningClusterEventListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAdministratorCommissioningClusterAttributeListAttributeCallback - implements ChipClusters.AdministratorCommissioningCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalCredentialsClusterAttestationResponseCallback - implements ChipClusters.OperationalCredentialsCluster.AttestationResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(byte[] AttestationElements, byte[] AttestationSignature) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo AttestationElementsResponseValue = - new CommandResponseInfo("AttestationElements", "byte[]"); - responseValues.put(AttestationElementsResponseValue, AttestationElements); - CommandResponseInfo AttestationSignatureResponseValue = - new CommandResponseInfo("AttestationSignature", "byte[]"); - responseValues.put(AttestationSignatureResponseValue, AttestationSignature); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedOperationalCredentialsClusterCertificateChainResponseCallback - implements ChipClusters.OperationalCredentialsCluster.CertificateChainResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(byte[] Certificate) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo CertificateResponseValue = - new CommandResponseInfo("Certificate", "byte[]"); - responseValues.put(CertificateResponseValue, Certificate); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedOperationalCredentialsClusterCSRResponseCallback - implements ChipClusters.OperationalCredentialsCluster.CSRResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(byte[] NOCSRElements, byte[] AttestationSignature) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo NOCSRElementsResponseValue = - new CommandResponseInfo("NOCSRElements", "byte[]"); - responseValues.put(NOCSRElementsResponseValue, NOCSRElements); - CommandResponseInfo AttestationSignatureResponseValue = - new CommandResponseInfo("AttestationSignature", "byte[]"); - responseValues.put(AttestationSignatureResponseValue, AttestationSignature); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedOperationalCredentialsClusterNOCResponseCallback - implements ChipClusters.OperationalCredentialsCluster.NOCResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer StatusCode, Optional FabricIndex, Optional DebugText) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusCodeResponseValue = - new CommandResponseInfo("StatusCode", "Integer"); - responseValues.put(StatusCodeResponseValue, StatusCode); - CommandResponseInfo FabricIndexResponseValue = - new CommandResponseInfo("FabricIndex", "Optional"); - responseValues.put(FabricIndexResponseValue, FabricIndex); - CommandResponseInfo DebugTextResponseValue = - new CommandResponseInfo("DebugText", "Optional"); - responseValues.put(DebugTextResponseValue, DebugText); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedOperationalCredentialsClusterNOCsAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.NOCsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalCredentialsClusterFabricsAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.FabricsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalCredentialsClusterTrustedRootCertificatesAttributeCallback - implements ChipClusters.OperationalCredentialsCluster - .TrustedRootCertificatesAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalCredentialsClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalCredentialsClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalCredentialsClusterEventListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalCredentialsClusterAttributeListAttributeCallback - implements ChipClusters.OperationalCredentialsCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupKeyManagementClusterKeySetReadResponseCallback - implements ChipClusters.GroupKeyManagementCluster.KeySetReadResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(ChipStructs.GroupKeyManagementClusterGroupKeySetStruct GroupKeySet) { - Map responseValues = new LinkedHashMap<>(); - // GroupKeySet: Struct GroupKeySetStruct - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGroupKeyManagementClusterKeySetReadAllIndicesResponseCallback - implements ChipClusters.GroupKeyManagementCluster.KeySetReadAllIndicesResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(ArrayList GroupKeySetIDs) { - Map responseValues = new LinkedHashMap<>(); - // GroupKeySetIDs: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedGroupKeyManagementClusterGroupKeyMapAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.GroupKeyMapAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupKeyManagementClusterGroupTableAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.GroupTableAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupKeyManagementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupKeyManagementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupKeyManagementClusterEventListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedGroupKeyManagementClusterAttributeListAttributeCallback - implements ChipClusters.GroupKeyManagementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFixedLabelClusterLabelListAttributeCallback - implements ChipClusters.FixedLabelCluster.LabelListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFixedLabelClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FixedLabelCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFixedLabelClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FixedLabelCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFixedLabelClusterEventListAttributeCallback - implements ChipClusters.FixedLabelCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFixedLabelClusterAttributeListAttributeCallback - implements ChipClusters.FixedLabelCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUserLabelClusterLabelListAttributeCallback - implements ChipClusters.UserLabelCluster.LabelListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUserLabelClusterGeneratedCommandListAttributeCallback - implements ChipClusters.UserLabelCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUserLabelClusterAcceptedCommandListAttributeCallback - implements ChipClusters.UserLabelCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUserLabelClusterEventListAttributeCallback - implements ChipClusters.UserLabelCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUserLabelClusterAttributeListAttributeCallback - implements ChipClusters.UserLabelCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ProxyConfigurationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ProxyConfigurationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyConfigurationClusterEventListAttributeCallback - implements ChipClusters.ProxyConfigurationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.ProxyConfigurationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyDiscoveryClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ProxyDiscoveryCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyDiscoveryClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ProxyDiscoveryCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyDiscoveryClusterEventListAttributeCallback - implements ChipClusters.ProxyDiscoveryCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyDiscoveryClusterAttributeListAttributeCallback - implements ChipClusters.ProxyDiscoveryCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyValidClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ProxyValidCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyValidClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ProxyValidCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyValidClusterEventListAttributeCallback - implements ChipClusters.ProxyValidCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedProxyValidClusterAttributeListAttributeCallback - implements ChipClusters.ProxyValidCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBooleanStateClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BooleanStateCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBooleanStateClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BooleanStateCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBooleanStateClusterEventListAttributeCallback - implements ChipClusters.BooleanStateCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBooleanStateClusterAttributeListAttributeCallback - implements ChipClusters.BooleanStateCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIcdManagementClusterRegisterClientResponseCallback - implements ChipClusters.IcdManagementCluster.RegisterClientResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Long ICDCounter) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo ICDCounterResponseValue = new CommandResponseInfo("ICDCounter", "Long"); - responseValues.put(ICDCounterResponseValue, ICDCounter); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedIcdManagementClusterRegisteredClientsAttributeCallback - implements ChipClusters.IcdManagementCluster.RegisteredClientsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIcdManagementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.IcdManagementCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIcdManagementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.IcdManagementCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIcdManagementClusterEventListAttributeCallback - implements ChipClusters.IcdManagementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIcdManagementClusterAttributeListAttributeCallback - implements ChipClusters.IcdManagementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedModeSelectClusterStandardNamespaceAttributeCallback - implements ChipClusters.ModeSelectCluster.StandardNamespaceAttributeCallback, - 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 DelegatedModeSelectClusterSupportedModesAttributeCallback - implements ChipClusters.ModeSelectCluster.SupportedModesAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedModeSelectClusterStartUpModeAttributeCallback - implements ChipClusters.ModeSelectCluster.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 DelegatedModeSelectClusterOnModeAttributeCallback - implements ChipClusters.ModeSelectCluster.OnModeAttributeCallback, 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 DelegatedModeSelectClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ModeSelectCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedModeSelectClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ModeSelectCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedModeSelectClusterEventListAttributeCallback - implements ChipClusters.ModeSelectCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedModeSelectClusterAttributeListAttributeCallback - implements ChipClusters.ModeSelectCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureControlClusterSupportedTemperatureLevelsAttributeCallback - implements ChipClusters.TemperatureControlCluster.SupportedTemperatureLevelsAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TemperatureControlCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TemperatureControlCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureControlClusterEventListAttributeCallback - implements ChipClusters.TemperatureControlCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureControlClusterAttributeListAttributeCallback - implements ChipClusters.TemperatureControlCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRefrigeratorAlarmClusterGeneratedCommandListAttributeCallback - implements ChipClusters.RefrigeratorAlarmCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRefrigeratorAlarmClusterAcceptedCommandListAttributeCallback - implements ChipClusters.RefrigeratorAlarmCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRefrigeratorAlarmClusterEventListAttributeCallback - implements ChipClusters.RefrigeratorAlarmCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRefrigeratorAlarmClusterAttributeListAttributeCallback - implements ChipClusters.RefrigeratorAlarmCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAirQualityClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AirQualityCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAirQualityClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AirQualityCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAirQualityClusterEventListAttributeCallback - implements ChipClusters.AirQualityCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAirQualityClusterAttributeListAttributeCallback - implements ChipClusters.AirQualityCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSmokeCoAlarmClusterGeneratedCommandListAttributeCallback - implements ChipClusters.SmokeCoAlarmCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSmokeCoAlarmClusterAcceptedCommandListAttributeCallback - implements ChipClusters.SmokeCoAlarmCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSmokeCoAlarmClusterEventListAttributeCallback - implements ChipClusters.SmokeCoAlarmCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSmokeCoAlarmClusterAttributeListAttributeCallback - implements ChipClusters.SmokeCoAlarmCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalStateClusterPhaseListAttributeCallback - implements ChipClusters.OperationalStateCluster.PhaseListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalStateClusterCurrentPhaseAttributeCallback - implements ChipClusters.OperationalStateCluster.CurrentPhaseAttributeCallback, - 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 DelegatedOperationalStateClusterCountdownTimeAttributeCallback - implements ChipClusters.OperationalStateCluster.CountdownTimeAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalStateClusterOperationalStateListAttributeCallback - implements ChipClusters.OperationalStateCluster.OperationalStateListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalStateClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OperationalStateCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalStateClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OperationalStateCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalStateClusterEventListAttributeCallback - implements ChipClusters.OperationalStateCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOperationalStateClusterAttributeListAttributeCallback - implements ChipClusters.OperationalStateCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedHepaFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.HepaFilterMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedHepaFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.HepaFilterMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedHepaFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.HepaFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedHepaFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.HepaFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedActivatedCarbonFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ActivatedCarbonFilterMonitoringCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedActivatedCarbonFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ActivatedCarbonFilterMonitoringCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActivatedCarbonFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.ActivatedCarbonFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedActivatedCarbonFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.ActivatedCarbonFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedCeramicFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.CeramicFilterMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedCeramicFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.CeramicFilterMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedCeramicFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.CeramicFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedCeramicFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.CeramicFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedElectrostaticFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ElectrostaticFilterMonitoringCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedElectrostaticFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ElectrostaticFilterMonitoringCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedElectrostaticFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.ElectrostaticFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedElectrostaticFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.ElectrostaticFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUvFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.UvFilterMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUvFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.UvFilterMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUvFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.UvFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUvFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.UvFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIonizingFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.IonizingFilterMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIonizingFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.IonizingFilterMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIonizingFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.IonizingFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIonizingFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.IonizingFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedZeoliteFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ZeoliteFilterMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedZeoliteFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ZeoliteFilterMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedZeoliteFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.ZeoliteFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedZeoliteFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.ZeoliteFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneFilterMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OzoneFilterMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneFilterMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OzoneFilterMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneFilterMonitoringClusterEventListAttributeCallback - implements ChipClusters.OzoneFilterMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneFilterMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.OzoneFilterMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWaterTankMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.WaterTankMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWaterTankMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.WaterTankMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWaterTankMonitoringClusterEventListAttributeCallback - implements ChipClusters.WaterTankMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWaterTankMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.WaterTankMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFuelTankMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FuelTankMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFuelTankMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FuelTankMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFuelTankMonitoringClusterEventListAttributeCallback - implements ChipClusters.FuelTankMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFuelTankMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.FuelTankMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedInkCartridgeMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.InkCartridgeMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedInkCartridgeMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.InkCartridgeMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedInkCartridgeMonitoringClusterEventListAttributeCallback - implements ChipClusters.InkCartridgeMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedInkCartridgeMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.InkCartridgeMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTonerCartridgeMonitoringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TonerCartridgeMonitoringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTonerCartridgeMonitoringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TonerCartridgeMonitoringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTonerCartridgeMonitoringClusterEventListAttributeCallback - implements ChipClusters.TonerCartridgeMonitoringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTonerCartridgeMonitoringClusterAttributeListAttributeCallback - implements ChipClusters.TonerCartridgeMonitoringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDoorLockClusterGetWeekDayScheduleResponseCallback - implements ChipClusters.DoorLockCluster.GetWeekDayScheduleResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer WeekDayIndex, - Integer UserIndex, - Integer Status, - Optional DaysMask, - Optional StartHour, - Optional StartMinute, - Optional EndHour, - Optional EndMinute) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo WeekDayIndexResponseValue = - new CommandResponseInfo("WeekDayIndex", "Integer"); - responseValues.put(WeekDayIndexResponseValue, WeekDayIndex); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DaysMaskResponseValue = - new CommandResponseInfo("DaysMask", "Optional"); - responseValues.put(DaysMaskResponseValue, DaysMask); - CommandResponseInfo StartHourResponseValue = - new CommandResponseInfo("StartHour", "Optional"); - responseValues.put(StartHourResponseValue, StartHour); - CommandResponseInfo StartMinuteResponseValue = - new CommandResponseInfo("StartMinute", "Optional"); - responseValues.put(StartMinuteResponseValue, StartMinute); - CommandResponseInfo EndHourResponseValue = - new CommandResponseInfo("EndHour", "Optional"); - responseValues.put(EndHourResponseValue, EndHour); - CommandResponseInfo EndMinuteResponseValue = - new CommandResponseInfo("EndMinute", "Optional"); - responseValues.put(EndMinuteResponseValue, EndMinute); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedDoorLockClusterGetYearDayScheduleResponseCallback - implements ChipClusters.DoorLockCluster.GetYearDayScheduleResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer YearDayIndex, - Integer UserIndex, - Integer Status, - Optional LocalStartTime, - Optional LocalEndTime) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo YearDayIndexResponseValue = - new CommandResponseInfo("YearDayIndex", "Integer"); - responseValues.put(YearDayIndexResponseValue, YearDayIndex); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo LocalStartTimeResponseValue = - new CommandResponseInfo("LocalStartTime", "Optional"); - responseValues.put(LocalStartTimeResponseValue, LocalStartTime); - CommandResponseInfo LocalEndTimeResponseValue = - new CommandResponseInfo("LocalEndTime", "Optional"); - responseValues.put(LocalEndTimeResponseValue, LocalEndTime); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedDoorLockClusterGetHolidayScheduleResponseCallback - implements ChipClusters.DoorLockCluster.GetHolidayScheduleResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer HolidayIndex, - Integer Status, - Optional LocalStartTime, - Optional LocalEndTime, - Optional OperatingMode) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo HolidayIndexResponseValue = - new CommandResponseInfo("HolidayIndex", "Integer"); - responseValues.put(HolidayIndexResponseValue, HolidayIndex); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo LocalStartTimeResponseValue = - new CommandResponseInfo("LocalStartTime", "Optional"); - responseValues.put(LocalStartTimeResponseValue, LocalStartTime); - CommandResponseInfo LocalEndTimeResponseValue = - new CommandResponseInfo("LocalEndTime", "Optional"); - responseValues.put(LocalEndTimeResponseValue, LocalEndTime); - CommandResponseInfo OperatingModeResponseValue = - new CommandResponseInfo("OperatingMode", "Optional"); - responseValues.put(OperatingModeResponseValue, OperatingMode); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedDoorLockClusterGetUserResponseCallback - implements ChipClusters.DoorLockCluster.GetUserResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer UserIndex, - @Nullable String UserName, - @Nullable Long UserUniqueID, - @Nullable Integer UserStatus, - @Nullable Integer UserType, - @Nullable Integer CredentialRule, - @Nullable ArrayList Credentials, - @Nullable Integer CreatorFabricIndex, - @Nullable Integer LastModifiedFabricIndex, - @Nullable Integer NextUserIndex) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo UserNameResponseValue = new CommandResponseInfo("UserName", "String"); - responseValues.put(UserNameResponseValue, UserName); - CommandResponseInfo UserUniqueIDResponseValue = - new CommandResponseInfo("UserUniqueID", "Long"); - responseValues.put(UserUniqueIDResponseValue, UserUniqueID); - CommandResponseInfo UserStatusResponseValue = - new CommandResponseInfo("UserStatus", "Integer"); - responseValues.put(UserStatusResponseValue, UserStatus); - CommandResponseInfo UserTypeResponseValue = new CommandResponseInfo("UserType", "Integer"); - responseValues.put(UserTypeResponseValue, UserType); - CommandResponseInfo CredentialRuleResponseValue = - new CommandResponseInfo("CredentialRule", "Integer"); - responseValues.put(CredentialRuleResponseValue, CredentialRule); - // Credentials: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - CommandResponseInfo CreatorFabricIndexResponseValue = - new CommandResponseInfo("CreatorFabricIndex", "Integer"); - responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); - CommandResponseInfo LastModifiedFabricIndexResponseValue = - new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); - responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); - CommandResponseInfo NextUserIndexResponseValue = - new CommandResponseInfo("NextUserIndex", "Integer"); - responseValues.put(NextUserIndexResponseValue, NextUserIndex); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedDoorLockClusterSetCredentialResponseCallback - implements ChipClusters.DoorLockCluster.SetCredentialResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer Status, @Nullable Integer UserIndex, @Nullable Integer NextCredentialIndex) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo NextCredentialIndexResponseValue = - new CommandResponseInfo("NextCredentialIndex", "Integer"); - responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedDoorLockClusterGetCredentialStatusResponseCallback - implements ChipClusters.DoorLockCluster.GetCredentialStatusResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Boolean CredentialExists, - @Nullable Integer UserIndex, - @Nullable Integer CreatorFabricIndex, - @Nullable Integer LastModifiedFabricIndex, - @Nullable Integer NextCredentialIndex) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo CredentialExistsResponseValue = - new CommandResponseInfo("CredentialExists", "Boolean"); - responseValues.put(CredentialExistsResponseValue, CredentialExists); - CommandResponseInfo UserIndexResponseValue = new CommandResponseInfo("UserIndex", "Integer"); - responseValues.put(UserIndexResponseValue, UserIndex); - CommandResponseInfo CreatorFabricIndexResponseValue = - new CommandResponseInfo("CreatorFabricIndex", "Integer"); - responseValues.put(CreatorFabricIndexResponseValue, CreatorFabricIndex); - CommandResponseInfo LastModifiedFabricIndexResponseValue = - new CommandResponseInfo("LastModifiedFabricIndex", "Integer"); - responseValues.put(LastModifiedFabricIndexResponseValue, LastModifiedFabricIndex); - CommandResponseInfo NextCredentialIndexResponseValue = - new CommandResponseInfo("NextCredentialIndex", "Integer"); - responseValues.put(NextCredentialIndexResponseValue, NextCredentialIndex); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedDoorLockClusterLockStateAttributeCallback - implements ChipClusters.DoorLockCluster.LockStateAttributeCallback, 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 DelegatedDoorLockClusterDoorStateAttributeCallback - implements ChipClusters.DoorLockCluster.DoorStateAttributeCallback, 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 DelegatedDoorLockClusterGeneratedCommandListAttributeCallback - implements ChipClusters.DoorLockCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDoorLockClusterAcceptedCommandListAttributeCallback - implements ChipClusters.DoorLockCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDoorLockClusterEventListAttributeCallback - implements ChipClusters.DoorLockCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedDoorLockClusterAttributeListAttributeCallback - implements ChipClusters.DoorLockCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWindowCoveringClusterCurrentPositionLiftAttributeCallback - implements ChipClusters.WindowCoveringCluster.CurrentPositionLiftAttributeCallback, - 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 DelegatedWindowCoveringClusterCurrentPositionTiltAttributeCallback - implements ChipClusters.WindowCoveringCluster.CurrentPositionTiltAttributeCallback, - 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 DelegatedWindowCoveringClusterCurrentPositionLiftPercentageAttributeCallback - implements ChipClusters.WindowCoveringCluster.CurrentPositionLiftPercentageAttributeCallback, - 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 DelegatedWindowCoveringClusterCurrentPositionTiltPercentageAttributeCallback - implements ChipClusters.WindowCoveringCluster.CurrentPositionTiltPercentageAttributeCallback, - 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 DelegatedWindowCoveringClusterTargetPositionLiftPercent100thsAttributeCallback - implements ChipClusters.WindowCoveringCluster - .TargetPositionLiftPercent100thsAttributeCallback, - 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 DelegatedWindowCoveringClusterTargetPositionTiltPercent100thsAttributeCallback - implements ChipClusters.WindowCoveringCluster - .TargetPositionTiltPercent100thsAttributeCallback, - 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 DelegatedWindowCoveringClusterCurrentPositionLiftPercent100thsAttributeCallback - implements ChipClusters.WindowCoveringCluster - .CurrentPositionLiftPercent100thsAttributeCallback, - 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 DelegatedWindowCoveringClusterCurrentPositionTiltPercent100thsAttributeCallback - implements ChipClusters.WindowCoveringCluster - .CurrentPositionTiltPercent100thsAttributeCallback, - 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 DelegatedWindowCoveringClusterGeneratedCommandListAttributeCallback - implements ChipClusters.WindowCoveringCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWindowCoveringClusterAcceptedCommandListAttributeCallback - implements ChipClusters.WindowCoveringCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWindowCoveringClusterEventListAttributeCallback - implements ChipClusters.WindowCoveringCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWindowCoveringClusterAttributeListAttributeCallback - implements ChipClusters.WindowCoveringCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBarrierControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BarrierControlCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBarrierControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BarrierControlCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBarrierControlClusterEventListAttributeCallback - implements ChipClusters.BarrierControlCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBarrierControlClusterAttributeListAttributeCallback - implements ChipClusters.BarrierControlCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPumpConfigurationAndControlClusterMaxPressureAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxPressureAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMaxSpeedAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxSpeedAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMaxFlowAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxFlowAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMinConstPressureAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MinConstPressureAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMaxConstPressureAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstPressureAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMinCompPressureAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MinCompPressureAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMaxCompPressureAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxCompPressureAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMinConstSpeedAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MinConstSpeedAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMaxConstSpeedAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstSpeedAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMinConstFlowAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MinConstFlowAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMaxConstFlowAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstFlowAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMinConstTempAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MinConstTempAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterMaxConstTempAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.MaxConstTempAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterCapacityAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.CapacityAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterSpeedAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.SpeedAttributeCallback, - 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 DelegatedPumpConfigurationAndControlClusterLifetimeRunningHoursAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster - .LifetimeRunningHoursAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPumpConfigurationAndControlClusterPowerAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.PowerAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPumpConfigurationAndControlClusterLifetimeEnergyConsumedAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster - .LifetimeEnergyConsumedAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPumpConfigurationAndControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPumpConfigurationAndControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPumpConfigurationAndControlClusterEventListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPumpConfigurationAndControlClusterAttributeListAttributeCallback - implements ChipClusters.PumpConfigurationAndControlCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThermostatClusterGetWeeklyScheduleResponseCallback - implements ChipClusters.ThermostatCluster.GetWeeklyScheduleResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Integer NumberOfTransitionsForSequence, - Integer DayOfWeekForSequence, - Integer ModeForSequence, - ArrayList Transitions) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo NumberOfTransitionsForSequenceResponseValue = - new CommandResponseInfo("NumberOfTransitionsForSequence", "Integer"); - responseValues.put( - NumberOfTransitionsForSequenceResponseValue, NumberOfTransitionsForSequence); - CommandResponseInfo DayOfWeekForSequenceResponseValue = - new CommandResponseInfo("DayOfWeekForSequence", "Integer"); - responseValues.put(DayOfWeekForSequenceResponseValue, DayOfWeekForSequence); - CommandResponseInfo ModeForSequenceResponseValue = - new CommandResponseInfo("ModeForSequence", "Integer"); - responseValues.put(ModeForSequenceResponseValue, ModeForSequence); - // Transitions: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedThermostatClusterLocalTemperatureAttributeCallback - implements ChipClusters.ThermostatCluster.LocalTemperatureAttributeCallback, - 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 DelegatedThermostatClusterOutdoorTemperatureAttributeCallback - implements ChipClusters.ThermostatCluster.OutdoorTemperatureAttributeCallback, - 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 DelegatedThermostatClusterTemperatureSetpointHoldDurationAttributeCallback - implements ChipClusters.ThermostatCluster.TemperatureSetpointHoldDurationAttributeCallback, - 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 DelegatedThermostatClusterSetpointChangeAmountAttributeCallback - implements ChipClusters.ThermostatCluster.SetpointChangeAmountAttributeCallback, - 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 DelegatedThermostatClusterOccupiedSetbackAttributeCallback - implements ChipClusters.ThermostatCluster.OccupiedSetbackAttributeCallback, - 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 DelegatedThermostatClusterOccupiedSetbackMinAttributeCallback - implements ChipClusters.ThermostatCluster.OccupiedSetbackMinAttributeCallback, - 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 DelegatedThermostatClusterOccupiedSetbackMaxAttributeCallback - implements ChipClusters.ThermostatCluster.OccupiedSetbackMaxAttributeCallback, - 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 DelegatedThermostatClusterUnoccupiedSetbackAttributeCallback - implements ChipClusters.ThermostatCluster.UnoccupiedSetbackAttributeCallback, - 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 DelegatedThermostatClusterUnoccupiedSetbackMinAttributeCallback - implements ChipClusters.ThermostatCluster.UnoccupiedSetbackMinAttributeCallback, - 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 DelegatedThermostatClusterUnoccupiedSetbackMaxAttributeCallback - implements ChipClusters.ThermostatCluster.UnoccupiedSetbackMaxAttributeCallback, - 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 DelegatedThermostatClusterACCoilTemperatureAttributeCallback - implements ChipClusters.ThermostatCluster.ACCoilTemperatureAttributeCallback, - 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 DelegatedThermostatClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ThermostatCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThermostatClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ThermostatCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThermostatClusterEventListAttributeCallback - implements ChipClusters.ThermostatCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThermostatClusterAttributeListAttributeCallback - implements ChipClusters.ThermostatCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFanControlClusterPercentSettingAttributeCallback - implements ChipClusters.FanControlCluster.PercentSettingAttributeCallback, - 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 DelegatedFanControlClusterSpeedSettingAttributeCallback - implements ChipClusters.FanControlCluster.SpeedSettingAttributeCallback, - 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 DelegatedFanControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FanControlCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFanControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FanControlCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFanControlClusterEventListAttributeCallback - implements ChipClusters.FanControlCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFanControlClusterAttributeListAttributeCallback - implements ChipClusters.FanControlCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedThermostatUserInterfaceConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedThermostatUserInterfaceConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedThermostatUserInterfaceConfigurationClusterEventListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedThermostatUserInterfaceConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.ThermostatUserInterfaceConfigurationCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedColorControlClusterNumberOfPrimariesAttributeCallback - implements ChipClusters.ColorControlCluster.NumberOfPrimariesAttributeCallback, - 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 DelegatedColorControlClusterPrimary1IntensityAttributeCallback - implements ChipClusters.ColorControlCluster.Primary1IntensityAttributeCallback, - 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 DelegatedColorControlClusterPrimary2IntensityAttributeCallback - implements ChipClusters.ColorControlCluster.Primary2IntensityAttributeCallback, - 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 DelegatedColorControlClusterPrimary3IntensityAttributeCallback - implements ChipClusters.ColorControlCluster.Primary3IntensityAttributeCallback, - 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 DelegatedColorControlClusterPrimary4IntensityAttributeCallback - implements ChipClusters.ColorControlCluster.Primary4IntensityAttributeCallback, - 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 DelegatedColorControlClusterPrimary5IntensityAttributeCallback - implements ChipClusters.ColorControlCluster.Primary5IntensityAttributeCallback, - 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 DelegatedColorControlClusterPrimary6IntensityAttributeCallback - implements ChipClusters.ColorControlCluster.Primary6IntensityAttributeCallback, - 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 DelegatedColorControlClusterColorPointRIntensityAttributeCallback - implements ChipClusters.ColorControlCluster.ColorPointRIntensityAttributeCallback, - 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 DelegatedColorControlClusterColorPointGIntensityAttributeCallback - implements ChipClusters.ColorControlCluster.ColorPointGIntensityAttributeCallback, - 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 DelegatedColorControlClusterColorPointBIntensityAttributeCallback - implements ChipClusters.ColorControlCluster.ColorPointBIntensityAttributeCallback, - 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 DelegatedColorControlClusterStartUpColorTemperatureMiredsAttributeCallback - implements ChipClusters.ColorControlCluster.StartUpColorTemperatureMiredsAttributeCallback, - 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 DelegatedColorControlClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ColorControlCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedColorControlClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ColorControlCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedColorControlClusterEventListAttributeCallback - implements ChipClusters.ColorControlCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedColorControlClusterAttributeListAttributeCallback - implements ChipClusters.ColorControlCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBallastConfigurationClusterIntrinsicBallastFactorAttributeCallback - implements ChipClusters.BallastConfigurationCluster.IntrinsicBallastFactorAttributeCallback, - 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 DelegatedBallastConfigurationClusterBallastFactorAdjustmentAttributeCallback - implements ChipClusters.BallastConfigurationCluster.BallastFactorAdjustmentAttributeCallback, - 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 DelegatedBallastConfigurationClusterLampRatedHoursAttributeCallback - implements ChipClusters.BallastConfigurationCluster.LampRatedHoursAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBallastConfigurationClusterLampBurnHoursAttributeCallback - implements ChipClusters.BallastConfigurationCluster.LampBurnHoursAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBallastConfigurationClusterLampBurnHoursTripPointAttributeCallback - implements ChipClusters.BallastConfigurationCluster.LampBurnHoursTripPointAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBallastConfigurationClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBallastConfigurationClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBallastConfigurationClusterEventListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBallastConfigurationClusterAttributeListAttributeCallback - implements ChipClusters.BallastConfigurationCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIlluminanceMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.MeasuredValueAttributeCallback, - 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 DelegatedIlluminanceMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.MinMeasuredValueAttributeCallback, - 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 DelegatedIlluminanceMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.MaxMeasuredValueAttributeCallback, - 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 DelegatedIlluminanceMeasurementClusterLightSensorTypeAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.LightSensorTypeAttributeCallback, - 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 DelegatedIlluminanceMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIlluminanceMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIlluminanceMeasurementClusterEventListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedIlluminanceMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.IlluminanceMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.MeasuredValueAttributeCallback, - 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 DelegatedTemperatureMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.MinMeasuredValueAttributeCallback, - 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 DelegatedTemperatureMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.MaxMeasuredValueAttributeCallback, - 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 DelegatedTemperatureMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureMeasurementClusterEventListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTemperatureMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.TemperatureMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPressureMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.PressureMeasurementCluster.MeasuredValueAttributeCallback, - 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 DelegatedPressureMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.PressureMeasurementCluster.MinMeasuredValueAttributeCallback, - 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 DelegatedPressureMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.PressureMeasurementCluster.MaxMeasuredValueAttributeCallback, - 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 DelegatedPressureMeasurementClusterScaledValueAttributeCallback - implements ChipClusters.PressureMeasurementCluster.ScaledValueAttributeCallback, - 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 DelegatedPressureMeasurementClusterMinScaledValueAttributeCallback - implements ChipClusters.PressureMeasurementCluster.MinScaledValueAttributeCallback, - 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 DelegatedPressureMeasurementClusterMaxScaledValueAttributeCallback - implements ChipClusters.PressureMeasurementCluster.MaxScaledValueAttributeCallback, - 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 DelegatedPressureMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPressureMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPressureMeasurementClusterEventListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPressureMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.PressureMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFlowMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.FlowMeasurementCluster.MeasuredValueAttributeCallback, - 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 DelegatedFlowMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.FlowMeasurementCluster.MinMeasuredValueAttributeCallback, - 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 DelegatedFlowMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.FlowMeasurementCluster.MaxMeasuredValueAttributeCallback, - 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 DelegatedFlowMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFlowMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFlowMeasurementClusterEventListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFlowMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.FlowMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRelativeHumidityMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster.MeasuredValueAttributeCallback, - 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 DelegatedRelativeHumidityMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster.MinMeasuredValueAttributeCallback, - 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 DelegatedRelativeHumidityMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster.MaxMeasuredValueAttributeCallback, - 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 DelegatedRelativeHumidityMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedRelativeHumidityMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRelativeHumidityMeasurementClusterEventListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRelativeHumidityMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.RelativeHumidityMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOccupancySensingClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OccupancySensingCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOccupancySensingClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OccupancySensingCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOccupancySensingClusterEventListAttributeCallback - implements ChipClusters.OccupancySensingCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOccupancySensingClusterAttributeListAttributeCallback - implements ChipClusters.OccupancySensingCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonMonoxideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.CarbonMonoxideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCarbonDioxideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.CarbonDioxideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthyleneConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthyleneConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedEthyleneConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.EthyleneConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedEthyleneOxideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.EthyleneOxideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedHydrogenConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedHydrogenConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedHydrogenConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.HydrogenConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHydrogenSulfideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.HydrogenSulfideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedNitricOxideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitricOxideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.NitricOxideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedNitrogenDioxideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.NitrogenDioxideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOxygenConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOxygenConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOxygenConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOxygenConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOxygenConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOxygenConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOxygenConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOxygenConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOxygenConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.OxygenConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOzoneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOzoneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOzoneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedOzoneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedOzoneConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.OzoneConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfurDioxideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.SulfurDioxideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedDissolvedOxygenConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.DissolvedOxygenConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBromateConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromateConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromateConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromateConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromateConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromateConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromateConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBromateConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBromateConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.BromateConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChloraminesConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloraminesConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.ChloraminesConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChlorineConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorineConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorineConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorineConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorineConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorineConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorineConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChlorineConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChlorineConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.ChlorineConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFecalColiformEColiConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.FecalColiformEColiConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFluorideConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFluorideConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFluorideConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFluorideConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFluorideConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFluorideConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFluorideConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFluorideConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFluorideConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.FluorideConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedHaloaceticAcidsConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalTrihalomethanesConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalColiformBacteriaConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTurbidityConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTurbidityConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.TurbidityConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedCopperConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCopperConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCopperConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCopperConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCopperConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCopperConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedCopperConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedCopperConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedCopperConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.CopperConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLeadConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLeadConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLeadConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLeadConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedLeadConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedLeadConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedLeadConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLeadConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLeadConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.LeadConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedManganeseConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedManganeseConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.ManganeseConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSulfateConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfateConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfateConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfateConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfateConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfateConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSulfateConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSulfateConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSulfateConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.SulfateConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromodichloromethaneConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.BromodichloromethaneConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedBromoformConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedBromoformConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.BromoformConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChlorodibromomethaneConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChloroformConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedChloroformConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.ChloroformConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSodiumConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSodiumConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSodiumConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSodiumConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSodiumConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSodiumConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedSodiumConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSodiumConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedSodiumConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.SodiumConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm25ConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm25ConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm25ConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm25ConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm25ConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm25ConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm25ConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm25ConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm25ConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.Pm25ConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFormaldehydeConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedFormaldehydeConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.FormaldehydeConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm1ConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm1ConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm1ConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm1ConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster.PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm1ConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm1ConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm1ConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm1ConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm1ConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.Pm1ConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm10ConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm10ConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster.MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm10ConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster.MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm10ConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm10ConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm10ConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedPm10ConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm10ConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedPm10ConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.Pm10ConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedTotalVolatileOrganicCompoundsConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster - .AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRadonConcentrationMeasurementClusterMeasuredValueAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster.MeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRadonConcentrationMeasurementClusterMinMeasuredValueAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster - .MinMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRadonConcentrationMeasurementClusterMaxMeasuredValueAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster - .MaxMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedRadonConcentrationMeasurementClusterPeakMeasuredValueAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster - .PeakMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedRadonConcentrationMeasurementClusterAverageMeasuredValueAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster - .AverageMeasuredValueAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedRadonConcentrationMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster - .GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static - class DelegatedRadonConcentrationMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster - .AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRadonConcentrationMeasurementClusterEventListAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedRadonConcentrationMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.RadonConcentrationMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWakeOnLanClusterGeneratedCommandListAttributeCallback - implements ChipClusters.WakeOnLanCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWakeOnLanClusterAcceptedCommandListAttributeCallback - implements ChipClusters.WakeOnLanCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWakeOnLanClusterEventListAttributeCallback - implements ChipClusters.WakeOnLanCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedWakeOnLanClusterAttributeListAttributeCallback - implements ChipClusters.WakeOnLanCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChannelClusterChangeChannelResponseCallback - implements ChipClusters.ChannelCluster.ChangeChannelResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Optional Data) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedChannelClusterChannelListAttributeCallback - implements ChipClusters.ChannelCluster.ChannelListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChannelClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ChannelCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChannelClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ChannelCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChannelClusterEventListAttributeCallback - implements ChipClusters.ChannelCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedChannelClusterAttributeListAttributeCallback - implements ChipClusters.ChannelCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTargetNavigatorClusterNavigateTargetResponseCallback - implements ChipClusters.TargetNavigatorCluster.NavigateTargetResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Optional Data) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedTargetNavigatorClusterTargetListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.TargetListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTargetNavigatorClusterGeneratedCommandListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTargetNavigatorClusterAcceptedCommandListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTargetNavigatorClusterEventListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedTargetNavigatorClusterAttributeListAttributeCallback - implements ChipClusters.TargetNavigatorCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterPlaybackResponseCallback - implements ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Optional Data) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedMediaPlaybackClusterStartTimeAttributeCallback - implements ChipClusters.MediaPlaybackCluster.StartTimeAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterDurationAttributeCallback - implements ChipClusters.MediaPlaybackCluster.DurationAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterSeekRangeEndAttributeCallback - implements ChipClusters.MediaPlaybackCluster.SeekRangeEndAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterSeekRangeStartAttributeCallback - implements ChipClusters.MediaPlaybackCluster.SeekRangeStartAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterGeneratedCommandListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterAcceptedCommandListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterEventListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaPlaybackClusterAttributeListAttributeCallback - implements ChipClusters.MediaPlaybackCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaInputClusterInputListAttributeCallback - implements ChipClusters.MediaInputCluster.InputListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaInputClusterGeneratedCommandListAttributeCallback - implements ChipClusters.MediaInputCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaInputClusterAcceptedCommandListAttributeCallback - implements ChipClusters.MediaInputCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaInputClusterEventListAttributeCallback - implements ChipClusters.MediaInputCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedMediaInputClusterAttributeListAttributeCallback - implements ChipClusters.MediaInputCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLowPowerClusterGeneratedCommandListAttributeCallback - implements ChipClusters.LowPowerCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLowPowerClusterAcceptedCommandListAttributeCallback - implements ChipClusters.LowPowerCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLowPowerClusterEventListAttributeCallback - implements ChipClusters.LowPowerCluster.EventListAttributeCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedLowPowerClusterAttributeListAttributeCallback - implements ChipClusters.LowPowerCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedKeypadInputClusterSendKeyResponseCallback - implements ChipClusters.KeypadInputCluster.SendKeyResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedKeypadInputClusterGeneratedCommandListAttributeCallback - implements ChipClusters.KeypadInputCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedKeypadInputClusterAcceptedCommandListAttributeCallback - implements ChipClusters.KeypadInputCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedKeypadInputClusterEventListAttributeCallback - implements ChipClusters.KeypadInputCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedKeypadInputClusterAttributeListAttributeCallback - implements ChipClusters.KeypadInputCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedContentLauncherClusterLauncherResponseCallback - implements ChipClusters.ContentLauncherCluster.LauncherResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Optional Data) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedContentLauncherClusterAcceptHeaderAttributeCallback - implements ChipClusters.ContentLauncherCluster.AcceptHeaderAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedContentLauncherClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ContentLauncherCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedContentLauncherClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ContentLauncherCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedContentLauncherClusterEventListAttributeCallback - implements ChipClusters.ContentLauncherCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedContentLauncherClusterAttributeListAttributeCallback - implements ChipClusters.ContentLauncherCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAudioOutputClusterOutputListAttributeCallback - implements ChipClusters.AudioOutputCluster.OutputListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAudioOutputClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AudioOutputCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAudioOutputClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AudioOutputCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAudioOutputClusterEventListAttributeCallback - implements ChipClusters.AudioOutputCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAudioOutputClusterAttributeListAttributeCallback - implements ChipClusters.AudioOutputCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationLauncherClusterLauncherResponseCallback - implements ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer Status, Optional Data) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo StatusResponseValue = new CommandResponseInfo("Status", "Integer"); - responseValues.put(StatusResponseValue, Status); - CommandResponseInfo DataResponseValue = new CommandResponseInfo("Data", "Optional"); - responseValues.put(DataResponseValue, Data); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedApplicationLauncherClusterCatalogListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.CatalogListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationLauncherClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationLauncherClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationLauncherClusterEventListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationLauncherClusterAttributeListAttributeCallback - implements ChipClusters.ApplicationLauncherCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationBasicClusterAllowedVendorListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.AllowedVendorListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationBasicClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationBasicClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationBasicClusterEventListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedApplicationBasicClusterAttributeListAttributeCallback - implements ChipClusters.ApplicationBasicCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccountLoginClusterGetSetupPINResponseCallback - implements ChipClusters.AccountLoginCluster.GetSetupPINResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(String SetupPIN) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo SetupPINResponseValue = new CommandResponseInfo("SetupPIN", "String"); - responseValues.put(SetupPINResponseValue, SetupPIN); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedAccountLoginClusterGeneratedCommandListAttributeCallback - implements ChipClusters.AccountLoginCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccountLoginClusterAcceptedCommandListAttributeCallback - implements ChipClusters.AccountLoginCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccountLoginClusterEventListAttributeCallback - implements ChipClusters.AccountLoginCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedAccountLoginClusterAttributeListAttributeCallback - implements ChipClusters.AccountLoginCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedElectricalMeasurementClusterGeneratedCommandListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedElectricalMeasurementClusterAcceptedCommandListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedElectricalMeasurementClusterEventListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedElectricalMeasurementClusterAttributeListAttributeCallback - implements ChipClusters.ElectricalMeasurementCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterTestSpecificResponseCallback - implements ChipClusters.UnitTestingCluster.TestSpecificResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer returnValue) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo returnValueResponseValue = - new CommandResponseInfo("returnValue", "Integer"); - responseValues.put(returnValueResponseValue, returnValue); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterTestAddArgumentsResponseCallback - implements ChipClusters.UnitTestingCluster.TestAddArgumentsResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer returnValue) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo returnValueResponseValue = - new CommandResponseInfo("returnValue", "Integer"); - responseValues.put(returnValueResponseValue, returnValue); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterTestListInt8UReverseResponseCallback - implements ChipClusters.UnitTestingCluster.TestListInt8UReverseResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(ArrayList arg1) { - Map responseValues = new LinkedHashMap<>(); - // arg1: /* TYPE WARNING: array array defaults to */ uint8_t * - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterTestEnumsResponseCallback - implements ChipClusters.UnitTestingCluster.TestEnumsResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Integer arg1, Integer arg2) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo arg1ResponseValue = new CommandResponseInfo("arg1", "Integer"); - responseValues.put(arg1ResponseValue, arg1); - CommandResponseInfo arg2ResponseValue = new CommandResponseInfo("arg2", "Integer"); - responseValues.put(arg2ResponseValue, arg2); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterTestNullableOptionalResponseCallback - implements ChipClusters.UnitTestingCluster.TestNullableOptionalResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - Boolean wasPresent, - Optional wasNull, - Optional value, - @Nullable Optional originalValue) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo wasPresentResponseValue = - new CommandResponseInfo("wasPresent", "Boolean"); - responseValues.put(wasPresentResponseValue, wasPresent); - CommandResponseInfo wasNullResponseValue = - new CommandResponseInfo("wasNull", "Optional"); - responseValues.put(wasNullResponseValue, wasNull); - CommandResponseInfo valueResponseValue = - new CommandResponseInfo("value", "Optional"); - responseValues.put(valueResponseValue, value); - CommandResponseInfo originalValueResponseValue = - new CommandResponseInfo("originalValue", "Optional"); - responseValues.put(originalValueResponseValue, originalValue); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterBooleanResponseCallback - implements ChipClusters.UnitTestingCluster.BooleanResponseCallback, DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Boolean value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Boolean"); - responseValues.put(valueResponseValue, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterSimpleStructResponseCallback - implements ChipClusters.UnitTestingCluster.SimpleStructResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(ChipStructs.UnitTestingClusterSimpleStruct arg1) { - Map responseValues = new LinkedHashMap<>(); - // arg1: Struct SimpleStruct - // Conversion from this type to Java is not properly implemented yet - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterTestEmitTestEventResponseCallback - implements ChipClusters.UnitTestingCluster.TestEmitTestEventResponseCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo valueResponseValue = new CommandResponseInfo("value", "Long"); - responseValues.put(valueResponseValue, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception error) { - callback.onFailure(error); - } - } - - public static class DelegatedUnitTestingClusterListInt8uAttributeCallback - implements ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterListOctetStringAttributeCallback - implements ChipClusters.UnitTestingCluster.ListOctetStringAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterListStructOctetStringAttributeCallback - implements ChipClusters.UnitTestingCluster.ListStructOctetStringAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterListNullablesAndOptionalsStructAttributeCallback - implements ChipClusters.UnitTestingCluster.ListNullablesAndOptionalsStructAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess( - List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterListLongOctetStringAttributeCallback - implements ChipClusters.UnitTestingCluster.ListLongOctetStringAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterListFabricScopedAttributeCallback - implements ChipClusters.UnitTestingCluster.ListFabricScopedAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = - new CommandResponseInfo( - "valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableBooleanAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableBooleanAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Boolean value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Boolean"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableBitmap8AttributeCallback - implements ChipClusters.UnitTestingCluster.NullableBitmap8AttributeCallback, - 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 DelegatedUnitTestingClusterNullableBitmap16AttributeCallback - implements ChipClusters.UnitTestingCluster.NullableBitmap16AttributeCallback, - 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 DelegatedUnitTestingClusterNullableBitmap32AttributeCallback - implements ChipClusters.UnitTestingCluster.NullableBitmap32AttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableBitmap64AttributeCallback - implements ChipClusters.UnitTestingCluster.NullableBitmap64AttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt8uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt8uAttributeCallback, - 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 DelegatedUnitTestingClusterNullableInt16uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt16uAttributeCallback, - 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 DelegatedUnitTestingClusterNullableInt24uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt24uAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt32uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt32uAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt40uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt40uAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt48uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt48uAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt56uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt56uAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt64uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt64uAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt8sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt8sAttributeCallback, - 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 DelegatedUnitTestingClusterNullableInt16sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt16sAttributeCallback, - 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 DelegatedUnitTestingClusterNullableInt24sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt24sAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt32sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt32sAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt40sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt40sAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt48sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt48sAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt56sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt56sAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableInt64sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableInt64sAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Long value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Long"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableEnum8AttributeCallback - implements ChipClusters.UnitTestingCluster.NullableEnum8AttributeCallback, - 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 DelegatedUnitTestingClusterNullableEnum16AttributeCallback - implements ChipClusters.UnitTestingCluster.NullableEnum16AttributeCallback, - 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 DelegatedUnitTestingClusterNullableFloatSingleAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableFloatSingleAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Float value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Float"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableFloatDoubleAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableFloatDoubleAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable Double value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "Double"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableOctetStringAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableOctetStringAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable byte[] value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "byte[]"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableCharStringAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableCharStringAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(@Nullable String value) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("value", "String"); - responseValues.put(commandResponseInfo, value); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterNullableEnumAttrAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableEnumAttrAttributeCallback, - 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt8uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8uAttributeCallback, - 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt8sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt8sAttributeCallback, - 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt16uAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16uAttributeCallback, - 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 DelegatedUnitTestingClusterNullableRangeRestrictedInt16sAttributeCallback - implements ChipClusters.UnitTestingCluster.NullableRangeRestrictedInt16sAttributeCallback, - 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 DelegatedUnitTestingClusterGeneratedCommandListAttributeCallback - implements ChipClusters.UnitTestingCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterAcceptedCommandListAttributeCallback - implements ChipClusters.UnitTestingCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterEventListAttributeCallback - implements ChipClusters.UnitTestingCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedUnitTestingClusterAttributeListAttributeCallback - implements ChipClusters.UnitTestingCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFaultInjectionClusterGeneratedCommandListAttributeCallback - implements ChipClusters.FaultInjectionCluster.GeneratedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFaultInjectionClusterAcceptedCommandListAttributeCallback - implements ChipClusters.FaultInjectionCluster.AcceptedCommandListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFaultInjectionClusterEventListAttributeCallback - implements ChipClusters.FaultInjectionCluster.EventListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public static class DelegatedFaultInjectionClusterAttributeListAttributeCallback - implements ChipClusters.FaultInjectionCluster.AttributeListAttributeCallback, - DelegatedClusterCallback { - private ClusterCommandCallback callback; - - @Override - public void setCallbackDelegate(ClusterCommandCallback callback) { - this.callback = callback; - } - - @Override - public void onSuccess(List valueList) { - Map responseValues = new LinkedHashMap<>(); - CommandResponseInfo commandResponseInfo = new CommandResponseInfo("valueList", "List"); - responseValues.put(commandResponseInfo, valueList); - callback.onSuccess(responseValues); - } - - @Override - public void onError(Exception ex) { - callback.onFailure(ex); - } - } - - public Map getClusterMap() { - Map clusterMap = initializeClusterMap(); - Map> commandMap = getCommandMap(); - combineCommand(clusterMap, commandMap); - Map> readAttributeMap = - new ClusterReadMapping().getReadAttributeMap(); - combineCommand(clusterMap, readAttributeMap); - Map> writeAttributeMap = - new ClusterWriteMapping().getWriteAttributeMap(); - combineCommand(clusterMap, writeAttributeMap); - return clusterMap; - } - - public Map initializeClusterMap() { - Map clusterMap = new HashMap<>(); - ClusterInfo identifyClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.IdentifyCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("identify", identifyClusterInfo); - ClusterInfo groupsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.GroupsCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("groups", groupsClusterInfo); - ClusterInfo scenesClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ScenesCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("scenes", scenesClusterInfo); - ClusterInfo onOffClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.OnOffCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("onOff", onOffClusterInfo); - ClusterInfo onOffSwitchConfigurationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.OnOffSwitchConfigurationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("onOffSwitchConfiguration", onOffSwitchConfigurationClusterInfo); - ClusterInfo levelControlClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.LevelControlCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("levelControl", levelControlClusterInfo); - ClusterInfo binaryInputBasicClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BinaryInputBasicCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("binaryInputBasic", binaryInputBasicClusterInfo); - ClusterInfo pulseWidthModulationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.PulseWidthModulationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("pulseWidthModulation", pulseWidthModulationClusterInfo); - ClusterInfo descriptorClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.DescriptorCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("descriptor", descriptorClusterInfo); - ClusterInfo bindingClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BindingCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("binding", bindingClusterInfo); - ClusterInfo accessControlClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.AccessControlCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("accessControl", accessControlClusterInfo); - ClusterInfo actionsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ActionsCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("actions", actionsClusterInfo); - ClusterInfo basicInformationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BasicInformationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("basicInformation", basicInformationClusterInfo); - ClusterInfo otaSoftwareUpdateProviderClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.OtaSoftwareUpdateProviderCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("otaSoftwareUpdateProvider", otaSoftwareUpdateProviderClusterInfo); - ClusterInfo otaSoftwareUpdateRequestorClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.OtaSoftwareUpdateRequestorCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("otaSoftwareUpdateRequestor", otaSoftwareUpdateRequestorClusterInfo); - ClusterInfo localizationConfigurationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.LocalizationConfigurationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("localizationConfiguration", localizationConfigurationClusterInfo); - ClusterInfo timeFormatLocalizationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.TimeFormatLocalizationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("timeFormatLocalization", timeFormatLocalizationClusterInfo); - ClusterInfo unitLocalizationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.UnitLocalizationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("unitLocalization", unitLocalizationClusterInfo); - ClusterInfo powerSourceConfigurationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.PowerSourceConfigurationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("powerSourceConfiguration", powerSourceConfigurationClusterInfo); - ClusterInfo powerSourceClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.PowerSourceCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("powerSource", powerSourceClusterInfo); - ClusterInfo generalCommissioningClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.GeneralCommissioningCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("generalCommissioning", generalCommissioningClusterInfo); - ClusterInfo networkCommissioningClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.NetworkCommissioningCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("networkCommissioning", networkCommissioningClusterInfo); - ClusterInfo diagnosticLogsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.DiagnosticLogsCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("diagnosticLogs", diagnosticLogsClusterInfo); - ClusterInfo generalDiagnosticsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.GeneralDiagnosticsCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("generalDiagnostics", generalDiagnosticsClusterInfo); - ClusterInfo softwareDiagnosticsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.SoftwareDiagnosticsCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("softwareDiagnostics", softwareDiagnosticsClusterInfo); - ClusterInfo threadNetworkDiagnosticsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ThreadNetworkDiagnosticsCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("threadNetworkDiagnostics", threadNetworkDiagnosticsClusterInfo); - ClusterInfo wiFiNetworkDiagnosticsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.WiFiNetworkDiagnosticsCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("wiFiNetworkDiagnostics", wiFiNetworkDiagnosticsClusterInfo); - ClusterInfo ethernetNetworkDiagnosticsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.EthernetNetworkDiagnosticsCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("ethernetNetworkDiagnostics", ethernetNetworkDiagnosticsClusterInfo); - ClusterInfo timeSynchronizationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.TimeSynchronizationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("timeSynchronization", timeSynchronizationClusterInfo); - ClusterInfo bridgedDeviceBasicInformationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.BridgedDeviceBasicInformationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("bridgedDeviceBasicInformation", bridgedDeviceBasicInformationClusterInfo); - ClusterInfo switchClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.SwitchCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("switch", switchClusterInfo); - ClusterInfo administratorCommissioningClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.AdministratorCommissioningCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("administratorCommissioning", administratorCommissioningClusterInfo); - ClusterInfo operationalCredentialsClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.OperationalCredentialsCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("operationalCredentials", operationalCredentialsClusterInfo); - ClusterInfo groupKeyManagementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.GroupKeyManagementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("groupKeyManagement", groupKeyManagementClusterInfo); - ClusterInfo fixedLabelClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.FixedLabelCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("fixedLabel", fixedLabelClusterInfo); - ClusterInfo userLabelClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.UserLabelCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("userLabel", userLabelClusterInfo); - ClusterInfo proxyConfigurationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ProxyConfigurationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("proxyConfiguration", proxyConfigurationClusterInfo); - ClusterInfo proxyDiscoveryClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ProxyDiscoveryCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("proxyDiscovery", proxyDiscoveryClusterInfo); - ClusterInfo proxyValidClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ProxyValidCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("proxyValid", proxyValidClusterInfo); - ClusterInfo booleanStateClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BooleanStateCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("booleanState", booleanStateClusterInfo); - ClusterInfo icdManagementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.IcdManagementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("icdManagement", icdManagementClusterInfo); - ClusterInfo modeSelectClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ModeSelectCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("modeSelect", modeSelectClusterInfo); - ClusterInfo temperatureControlClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.TemperatureControlCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("temperatureControl", temperatureControlClusterInfo); - ClusterInfo refrigeratorAlarmClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.RefrigeratorAlarmCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("refrigeratorAlarm", refrigeratorAlarmClusterInfo); - ClusterInfo airQualityClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.AirQualityCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("airQuality", airQualityClusterInfo); - ClusterInfo smokeCoAlarmClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.SmokeCoAlarmCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("smokeCoAlarm", smokeCoAlarmClusterInfo); - ClusterInfo operationalStateClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.OperationalStateCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("operationalState", operationalStateClusterInfo); - ClusterInfo hepaFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.HepaFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("hepaFilterMonitoring", hepaFilterMonitoringClusterInfo); - ClusterInfo activatedCarbonFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ActivatedCarbonFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("activatedCarbonFilterMonitoring", activatedCarbonFilterMonitoringClusterInfo); - ClusterInfo ceramicFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.CeramicFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("ceramicFilterMonitoring", ceramicFilterMonitoringClusterInfo); - ClusterInfo electrostaticFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ElectrostaticFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("electrostaticFilterMonitoring", electrostaticFilterMonitoringClusterInfo); - ClusterInfo uvFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.UvFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("uvFilterMonitoring", uvFilterMonitoringClusterInfo); - ClusterInfo ionizingFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.IonizingFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("ionizingFilterMonitoring", ionizingFilterMonitoringClusterInfo); - ClusterInfo zeoliteFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ZeoliteFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("zeoliteFilterMonitoring", zeoliteFilterMonitoringClusterInfo); - ClusterInfo ozoneFilterMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.OzoneFilterMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("ozoneFilterMonitoring", ozoneFilterMonitoringClusterInfo); - ClusterInfo waterTankMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.WaterTankMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("waterTankMonitoring", waterTankMonitoringClusterInfo); - ClusterInfo fuelTankMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.FuelTankMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("fuelTankMonitoring", fuelTankMonitoringClusterInfo); - ClusterInfo inkCartridgeMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.InkCartridgeMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("inkCartridgeMonitoring", inkCartridgeMonitoringClusterInfo); - ClusterInfo tonerCartridgeMonitoringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.TonerCartridgeMonitoringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("tonerCartridgeMonitoring", tonerCartridgeMonitoringClusterInfo); - ClusterInfo doorLockClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.DoorLockCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("doorLock", doorLockClusterInfo); - ClusterInfo windowCoveringClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.WindowCoveringCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("windowCovering", windowCoveringClusterInfo); - ClusterInfo barrierControlClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BarrierControlCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("barrierControl", barrierControlClusterInfo); - ClusterInfo pumpConfigurationAndControlClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.PumpConfigurationAndControlCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("pumpConfigurationAndControl", pumpConfigurationAndControlClusterInfo); - ClusterInfo thermostatClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ThermostatCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("thermostat", thermostatClusterInfo); - ClusterInfo fanControlClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.FanControlCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("fanControl", fanControlClusterInfo); - ClusterInfo thermostatUserInterfaceConfigurationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ThermostatUserInterfaceConfigurationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "thermostatUserInterfaceConfiguration", thermostatUserInterfaceConfigurationClusterInfo); - ClusterInfo colorControlClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ColorControlCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("colorControl", colorControlClusterInfo); - ClusterInfo ballastConfigurationClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.BallastConfigurationCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("ballastConfiguration", ballastConfigurationClusterInfo); - ClusterInfo illuminanceMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.IlluminanceMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("illuminanceMeasurement", illuminanceMeasurementClusterInfo); - ClusterInfo temperatureMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.TemperatureMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("temperatureMeasurement", temperatureMeasurementClusterInfo); - ClusterInfo pressureMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.PressureMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("pressureMeasurement", pressureMeasurementClusterInfo); - ClusterInfo flowMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.FlowMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("flowMeasurement", flowMeasurementClusterInfo); - ClusterInfo relativeHumidityMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.RelativeHumidityMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("relativeHumidityMeasurement", relativeHumidityMeasurementClusterInfo); - ClusterInfo occupancySensingClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.OccupancySensingCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("occupancySensing", occupancySensingClusterInfo); - ClusterInfo carbonMonoxideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.CarbonMonoxideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "carbonMonoxideConcentrationMeasurement", - carbonMonoxideConcentrationMeasurementClusterInfo); - ClusterInfo carbonDioxideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.CarbonDioxideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "carbonDioxideConcentrationMeasurement", carbonDioxideConcentrationMeasurementClusterInfo); - ClusterInfo ethyleneConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.EthyleneConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("ethyleneConcentrationMeasurement", ethyleneConcentrationMeasurementClusterInfo); - ClusterInfo ethyleneOxideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.EthyleneOxideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "ethyleneOxideConcentrationMeasurement", ethyleneOxideConcentrationMeasurementClusterInfo); - ClusterInfo hydrogenConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.HydrogenConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("hydrogenConcentrationMeasurement", hydrogenConcentrationMeasurementClusterInfo); - ClusterInfo hydrogenSulfideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.HydrogenSulfideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "hydrogenSulfideConcentrationMeasurement", - hydrogenSulfideConcentrationMeasurementClusterInfo); - ClusterInfo nitricOxideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.NitricOxideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "nitricOxideConcentrationMeasurement", nitricOxideConcentrationMeasurementClusterInfo); - ClusterInfo nitrogenDioxideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.NitrogenDioxideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "nitrogenDioxideConcentrationMeasurement", - nitrogenDioxideConcentrationMeasurementClusterInfo); - ClusterInfo oxygenConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.OxygenConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("oxygenConcentrationMeasurement", oxygenConcentrationMeasurementClusterInfo); - ClusterInfo ozoneConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.OzoneConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("ozoneConcentrationMeasurement", ozoneConcentrationMeasurementClusterInfo); - ClusterInfo sulfurDioxideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.SulfurDioxideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "sulfurDioxideConcentrationMeasurement", sulfurDioxideConcentrationMeasurementClusterInfo); - ClusterInfo dissolvedOxygenConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.DissolvedOxygenConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "dissolvedOxygenConcentrationMeasurement", - dissolvedOxygenConcentrationMeasurementClusterInfo); - ClusterInfo bromateConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.BromateConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("bromateConcentrationMeasurement", bromateConcentrationMeasurementClusterInfo); - ClusterInfo chloraminesConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ChloraminesConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "chloraminesConcentrationMeasurement", chloraminesConcentrationMeasurementClusterInfo); - ClusterInfo chlorineConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ChlorineConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("chlorineConcentrationMeasurement", chlorineConcentrationMeasurementClusterInfo); - ClusterInfo fecalColiformEColiConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.FecalColiformEColiConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "fecalColiformEColiConcentrationMeasurement", - fecalColiformEColiConcentrationMeasurementClusterInfo); - ClusterInfo fluorideConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.FluorideConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("fluorideConcentrationMeasurement", fluorideConcentrationMeasurementClusterInfo); - ClusterInfo haloaceticAcidsConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.HaloaceticAcidsConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "haloaceticAcidsConcentrationMeasurement", - haloaceticAcidsConcentrationMeasurementClusterInfo); - ClusterInfo totalTrihalomethanesConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.TotalTrihalomethanesConcentrationMeasurementCluster( - ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "totalTrihalomethanesConcentrationMeasurement", - totalTrihalomethanesConcentrationMeasurementClusterInfo); - ClusterInfo totalColiformBacteriaConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.TotalColiformBacteriaConcentrationMeasurementCluster( - ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "totalColiformBacteriaConcentrationMeasurement", - totalColiformBacteriaConcentrationMeasurementClusterInfo); - ClusterInfo turbidityConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.TurbidityConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "turbidityConcentrationMeasurement", turbidityConcentrationMeasurementClusterInfo); - ClusterInfo copperConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.CopperConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("copperConcentrationMeasurement", copperConcentrationMeasurementClusterInfo); - ClusterInfo leadConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.LeadConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("leadConcentrationMeasurement", leadConcentrationMeasurementClusterInfo); - ClusterInfo manganeseConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ManganeseConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "manganeseConcentrationMeasurement", manganeseConcentrationMeasurementClusterInfo); - ClusterInfo sulfateConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.SulfateConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("sulfateConcentrationMeasurement", sulfateConcentrationMeasurementClusterInfo); - ClusterInfo bromodichloromethaneConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.BromodichloromethaneConcentrationMeasurementCluster( - ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "bromodichloromethaneConcentrationMeasurement", - bromodichloromethaneConcentrationMeasurementClusterInfo); - ClusterInfo bromoformConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.BromoformConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "bromoformConcentrationMeasurement", bromoformConcentrationMeasurementClusterInfo); - ClusterInfo chlorodibromomethaneConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ChlorodibromomethaneConcentrationMeasurementCluster( - ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "chlorodibromomethaneConcentrationMeasurement", - chlorodibromomethaneConcentrationMeasurementClusterInfo); - ClusterInfo chloroformConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.ChloroformConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "chloroformConcentrationMeasurement", chloroformConcentrationMeasurementClusterInfo); - ClusterInfo sodiumConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.SodiumConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("sodiumConcentrationMeasurement", sodiumConcentrationMeasurementClusterInfo); - ClusterInfo pm25ConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.Pm25ConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("pm25ConcentrationMeasurement", pm25ConcentrationMeasurementClusterInfo); - ClusterInfo formaldehydeConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.FormaldehydeConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "formaldehydeConcentrationMeasurement", formaldehydeConcentrationMeasurementClusterInfo); - ClusterInfo pm1ConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.Pm1ConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("pm1ConcentrationMeasurement", pm1ConcentrationMeasurementClusterInfo); - ClusterInfo pm10ConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.Pm10ConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("pm10ConcentrationMeasurement", pm10ConcentrationMeasurementClusterInfo); - ClusterInfo totalVolatileOrganicCompoundsConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.TotalVolatileOrganicCompoundsConcentrationMeasurementCluster( - ptr, endpointId), - new HashMap<>()); - clusterMap.put( - "totalVolatileOrganicCompoundsConcentrationMeasurement", - totalVolatileOrganicCompoundsConcentrationMeasurementClusterInfo); - ClusterInfo radonConcentrationMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> - new ChipClusters.RadonConcentrationMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("radonConcentrationMeasurement", radonConcentrationMeasurementClusterInfo); - ClusterInfo wakeOnLanClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.WakeOnLanCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("wakeOnLan", wakeOnLanClusterInfo); - ClusterInfo channelClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ChannelCluster(ptr, endpointId), new HashMap<>()); - clusterMap.put("channel", channelClusterInfo); - ClusterInfo targetNavigatorClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.TargetNavigatorCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("targetNavigator", targetNavigatorClusterInfo); - ClusterInfo mediaPlaybackClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.MediaPlaybackCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("mediaPlayback", mediaPlaybackClusterInfo); - ClusterInfo mediaInputClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.MediaInputCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("mediaInput", mediaInputClusterInfo); - ClusterInfo lowPowerClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.LowPowerCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("lowPower", lowPowerClusterInfo); - ClusterInfo keypadInputClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.KeypadInputCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("keypadInput", keypadInputClusterInfo); - ClusterInfo contentLauncherClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ContentLauncherCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("contentLauncher", contentLauncherClusterInfo); - ClusterInfo audioOutputClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.AudioOutputCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("audioOutput", audioOutputClusterInfo); - ClusterInfo applicationLauncherClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ApplicationLauncherCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("applicationLauncher", applicationLauncherClusterInfo); - ClusterInfo applicationBasicClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ApplicationBasicCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("applicationBasic", applicationBasicClusterInfo); - ClusterInfo accountLoginClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.AccountLoginCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("accountLogin", accountLoginClusterInfo); - ClusterInfo electricalMeasurementClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.ElectricalMeasurementCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("electricalMeasurement", electricalMeasurementClusterInfo); - ClusterInfo unitTestingClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.UnitTestingCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("unitTesting", unitTestingClusterInfo); - ClusterInfo faultInjectionClusterInfo = - new ClusterInfo( - (ptr, endpointId) -> new ChipClusters.FaultInjectionCluster(ptr, endpointId), - new HashMap<>()); - clusterMap.put("faultInjection", faultInjectionClusterInfo); - return clusterMap; - } - - public void combineCommand( - Map destination, Map> source) { - destination.get("identify").combineCommands(source.get("identify")); - destination.get("groups").combineCommands(source.get("groups")); - destination.get("scenes").combineCommands(source.get("scenes")); - destination.get("onOff").combineCommands(source.get("onOff")); - destination - .get("onOffSwitchConfiguration") - .combineCommands(source.get("onOffSwitchConfiguration")); - destination.get("levelControl").combineCommands(source.get("levelControl")); - destination.get("binaryInputBasic").combineCommands(source.get("binaryInputBasic")); - destination.get("pulseWidthModulation").combineCommands(source.get("pulseWidthModulation")); - destination.get("descriptor").combineCommands(source.get("descriptor")); - destination.get("binding").combineCommands(source.get("binding")); - destination.get("accessControl").combineCommands(source.get("accessControl")); - destination.get("actions").combineCommands(source.get("actions")); - destination.get("basicInformation").combineCommands(source.get("basicInformation")); - destination - .get("otaSoftwareUpdateProvider") - .combineCommands(source.get("otaSoftwareUpdateProvider")); - destination - .get("otaSoftwareUpdateRequestor") - .combineCommands(source.get("otaSoftwareUpdateRequestor")); - destination - .get("localizationConfiguration") - .combineCommands(source.get("localizationConfiguration")); - destination.get("timeFormatLocalization").combineCommands(source.get("timeFormatLocalization")); - destination.get("unitLocalization").combineCommands(source.get("unitLocalization")); - destination - .get("powerSourceConfiguration") - .combineCommands(source.get("powerSourceConfiguration")); - destination.get("powerSource").combineCommands(source.get("powerSource")); - destination.get("generalCommissioning").combineCommands(source.get("generalCommissioning")); - destination.get("networkCommissioning").combineCommands(source.get("networkCommissioning")); - destination.get("diagnosticLogs").combineCommands(source.get("diagnosticLogs")); - destination.get("generalDiagnostics").combineCommands(source.get("generalDiagnostics")); - destination.get("softwareDiagnostics").combineCommands(source.get("softwareDiagnostics")); - destination - .get("threadNetworkDiagnostics") - .combineCommands(source.get("threadNetworkDiagnostics")); - destination.get("wiFiNetworkDiagnostics").combineCommands(source.get("wiFiNetworkDiagnostics")); - destination - .get("ethernetNetworkDiagnostics") - .combineCommands(source.get("ethernetNetworkDiagnostics")); - destination.get("timeSynchronization").combineCommands(source.get("timeSynchronization")); - destination - .get("bridgedDeviceBasicInformation") - .combineCommands(source.get("bridgedDeviceBasicInformation")); - destination.get("switch").combineCommands(source.get("switch")); - destination - .get("administratorCommissioning") - .combineCommands(source.get("administratorCommissioning")); - destination.get("operationalCredentials").combineCommands(source.get("operationalCredentials")); - destination.get("groupKeyManagement").combineCommands(source.get("groupKeyManagement")); - destination.get("fixedLabel").combineCommands(source.get("fixedLabel")); - destination.get("userLabel").combineCommands(source.get("userLabel")); - destination.get("proxyConfiguration").combineCommands(source.get("proxyConfiguration")); - destination.get("proxyDiscovery").combineCommands(source.get("proxyDiscovery")); - destination.get("proxyValid").combineCommands(source.get("proxyValid")); - destination.get("booleanState").combineCommands(source.get("booleanState")); - destination.get("icdManagement").combineCommands(source.get("icdManagement")); - destination.get("modeSelect").combineCommands(source.get("modeSelect")); - destination.get("temperatureControl").combineCommands(source.get("temperatureControl")); - destination.get("refrigeratorAlarm").combineCommands(source.get("refrigeratorAlarm")); - destination.get("airQuality").combineCommands(source.get("airQuality")); - destination.get("smokeCoAlarm").combineCommands(source.get("smokeCoAlarm")); - destination.get("operationalState").combineCommands(source.get("operationalState")); - destination.get("hepaFilterMonitoring").combineCommands(source.get("hepaFilterMonitoring")); - destination - .get("activatedCarbonFilterMonitoring") - .combineCommands(source.get("activatedCarbonFilterMonitoring")); - destination - .get("ceramicFilterMonitoring") - .combineCommands(source.get("ceramicFilterMonitoring")); - destination - .get("electrostaticFilterMonitoring") - .combineCommands(source.get("electrostaticFilterMonitoring")); - destination.get("uvFilterMonitoring").combineCommands(source.get("uvFilterMonitoring")); - destination - .get("ionizingFilterMonitoring") - .combineCommands(source.get("ionizingFilterMonitoring")); - destination - .get("zeoliteFilterMonitoring") - .combineCommands(source.get("zeoliteFilterMonitoring")); - destination.get("ozoneFilterMonitoring").combineCommands(source.get("ozoneFilterMonitoring")); - destination.get("waterTankMonitoring").combineCommands(source.get("waterTankMonitoring")); - destination.get("fuelTankMonitoring").combineCommands(source.get("fuelTankMonitoring")); - destination.get("inkCartridgeMonitoring").combineCommands(source.get("inkCartridgeMonitoring")); - destination - .get("tonerCartridgeMonitoring") - .combineCommands(source.get("tonerCartridgeMonitoring")); - destination.get("doorLock").combineCommands(source.get("doorLock")); - destination.get("windowCovering").combineCommands(source.get("windowCovering")); - destination.get("barrierControl").combineCommands(source.get("barrierControl")); - destination - .get("pumpConfigurationAndControl") - .combineCommands(source.get("pumpConfigurationAndControl")); - destination.get("thermostat").combineCommands(source.get("thermostat")); - destination.get("fanControl").combineCommands(source.get("fanControl")); - destination - .get("thermostatUserInterfaceConfiguration") - .combineCommands(source.get("thermostatUserInterfaceConfiguration")); - destination.get("colorControl").combineCommands(source.get("colorControl")); - destination.get("ballastConfiguration").combineCommands(source.get("ballastConfiguration")); - destination.get("illuminanceMeasurement").combineCommands(source.get("illuminanceMeasurement")); - destination.get("temperatureMeasurement").combineCommands(source.get("temperatureMeasurement")); - destination.get("pressureMeasurement").combineCommands(source.get("pressureMeasurement")); - destination.get("flowMeasurement").combineCommands(source.get("flowMeasurement")); - destination - .get("relativeHumidityMeasurement") - .combineCommands(source.get("relativeHumidityMeasurement")); - destination.get("occupancySensing").combineCommands(source.get("occupancySensing")); - destination - .get("carbonMonoxideConcentrationMeasurement") - .combineCommands(source.get("carbonMonoxideConcentrationMeasurement")); - destination - .get("carbonDioxideConcentrationMeasurement") - .combineCommands(source.get("carbonDioxideConcentrationMeasurement")); - destination - .get("ethyleneConcentrationMeasurement") - .combineCommands(source.get("ethyleneConcentrationMeasurement")); - destination - .get("ethyleneOxideConcentrationMeasurement") - .combineCommands(source.get("ethyleneOxideConcentrationMeasurement")); - destination - .get("hydrogenConcentrationMeasurement") - .combineCommands(source.get("hydrogenConcentrationMeasurement")); - destination - .get("hydrogenSulfideConcentrationMeasurement") - .combineCommands(source.get("hydrogenSulfideConcentrationMeasurement")); - destination - .get("nitricOxideConcentrationMeasurement") - .combineCommands(source.get("nitricOxideConcentrationMeasurement")); - destination - .get("nitrogenDioxideConcentrationMeasurement") - .combineCommands(source.get("nitrogenDioxideConcentrationMeasurement")); - destination - .get("oxygenConcentrationMeasurement") - .combineCommands(source.get("oxygenConcentrationMeasurement")); - destination - .get("ozoneConcentrationMeasurement") - .combineCommands(source.get("ozoneConcentrationMeasurement")); - destination - .get("sulfurDioxideConcentrationMeasurement") - .combineCommands(source.get("sulfurDioxideConcentrationMeasurement")); - destination - .get("dissolvedOxygenConcentrationMeasurement") - .combineCommands(source.get("dissolvedOxygenConcentrationMeasurement")); - destination - .get("bromateConcentrationMeasurement") - .combineCommands(source.get("bromateConcentrationMeasurement")); - destination - .get("chloraminesConcentrationMeasurement") - .combineCommands(source.get("chloraminesConcentrationMeasurement")); - destination - .get("chlorineConcentrationMeasurement") - .combineCommands(source.get("chlorineConcentrationMeasurement")); - destination - .get("fecalColiformEColiConcentrationMeasurement") - .combineCommands(source.get("fecalColiformEColiConcentrationMeasurement")); - destination - .get("fluorideConcentrationMeasurement") - .combineCommands(source.get("fluorideConcentrationMeasurement")); - destination - .get("haloaceticAcidsConcentrationMeasurement") - .combineCommands(source.get("haloaceticAcidsConcentrationMeasurement")); - destination - .get("totalTrihalomethanesConcentrationMeasurement") - .combineCommands(source.get("totalTrihalomethanesConcentrationMeasurement")); - destination - .get("totalColiformBacteriaConcentrationMeasurement") - .combineCommands(source.get("totalColiformBacteriaConcentrationMeasurement")); - destination - .get("turbidityConcentrationMeasurement") - .combineCommands(source.get("turbidityConcentrationMeasurement")); - destination - .get("copperConcentrationMeasurement") - .combineCommands(source.get("copperConcentrationMeasurement")); - destination - .get("leadConcentrationMeasurement") - .combineCommands(source.get("leadConcentrationMeasurement")); - destination - .get("manganeseConcentrationMeasurement") - .combineCommands(source.get("manganeseConcentrationMeasurement")); - destination - .get("sulfateConcentrationMeasurement") - .combineCommands(source.get("sulfateConcentrationMeasurement")); - destination - .get("bromodichloromethaneConcentrationMeasurement") - .combineCommands(source.get("bromodichloromethaneConcentrationMeasurement")); - destination - .get("bromoformConcentrationMeasurement") - .combineCommands(source.get("bromoformConcentrationMeasurement")); - destination - .get("chlorodibromomethaneConcentrationMeasurement") - .combineCommands(source.get("chlorodibromomethaneConcentrationMeasurement")); - destination - .get("chloroformConcentrationMeasurement") - .combineCommands(source.get("chloroformConcentrationMeasurement")); - destination - .get("sodiumConcentrationMeasurement") - .combineCommands(source.get("sodiumConcentrationMeasurement")); - destination - .get("pm25ConcentrationMeasurement") - .combineCommands(source.get("pm25ConcentrationMeasurement")); - destination - .get("formaldehydeConcentrationMeasurement") - .combineCommands(source.get("formaldehydeConcentrationMeasurement")); - destination - .get("pm1ConcentrationMeasurement") - .combineCommands(source.get("pm1ConcentrationMeasurement")); - destination - .get("pm10ConcentrationMeasurement") - .combineCommands(source.get("pm10ConcentrationMeasurement")); - destination - .get("totalVolatileOrganicCompoundsConcentrationMeasurement") - .combineCommands(source.get("totalVolatileOrganicCompoundsConcentrationMeasurement")); - destination - .get("radonConcentrationMeasurement") - .combineCommands(source.get("radonConcentrationMeasurement")); - destination.get("wakeOnLan").combineCommands(source.get("wakeOnLan")); - destination.get("channel").combineCommands(source.get("channel")); - destination.get("targetNavigator").combineCommands(source.get("targetNavigator")); - destination.get("mediaPlayback").combineCommands(source.get("mediaPlayback")); - destination.get("mediaInput").combineCommands(source.get("mediaInput")); - destination.get("lowPower").combineCommands(source.get("lowPower")); - destination.get("keypadInput").combineCommands(source.get("keypadInput")); - destination.get("contentLauncher").combineCommands(source.get("contentLauncher")); - destination.get("audioOutput").combineCommands(source.get("audioOutput")); - destination.get("applicationLauncher").combineCommands(source.get("applicationLauncher")); - destination.get("applicationBasic").combineCommands(source.get("applicationBasic")); - destination.get("accountLogin").combineCommands(source.get("accountLogin")); - destination.get("electricalMeasurement").combineCommands(source.get("electricalMeasurement")); - destination.get("unitTesting").combineCommands(source.get("unitTesting")); - destination.get("faultInjection").combineCommands(source.get("faultInjection")); - } - - @SuppressWarnings("unchecked") - public Map> getCommandMap() { - Map> commandMap = new HashMap<>(); - Map identifyClusterInteractionInfoMap = new LinkedHashMap<>(); - Map identifyidentifyCommandParams = - new LinkedHashMap(); - CommandParameterInfo identifyidentifyidentifyTimeCommandParameterInfo = - new CommandParameterInfo("identifyTime", Integer.class, Integer.class); - identifyidentifyCommandParams.put( - "identifyTime", identifyidentifyidentifyTimeCommandParameterInfo); - - InteractionInfo identifyidentifyInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .identify( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("identifyTime")); - }, - () -> new DelegatedDefaultClusterCallback(), - identifyidentifyCommandParams); - identifyClusterInteractionInfoMap.put("identify", identifyidentifyInteractionInfo); - Map identifytriggerEffectCommandParams = - new LinkedHashMap(); - CommandParameterInfo identifytriggerEffecteffectIdentifierCommandParameterInfo = - new CommandParameterInfo("effectIdentifier", Integer.class, Integer.class); - identifytriggerEffectCommandParams.put( - "effectIdentifier", identifytriggerEffecteffectIdentifierCommandParameterInfo); - - CommandParameterInfo identifytriggerEffecteffectVariantCommandParameterInfo = - new CommandParameterInfo("effectVariant", Integer.class, Integer.class); - identifytriggerEffectCommandParams.put( - "effectVariant", identifytriggerEffecteffectVariantCommandParameterInfo); - - InteractionInfo identifytriggerEffectInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster) - .triggerEffect( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("effectIdentifier"), - (Integer) commandArguments.get("effectVariant")); - }, - () -> new DelegatedDefaultClusterCallback(), - identifytriggerEffectCommandParams); - identifyClusterInteractionInfoMap.put("triggerEffect", identifytriggerEffectInteractionInfo); - commandMap.put("identify", identifyClusterInteractionInfoMap); - Map groupsClusterInteractionInfoMap = new LinkedHashMap<>(); - Map groupsaddGroupCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupsaddGroupgroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - groupsaddGroupCommandParams.put("groupID", groupsaddGroupgroupIDCommandParameterInfo); - - CommandParameterInfo groupsaddGroupgroupNameCommandParameterInfo = - new CommandParameterInfo("groupName", String.class, String.class); - groupsaddGroupCommandParams.put("groupName", groupsaddGroupgroupNameCommandParameterInfo); - - InteractionInfo groupsaddGroupInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .addGroup( - (ChipClusters.GroupsCluster.AddGroupResponseCallback) callback, - (Integer) commandArguments.get("groupID"), - (String) commandArguments.get("groupName")); - }, - () -> new DelegatedGroupsClusterAddGroupResponseCallback(), - groupsaddGroupCommandParams); - groupsClusterInteractionInfoMap.put("addGroup", groupsaddGroupInteractionInfo); - Map groupsviewGroupCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupsviewGroupgroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - groupsviewGroupCommandParams.put("groupID", groupsviewGroupgroupIDCommandParameterInfo); - - InteractionInfo groupsviewGroupInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .viewGroup( - (ChipClusters.GroupsCluster.ViewGroupResponseCallback) callback, - (Integer) commandArguments.get("groupID")); - }, - () -> new DelegatedGroupsClusterViewGroupResponseCallback(), - groupsviewGroupCommandParams); - groupsClusterInteractionInfoMap.put("viewGroup", groupsviewGroupInteractionInfo); - Map groupsgetGroupMembershipCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupsgetGroupMembershipgroupListCommandParameterInfo = - new CommandParameterInfo("groupList", ArrayList.class, Integer.class); - groupsgetGroupMembershipCommandParams.put( - "groupList", groupsgetGroupMembershipgroupListCommandParameterInfo); - - InteractionInfo groupsgetGroupMembershipInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .getGroupMembership( - (ChipClusters.GroupsCluster.GetGroupMembershipResponseCallback) callback, - (ArrayList) commandArguments.get("groupList")); - }, - () -> new DelegatedGroupsClusterGetGroupMembershipResponseCallback(), - groupsgetGroupMembershipCommandParams); - groupsClusterInteractionInfoMap.put( - "getGroupMembership", groupsgetGroupMembershipInteractionInfo); - Map groupsremoveGroupCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupsremoveGroupgroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - groupsremoveGroupCommandParams.put("groupID", groupsremoveGroupgroupIDCommandParameterInfo); - - InteractionInfo groupsremoveGroupInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .removeGroup( - (ChipClusters.GroupsCluster.RemoveGroupResponseCallback) callback, - (Integer) commandArguments.get("groupID")); - }, - () -> new DelegatedGroupsClusterRemoveGroupResponseCallback(), - groupsremoveGroupCommandParams); - groupsClusterInteractionInfoMap.put("removeGroup", groupsremoveGroupInteractionInfo); - Map groupsremoveAllGroupsCommandParams = - new LinkedHashMap(); - InteractionInfo groupsremoveAllGroupsInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .removeAllGroups((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - groupsremoveAllGroupsCommandParams); - groupsClusterInteractionInfoMap.put("removeAllGroups", groupsremoveAllGroupsInteractionInfo); - Map groupsaddGroupIfIdentifyingCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupsaddGroupIfIdentifyinggroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - groupsaddGroupIfIdentifyingCommandParams.put( - "groupID", groupsaddGroupIfIdentifyinggroupIDCommandParameterInfo); - - CommandParameterInfo groupsaddGroupIfIdentifyinggroupNameCommandParameterInfo = - new CommandParameterInfo("groupName", String.class, String.class); - groupsaddGroupIfIdentifyingCommandParams.put( - "groupName", groupsaddGroupIfIdentifyinggroupNameCommandParameterInfo); - - InteractionInfo groupsaddGroupIfIdentifyingInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupsCluster) cluster) - .addGroupIfIdentifying( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("groupID"), - (String) commandArguments.get("groupName")); - }, - () -> new DelegatedDefaultClusterCallback(), - groupsaddGroupIfIdentifyingCommandParams); - groupsClusterInteractionInfoMap.put( - "addGroupIfIdentifying", groupsaddGroupIfIdentifyingInteractionInfo); - commandMap.put("groups", groupsClusterInteractionInfoMap); - Map scenesClusterInteractionInfoMap = new LinkedHashMap<>(); - Map scenesaddSceneCommandParams = - new LinkedHashMap(); - CommandParameterInfo scenesaddScenegroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - scenesaddSceneCommandParams.put("groupID", scenesaddScenegroupIDCommandParameterInfo); - - CommandParameterInfo scenesaddScenesceneIDCommandParameterInfo = - new CommandParameterInfo("sceneID", Integer.class, Integer.class); - scenesaddSceneCommandParams.put("sceneID", scenesaddScenesceneIDCommandParameterInfo); - - CommandParameterInfo scenesaddScenetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - scenesaddSceneCommandParams.put( - "transitionTime", scenesaddScenetransitionTimeCommandParameterInfo); - - CommandParameterInfo scenesaddScenesceneNameCommandParameterInfo = - new CommandParameterInfo("sceneName", String.class, String.class); - scenesaddSceneCommandParams.put("sceneName", scenesaddScenesceneNameCommandParameterInfo); - - InteractionInfo scenesaddSceneInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .addScene( - (ChipClusters.ScenesCluster.AddSceneResponseCallback) callback, - (Integer) commandArguments.get("groupID"), - (Integer) commandArguments.get("sceneID"), - (Integer) commandArguments.get("transitionTime"), - (String) commandArguments.get("sceneName"), - (ArrayList) - commandArguments.get("extensionFieldSets")); - }, - () -> new DelegatedScenesClusterAddSceneResponseCallback(), - scenesaddSceneCommandParams); - scenesClusterInteractionInfoMap.put("addScene", scenesaddSceneInteractionInfo); - Map scenesviewSceneCommandParams = - new LinkedHashMap(); - CommandParameterInfo scenesviewScenegroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - scenesviewSceneCommandParams.put("groupID", scenesviewScenegroupIDCommandParameterInfo); - - CommandParameterInfo scenesviewScenesceneIDCommandParameterInfo = - new CommandParameterInfo("sceneID", Integer.class, Integer.class); - scenesviewSceneCommandParams.put("sceneID", scenesviewScenesceneIDCommandParameterInfo); - - InteractionInfo scenesviewSceneInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .viewScene( - (ChipClusters.ScenesCluster.ViewSceneResponseCallback) callback, - (Integer) commandArguments.get("groupID"), - (Integer) commandArguments.get("sceneID")); - }, - () -> new DelegatedScenesClusterViewSceneResponseCallback(), - scenesviewSceneCommandParams); - scenesClusterInteractionInfoMap.put("viewScene", scenesviewSceneInteractionInfo); - Map scenesremoveSceneCommandParams = - new LinkedHashMap(); - CommandParameterInfo scenesremoveScenegroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - scenesremoveSceneCommandParams.put("groupID", scenesremoveScenegroupIDCommandParameterInfo); - - CommandParameterInfo scenesremoveScenesceneIDCommandParameterInfo = - new CommandParameterInfo("sceneID", Integer.class, Integer.class); - scenesremoveSceneCommandParams.put("sceneID", scenesremoveScenesceneIDCommandParameterInfo); - - InteractionInfo scenesremoveSceneInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .removeScene( - (ChipClusters.ScenesCluster.RemoveSceneResponseCallback) callback, - (Integer) commandArguments.get("groupID"), - (Integer) commandArguments.get("sceneID")); - }, - () -> new DelegatedScenesClusterRemoveSceneResponseCallback(), - scenesremoveSceneCommandParams); - scenesClusterInteractionInfoMap.put("removeScene", scenesremoveSceneInteractionInfo); - Map scenesremoveAllScenesCommandParams = - new LinkedHashMap(); - CommandParameterInfo scenesremoveAllScenesgroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - scenesremoveAllScenesCommandParams.put( - "groupID", scenesremoveAllScenesgroupIDCommandParameterInfo); - - InteractionInfo scenesremoveAllScenesInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .removeAllScenes( - (ChipClusters.ScenesCluster.RemoveAllScenesResponseCallback) callback, - (Integer) commandArguments.get("groupID")); - }, - () -> new DelegatedScenesClusterRemoveAllScenesResponseCallback(), - scenesremoveAllScenesCommandParams); - scenesClusterInteractionInfoMap.put("removeAllScenes", scenesremoveAllScenesInteractionInfo); - Map scenesstoreSceneCommandParams = - new LinkedHashMap(); - CommandParameterInfo scenesstoreScenegroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - scenesstoreSceneCommandParams.put("groupID", scenesstoreScenegroupIDCommandParameterInfo); - - CommandParameterInfo scenesstoreScenesceneIDCommandParameterInfo = - new CommandParameterInfo("sceneID", Integer.class, Integer.class); - scenesstoreSceneCommandParams.put("sceneID", scenesstoreScenesceneIDCommandParameterInfo); - - InteractionInfo scenesstoreSceneInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .storeScene( - (ChipClusters.ScenesCluster.StoreSceneResponseCallback) callback, - (Integer) commandArguments.get("groupID"), - (Integer) commandArguments.get("sceneID")); - }, - () -> new DelegatedScenesClusterStoreSceneResponseCallback(), - scenesstoreSceneCommandParams); - scenesClusterInteractionInfoMap.put("storeScene", scenesstoreSceneInteractionInfo); - Map scenesrecallSceneCommandParams = - new LinkedHashMap(); - CommandParameterInfo scenesrecallScenegroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - scenesrecallSceneCommandParams.put("groupID", scenesrecallScenegroupIDCommandParameterInfo); - - CommandParameterInfo scenesrecallScenesceneIDCommandParameterInfo = - new CommandParameterInfo("sceneID", Integer.class, Integer.class); - scenesrecallSceneCommandParams.put("sceneID", scenesrecallScenesceneIDCommandParameterInfo); - - CommandParameterInfo scenesrecallScenetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Optional.class, Integer.class); - scenesrecallSceneCommandParams.put( - "transitionTime", scenesrecallScenetransitionTimeCommandParameterInfo); - - InteractionInfo scenesrecallSceneInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .recallScene( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("groupID"), - (Integer) commandArguments.get("sceneID"), - (Optional) commandArguments.get("transitionTime")); - }, - () -> new DelegatedDefaultClusterCallback(), - scenesrecallSceneCommandParams); - scenesClusterInteractionInfoMap.put("recallScene", scenesrecallSceneInteractionInfo); - Map scenesgetSceneMembershipCommandParams = - new LinkedHashMap(); - CommandParameterInfo scenesgetSceneMembershipgroupIDCommandParameterInfo = - new CommandParameterInfo("groupID", Integer.class, Integer.class); - scenesgetSceneMembershipCommandParams.put( - "groupID", scenesgetSceneMembershipgroupIDCommandParameterInfo); - - InteractionInfo scenesgetSceneMembershipInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ScenesCluster) cluster) - .getSceneMembership( - (ChipClusters.ScenesCluster.GetSceneMembershipResponseCallback) callback, - (Integer) commandArguments.get("groupID")); - }, - () -> new DelegatedScenesClusterGetSceneMembershipResponseCallback(), - scenesgetSceneMembershipCommandParams); - scenesClusterInteractionInfoMap.put( - "getSceneMembership", scenesgetSceneMembershipInteractionInfo); - commandMap.put("scenes", scenesClusterInteractionInfoMap); - Map onOffClusterInteractionInfoMap = new LinkedHashMap<>(); - Map onOffoffCommandParams = - new LinkedHashMap(); - InteractionInfo onOffoffInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).off((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - onOffoffCommandParams); - onOffClusterInteractionInfoMap.put("off", onOffoffInteractionInfo); - Map onOffonCommandParams = - new LinkedHashMap(); - InteractionInfo onOffonInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).on((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - onOffonCommandParams); - onOffClusterInteractionInfoMap.put("on", onOffonInteractionInfo); - Map onOfftoggleCommandParams = - new LinkedHashMap(); - InteractionInfo onOfftoggleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).toggle((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - onOfftoggleCommandParams); - onOffClusterInteractionInfoMap.put("toggle", onOfftoggleInteractionInfo); - Map onOffoffWithEffectCommandParams = - new LinkedHashMap(); - CommandParameterInfo onOffoffWithEffecteffectIdentifierCommandParameterInfo = - new CommandParameterInfo("effectIdentifier", Integer.class, Integer.class); - onOffoffWithEffectCommandParams.put( - "effectIdentifier", onOffoffWithEffecteffectIdentifierCommandParameterInfo); - - CommandParameterInfo onOffoffWithEffecteffectVariantCommandParameterInfo = - new CommandParameterInfo("effectVariant", Integer.class, Integer.class); - onOffoffWithEffectCommandParams.put( - "effectVariant", onOffoffWithEffecteffectVariantCommandParameterInfo); - - InteractionInfo onOffoffWithEffectInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .offWithEffect( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("effectIdentifier"), - (Integer) commandArguments.get("effectVariant")); - }, - () -> new DelegatedDefaultClusterCallback(), - onOffoffWithEffectCommandParams); - onOffClusterInteractionInfoMap.put("offWithEffect", onOffoffWithEffectInteractionInfo); - Map onOffonWithRecallGlobalSceneCommandParams = - new LinkedHashMap(); - InteractionInfo onOffonWithRecallGlobalSceneInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .onWithRecallGlobalScene((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - onOffonWithRecallGlobalSceneCommandParams); - onOffClusterInteractionInfoMap.put( - "onWithRecallGlobalScene", onOffonWithRecallGlobalSceneInteractionInfo); - Map onOffonWithTimedOffCommandParams = - new LinkedHashMap(); - CommandParameterInfo onOffonWithTimedOffonOffControlCommandParameterInfo = - new CommandParameterInfo("onOffControl", Integer.class, Integer.class); - onOffonWithTimedOffCommandParams.put( - "onOffControl", onOffonWithTimedOffonOffControlCommandParameterInfo); - - CommandParameterInfo onOffonWithTimedOffonTimeCommandParameterInfo = - new CommandParameterInfo("onTime", Integer.class, Integer.class); - onOffonWithTimedOffCommandParams.put("onTime", onOffonWithTimedOffonTimeCommandParameterInfo); - - CommandParameterInfo onOffonWithTimedOffoffWaitTimeCommandParameterInfo = - new CommandParameterInfo("offWaitTime", Integer.class, Integer.class); - onOffonWithTimedOffCommandParams.put( - "offWaitTime", onOffonWithTimedOffoffWaitTimeCommandParameterInfo); - - InteractionInfo onOffonWithTimedOffInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster) - .onWithTimedOff( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("onOffControl"), - (Integer) commandArguments.get("onTime"), - (Integer) commandArguments.get("offWaitTime")); - }, - () -> new DelegatedDefaultClusterCallback(), - onOffonWithTimedOffCommandParams); - onOffClusterInteractionInfoMap.put("onWithTimedOff", onOffonWithTimedOffInteractionInfo); - commandMap.put("onOff", onOffClusterInteractionInfoMap); - Map onOffSwitchConfigurationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("onOffSwitchConfiguration", onOffSwitchConfigurationClusterInteractionInfoMap); - Map levelControlClusterInteractionInfoMap = new LinkedHashMap<>(); - Map levelControlmoveToLevelCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlmoveToLevellevelCommandParameterInfo = - new CommandParameterInfo("level", Integer.class, Integer.class); - levelControlmoveToLevelCommandParams.put( - "level", levelControlmoveToLevellevelCommandParameterInfo); - - CommandParameterInfo levelControlmoveToLeveltransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - levelControlmoveToLevelCommandParams.put( - "transitionTime", levelControlmoveToLeveltransitionTimeCommandParameterInfo); - - CommandParameterInfo levelControlmoveToLeveloptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlmoveToLevelCommandParams.put( - "optionsMask", levelControlmoveToLeveloptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlmoveToLeveloptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlmoveToLevelCommandParams.put( - "optionsOverride", levelControlmoveToLeveloptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlmoveToLevelInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .moveToLevel( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("level"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlmoveToLevelCommandParams); - levelControlClusterInteractionInfoMap.put( - "moveToLevel", levelControlmoveToLevelInteractionInfo); - Map levelControlmoveCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlmovemoveModeCommandParameterInfo = - new CommandParameterInfo("moveMode", Integer.class, Integer.class); - levelControlmoveCommandParams.put("moveMode", levelControlmovemoveModeCommandParameterInfo); - - CommandParameterInfo levelControlmoverateCommandParameterInfo = - new CommandParameterInfo("rate", Integer.class, Integer.class); - levelControlmoveCommandParams.put("rate", levelControlmoverateCommandParameterInfo); - - CommandParameterInfo levelControlmoveoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlmoveCommandParams.put( - "optionsMask", levelControlmoveoptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlmoveoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlmoveCommandParams.put( - "optionsOverride", levelControlmoveoptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlmoveInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .move( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("moveMode"), - (Integer) commandArguments.get("rate"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlmoveCommandParams); - levelControlClusterInteractionInfoMap.put("move", levelControlmoveInteractionInfo); - Map levelControlstepCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlstepstepModeCommandParameterInfo = - new CommandParameterInfo("stepMode", Integer.class, Integer.class); - levelControlstepCommandParams.put("stepMode", levelControlstepstepModeCommandParameterInfo); - - CommandParameterInfo levelControlstepstepSizeCommandParameterInfo = - new CommandParameterInfo("stepSize", Integer.class, Integer.class); - levelControlstepCommandParams.put("stepSize", levelControlstepstepSizeCommandParameterInfo); - - CommandParameterInfo levelControlsteptransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - levelControlstepCommandParams.put( - "transitionTime", levelControlsteptransitionTimeCommandParameterInfo); - - CommandParameterInfo levelControlstepoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlstepCommandParams.put( - "optionsMask", levelControlstepoptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlstepoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlstepCommandParams.put( - "optionsOverride", levelControlstepoptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlstepInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .step( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("stepMode"), - (Integer) commandArguments.get("stepSize"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlstepCommandParams); - levelControlClusterInteractionInfoMap.put("step", levelControlstepInteractionInfo); - Map levelControlstopCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlstopoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlstopCommandParams.put( - "optionsMask", levelControlstopoptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlstopoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlstopCommandParams.put( - "optionsOverride", levelControlstopoptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlstopInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .stop( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlstopCommandParams); - levelControlClusterInteractionInfoMap.put("stop", levelControlstopInteractionInfo); - Map levelControlmoveToLevelWithOnOffCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlmoveToLevelWithOnOfflevelCommandParameterInfo = - new CommandParameterInfo("level", Integer.class, Integer.class); - levelControlmoveToLevelWithOnOffCommandParams.put( - "level", levelControlmoveToLevelWithOnOfflevelCommandParameterInfo); - - CommandParameterInfo levelControlmoveToLevelWithOnOfftransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - levelControlmoveToLevelWithOnOffCommandParams.put( - "transitionTime", levelControlmoveToLevelWithOnOfftransitionTimeCommandParameterInfo); - - CommandParameterInfo levelControlmoveToLevelWithOnOffoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlmoveToLevelWithOnOffCommandParams.put( - "optionsMask", levelControlmoveToLevelWithOnOffoptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlmoveToLevelWithOnOffoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlmoveToLevelWithOnOffCommandParams.put( - "optionsOverride", levelControlmoveToLevelWithOnOffoptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlmoveToLevelWithOnOffInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .moveToLevelWithOnOff( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("level"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlmoveToLevelWithOnOffCommandParams); - levelControlClusterInteractionInfoMap.put( - "moveToLevelWithOnOff", levelControlmoveToLevelWithOnOffInteractionInfo); - Map levelControlmoveWithOnOffCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlmoveWithOnOffmoveModeCommandParameterInfo = - new CommandParameterInfo("moveMode", Integer.class, Integer.class); - levelControlmoveWithOnOffCommandParams.put( - "moveMode", levelControlmoveWithOnOffmoveModeCommandParameterInfo); - - CommandParameterInfo levelControlmoveWithOnOffrateCommandParameterInfo = - new CommandParameterInfo("rate", Integer.class, Integer.class); - levelControlmoveWithOnOffCommandParams.put( - "rate", levelControlmoveWithOnOffrateCommandParameterInfo); - - CommandParameterInfo levelControlmoveWithOnOffoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlmoveWithOnOffCommandParams.put( - "optionsMask", levelControlmoveWithOnOffoptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlmoveWithOnOffoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlmoveWithOnOffCommandParams.put( - "optionsOverride", levelControlmoveWithOnOffoptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlmoveWithOnOffInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .moveWithOnOff( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("moveMode"), - (Integer) commandArguments.get("rate"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlmoveWithOnOffCommandParams); - levelControlClusterInteractionInfoMap.put( - "moveWithOnOff", levelControlmoveWithOnOffInteractionInfo); - Map levelControlstepWithOnOffCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlstepWithOnOffstepModeCommandParameterInfo = - new CommandParameterInfo("stepMode", Integer.class, Integer.class); - levelControlstepWithOnOffCommandParams.put( - "stepMode", levelControlstepWithOnOffstepModeCommandParameterInfo); - - CommandParameterInfo levelControlstepWithOnOffstepSizeCommandParameterInfo = - new CommandParameterInfo("stepSize", Integer.class, Integer.class); - levelControlstepWithOnOffCommandParams.put( - "stepSize", levelControlstepWithOnOffstepSizeCommandParameterInfo); - - CommandParameterInfo levelControlstepWithOnOfftransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - levelControlstepWithOnOffCommandParams.put( - "transitionTime", levelControlstepWithOnOfftransitionTimeCommandParameterInfo); - - CommandParameterInfo levelControlstepWithOnOffoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlstepWithOnOffCommandParams.put( - "optionsMask", levelControlstepWithOnOffoptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlstepWithOnOffoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlstepWithOnOffCommandParams.put( - "optionsOverride", levelControlstepWithOnOffoptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlstepWithOnOffInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .stepWithOnOff( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("stepMode"), - (Integer) commandArguments.get("stepSize"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlstepWithOnOffCommandParams); - levelControlClusterInteractionInfoMap.put( - "stepWithOnOff", levelControlstepWithOnOffInteractionInfo); - Map levelControlstopWithOnOffCommandParams = - new LinkedHashMap(); - CommandParameterInfo levelControlstopWithOnOffoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - levelControlstopWithOnOffCommandParams.put( - "optionsMask", levelControlstopWithOnOffoptionsMaskCommandParameterInfo); - - CommandParameterInfo levelControlstopWithOnOffoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - levelControlstopWithOnOffCommandParams.put( - "optionsOverride", levelControlstopWithOnOffoptionsOverrideCommandParameterInfo); - - InteractionInfo levelControlstopWithOnOffInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster) - .stopWithOnOff( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - levelControlstopWithOnOffCommandParams); - levelControlClusterInteractionInfoMap.put( - "stopWithOnOff", levelControlstopWithOnOffInteractionInfo); - commandMap.put("levelControl", levelControlClusterInteractionInfoMap); - Map binaryInputBasicClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("binaryInputBasic", binaryInputBasicClusterInteractionInfoMap); - Map pulseWidthModulationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("pulseWidthModulation", pulseWidthModulationClusterInteractionInfoMap); - Map descriptorClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("descriptor", descriptorClusterInteractionInfoMap); - Map bindingClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("binding", bindingClusterInteractionInfoMap); - Map accessControlClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("accessControl", accessControlClusterInteractionInfoMap); - Map actionsClusterInteractionInfoMap = new LinkedHashMap<>(); - Map actionsinstantActionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsinstantActionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsinstantActionCommandParams.put( - "actionID", actionsinstantActionactionIDCommandParameterInfo); - - CommandParameterInfo actionsinstantActioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsinstantActionCommandParams.put( - "invokeID", actionsinstantActioninvokeIDCommandParameterInfo); - - InteractionInfo actionsinstantActionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .instantAction( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsinstantActionCommandParams); - actionsClusterInteractionInfoMap.put("instantAction", actionsinstantActionInteractionInfo); - Map actionsinstantActionWithTransitionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsinstantActionWithTransitionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsinstantActionWithTransitionCommandParams.put( - "actionID", actionsinstantActionWithTransitionactionIDCommandParameterInfo); - - CommandParameterInfo actionsinstantActionWithTransitioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsinstantActionWithTransitionCommandParams.put( - "invokeID", actionsinstantActionWithTransitioninvokeIDCommandParameterInfo); - - CommandParameterInfo actionsinstantActionWithTransitiontransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - actionsinstantActionWithTransitionCommandParams.put( - "transitionTime", actionsinstantActionWithTransitiontransitionTimeCommandParameterInfo); - - InteractionInfo actionsinstantActionWithTransitionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .instantActionWithTransition( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID"), - (Integer) commandArguments.get("transitionTime")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsinstantActionWithTransitionCommandParams); - actionsClusterInteractionInfoMap.put( - "instantActionWithTransition", actionsinstantActionWithTransitionInteractionInfo); - Map actionsstartActionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsstartActionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsstartActionCommandParams.put("actionID", actionsstartActionactionIDCommandParameterInfo); - - CommandParameterInfo actionsstartActioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsstartActionCommandParams.put("invokeID", actionsstartActioninvokeIDCommandParameterInfo); - - InteractionInfo actionsstartActionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .startAction( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsstartActionCommandParams); - actionsClusterInteractionInfoMap.put("startAction", actionsstartActionInteractionInfo); - Map actionsstartActionWithDurationCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsstartActionWithDurationactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsstartActionWithDurationCommandParams.put( - "actionID", actionsstartActionWithDurationactionIDCommandParameterInfo); - - CommandParameterInfo actionsstartActionWithDurationinvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsstartActionWithDurationCommandParams.put( - "invokeID", actionsstartActionWithDurationinvokeIDCommandParameterInfo); - - CommandParameterInfo actionsstartActionWithDurationdurationCommandParameterInfo = - new CommandParameterInfo("duration", Long.class, Long.class); - actionsstartActionWithDurationCommandParams.put( - "duration", actionsstartActionWithDurationdurationCommandParameterInfo); - - InteractionInfo actionsstartActionWithDurationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .startActionWithDuration( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID"), - (Long) commandArguments.get("duration")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsstartActionWithDurationCommandParams); - actionsClusterInteractionInfoMap.put( - "startActionWithDuration", actionsstartActionWithDurationInteractionInfo); - Map actionsstopActionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsstopActionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsstopActionCommandParams.put("actionID", actionsstopActionactionIDCommandParameterInfo); - - CommandParameterInfo actionsstopActioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsstopActionCommandParams.put("invokeID", actionsstopActioninvokeIDCommandParameterInfo); - - InteractionInfo actionsstopActionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .stopAction( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsstopActionCommandParams); - actionsClusterInteractionInfoMap.put("stopAction", actionsstopActionInteractionInfo); - Map actionspauseActionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionspauseActionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionspauseActionCommandParams.put("actionID", actionspauseActionactionIDCommandParameterInfo); - - CommandParameterInfo actionspauseActioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionspauseActionCommandParams.put("invokeID", actionspauseActioninvokeIDCommandParameterInfo); - - InteractionInfo actionspauseActionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .pauseAction( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionspauseActionCommandParams); - actionsClusterInteractionInfoMap.put("pauseAction", actionspauseActionInteractionInfo); - Map actionspauseActionWithDurationCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionspauseActionWithDurationactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionspauseActionWithDurationCommandParams.put( - "actionID", actionspauseActionWithDurationactionIDCommandParameterInfo); - - CommandParameterInfo actionspauseActionWithDurationinvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionspauseActionWithDurationCommandParams.put( - "invokeID", actionspauseActionWithDurationinvokeIDCommandParameterInfo); - - CommandParameterInfo actionspauseActionWithDurationdurationCommandParameterInfo = - new CommandParameterInfo("duration", Long.class, Long.class); - actionspauseActionWithDurationCommandParams.put( - "duration", actionspauseActionWithDurationdurationCommandParameterInfo); - - InteractionInfo actionspauseActionWithDurationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .pauseActionWithDuration( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID"), - (Long) commandArguments.get("duration")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionspauseActionWithDurationCommandParams); - actionsClusterInteractionInfoMap.put( - "pauseActionWithDuration", actionspauseActionWithDurationInteractionInfo); - Map actionsresumeActionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsresumeActionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsresumeActionCommandParams.put( - "actionID", actionsresumeActionactionIDCommandParameterInfo); - - CommandParameterInfo actionsresumeActioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsresumeActionCommandParams.put( - "invokeID", actionsresumeActioninvokeIDCommandParameterInfo); - - InteractionInfo actionsresumeActionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .resumeAction( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsresumeActionCommandParams); - actionsClusterInteractionInfoMap.put("resumeAction", actionsresumeActionInteractionInfo); - Map actionsenableActionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsenableActionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsenableActionCommandParams.put( - "actionID", actionsenableActionactionIDCommandParameterInfo); - - CommandParameterInfo actionsenableActioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsenableActionCommandParams.put( - "invokeID", actionsenableActioninvokeIDCommandParameterInfo); - - InteractionInfo actionsenableActionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .enableAction( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsenableActionCommandParams); - actionsClusterInteractionInfoMap.put("enableAction", actionsenableActionInteractionInfo); - Map actionsenableActionWithDurationCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsenableActionWithDurationactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsenableActionWithDurationCommandParams.put( - "actionID", actionsenableActionWithDurationactionIDCommandParameterInfo); - - CommandParameterInfo actionsenableActionWithDurationinvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsenableActionWithDurationCommandParams.put( - "invokeID", actionsenableActionWithDurationinvokeIDCommandParameterInfo); - - CommandParameterInfo actionsenableActionWithDurationdurationCommandParameterInfo = - new CommandParameterInfo("duration", Long.class, Long.class); - actionsenableActionWithDurationCommandParams.put( - "duration", actionsenableActionWithDurationdurationCommandParameterInfo); - - InteractionInfo actionsenableActionWithDurationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .enableActionWithDuration( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID"), - (Long) commandArguments.get("duration")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsenableActionWithDurationCommandParams); - actionsClusterInteractionInfoMap.put( - "enableActionWithDuration", actionsenableActionWithDurationInteractionInfo); - Map actionsdisableActionCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsdisableActionactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsdisableActionCommandParams.put( - "actionID", actionsdisableActionactionIDCommandParameterInfo); - - CommandParameterInfo actionsdisableActioninvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsdisableActionCommandParams.put( - "invokeID", actionsdisableActioninvokeIDCommandParameterInfo); - - InteractionInfo actionsdisableActionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .disableAction( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsdisableActionCommandParams); - actionsClusterInteractionInfoMap.put("disableAction", actionsdisableActionInteractionInfo); - Map actionsdisableActionWithDurationCommandParams = - new LinkedHashMap(); - CommandParameterInfo actionsdisableActionWithDurationactionIDCommandParameterInfo = - new CommandParameterInfo("actionID", Integer.class, Integer.class); - actionsdisableActionWithDurationCommandParams.put( - "actionID", actionsdisableActionWithDurationactionIDCommandParameterInfo); - - CommandParameterInfo actionsdisableActionWithDurationinvokeIDCommandParameterInfo = - new CommandParameterInfo("invokeID", Optional.class, Long.class); - actionsdisableActionWithDurationCommandParams.put( - "invokeID", actionsdisableActionWithDurationinvokeIDCommandParameterInfo); - - CommandParameterInfo actionsdisableActionWithDurationdurationCommandParameterInfo = - new CommandParameterInfo("duration", Long.class, Long.class); - actionsdisableActionWithDurationCommandParams.put( - "duration", actionsdisableActionWithDurationdurationCommandParameterInfo); - - InteractionInfo actionsdisableActionWithDurationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ActionsCluster) cluster) - .disableActionWithDuration( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("actionID"), - (Optional) commandArguments.get("invokeID"), - (Long) commandArguments.get("duration")); - }, - () -> new DelegatedDefaultClusterCallback(), - actionsdisableActionWithDurationCommandParams); - actionsClusterInteractionInfoMap.put( - "disableActionWithDuration", actionsdisableActionWithDurationInteractionInfo); - commandMap.put("actions", actionsClusterInteractionInfoMap); - Map basicInformationClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("basicInformation", basicInformationClusterInteractionInfoMap); - Map otaSoftwareUpdateProviderClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map otaSoftwareUpdateProviderqueryImageCommandParams = - new LinkedHashMap(); - CommandParameterInfo otaSoftwareUpdateProviderqueryImagevendorIDCommandParameterInfo = - new CommandParameterInfo("vendorID", Integer.class, Integer.class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "vendorID", otaSoftwareUpdateProviderqueryImagevendorIDCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateProviderqueryImageproductIDCommandParameterInfo = - new CommandParameterInfo("productID", Integer.class, Integer.class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "productID", otaSoftwareUpdateProviderqueryImageproductIDCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateProviderqueryImagesoftwareVersionCommandParameterInfo = - new CommandParameterInfo("softwareVersion", Long.class, Long.class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "softwareVersion", otaSoftwareUpdateProviderqueryImagesoftwareVersionCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateProviderqueryImageprotocolsSupportedCommandParameterInfo = - new CommandParameterInfo("protocolsSupported", ArrayList.class, Integer.class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "protocolsSupported", - otaSoftwareUpdateProviderqueryImageprotocolsSupportedCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateProviderqueryImagehardwareVersionCommandParameterInfo = - new CommandParameterInfo("hardwareVersion", Optional.class, Integer.class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "hardwareVersion", otaSoftwareUpdateProviderqueryImagehardwareVersionCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateProviderqueryImagelocationCommandParameterInfo = - new CommandParameterInfo("location", Optional.class, String.class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "location", otaSoftwareUpdateProviderqueryImagelocationCommandParameterInfo); - - CommandParameterInfo - otaSoftwareUpdateProviderqueryImagerequestorCanConsentCommandParameterInfo = - new CommandParameterInfo("requestorCanConsent", Optional.class, Boolean.class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "requestorCanConsent", - otaSoftwareUpdateProviderqueryImagerequestorCanConsentCommandParameterInfo); - - CommandParameterInfo - otaSoftwareUpdateProviderqueryImagemetadataForProviderCommandParameterInfo = - new CommandParameterInfo("metadataForProvider", Optional.class, byte[].class); - otaSoftwareUpdateProviderqueryImageCommandParams.put( - "metadataForProvider", - otaSoftwareUpdateProviderqueryImagemetadataForProviderCommandParameterInfo); - - InteractionInfo otaSoftwareUpdateProviderqueryImageInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .queryImage( - (ChipClusters.OtaSoftwareUpdateProviderCluster.QueryImageResponseCallback) - callback, - (Integer) commandArguments.get("vendorID"), - (Integer) commandArguments.get("productID"), - (Long) commandArguments.get("softwareVersion"), - (ArrayList) commandArguments.get("protocolsSupported"), - (Optional) commandArguments.get("hardwareVersion"), - (Optional) commandArguments.get("location"), - (Optional) commandArguments.get("requestorCanConsent"), - (Optional) commandArguments.get("metadataForProvider")); - }, - () -> new DelegatedOtaSoftwareUpdateProviderClusterQueryImageResponseCallback(), - otaSoftwareUpdateProviderqueryImageCommandParams); - otaSoftwareUpdateProviderClusterInteractionInfoMap.put( - "queryImage", otaSoftwareUpdateProviderqueryImageInteractionInfo); - Map otaSoftwareUpdateProviderapplyUpdateRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo - otaSoftwareUpdateProviderapplyUpdateRequestupdateTokenCommandParameterInfo = - new CommandParameterInfo("updateToken", byte[].class, byte[].class); - otaSoftwareUpdateProviderapplyUpdateRequestCommandParams.put( - "updateToken", otaSoftwareUpdateProviderapplyUpdateRequestupdateTokenCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateProviderapplyUpdateRequestnewVersionCommandParameterInfo = - new CommandParameterInfo("newVersion", Long.class, Long.class); - otaSoftwareUpdateProviderapplyUpdateRequestCommandParams.put( - "newVersion", otaSoftwareUpdateProviderapplyUpdateRequestnewVersionCommandParameterInfo); - - InteractionInfo otaSoftwareUpdateProviderapplyUpdateRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .applyUpdateRequest( - (ChipClusters.OtaSoftwareUpdateProviderCluster.ApplyUpdateResponseCallback) - callback, - (byte[]) commandArguments.get("updateToken"), - (Long) commandArguments.get("newVersion")); - }, - () -> new DelegatedOtaSoftwareUpdateProviderClusterApplyUpdateResponseCallback(), - otaSoftwareUpdateProviderapplyUpdateRequestCommandParams); - otaSoftwareUpdateProviderClusterInteractionInfoMap.put( - "applyUpdateRequest", otaSoftwareUpdateProviderapplyUpdateRequestInteractionInfo); - Map otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams = - new LinkedHashMap(); - CommandParameterInfo - otaSoftwareUpdateProvidernotifyUpdateAppliedupdateTokenCommandParameterInfo = - new CommandParameterInfo("updateToken", byte[].class, byte[].class); - otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams.put( - "updateToken", otaSoftwareUpdateProvidernotifyUpdateAppliedupdateTokenCommandParameterInfo); - - CommandParameterInfo - otaSoftwareUpdateProvidernotifyUpdateAppliedsoftwareVersionCommandParameterInfo = - new CommandParameterInfo("softwareVersion", Long.class, Long.class); - otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams.put( - "softwareVersion", - otaSoftwareUpdateProvidernotifyUpdateAppliedsoftwareVersionCommandParameterInfo); - - InteractionInfo otaSoftwareUpdateProvidernotifyUpdateAppliedInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateProviderCluster) cluster) - .notifyUpdateApplied( - (DefaultClusterCallback) callback, - (byte[]) commandArguments.get("updateToken"), - (Long) commandArguments.get("softwareVersion")); - }, - () -> new DelegatedDefaultClusterCallback(), - otaSoftwareUpdateProvidernotifyUpdateAppliedCommandParams); - otaSoftwareUpdateProviderClusterInteractionInfoMap.put( - "notifyUpdateApplied", otaSoftwareUpdateProvidernotifyUpdateAppliedInteractionInfo); - commandMap.put("otaSoftwareUpdateProvider", otaSoftwareUpdateProviderClusterInteractionInfoMap); - Map otaSoftwareUpdateRequestorClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map otaSoftwareUpdateRequestorannounceOTAProviderCommandParams = - new LinkedHashMap(); - CommandParameterInfo - otaSoftwareUpdateRequestorannounceOTAProviderproviderNodeIDCommandParameterInfo = - new CommandParameterInfo("providerNodeID", Long.class, Long.class); - otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put( - "providerNodeID", - otaSoftwareUpdateRequestorannounceOTAProviderproviderNodeIDCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateRequestorannounceOTAProvidervendorIDCommandParameterInfo = - new CommandParameterInfo("vendorID", Integer.class, Integer.class); - otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put( - "vendorID", otaSoftwareUpdateRequestorannounceOTAProvidervendorIDCommandParameterInfo); - - CommandParameterInfo - otaSoftwareUpdateRequestorannounceOTAProviderannouncementReasonCommandParameterInfo = - new CommandParameterInfo("announcementReason", Integer.class, Integer.class); - otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put( - "announcementReason", - otaSoftwareUpdateRequestorannounceOTAProviderannouncementReasonCommandParameterInfo); - - CommandParameterInfo - otaSoftwareUpdateRequestorannounceOTAProvidermetadataForNodeCommandParameterInfo = - new CommandParameterInfo("metadataForNode", Optional.class, byte[].class); - otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put( - "metadataForNode", - otaSoftwareUpdateRequestorannounceOTAProvidermetadataForNodeCommandParameterInfo); - - CommandParameterInfo otaSoftwareUpdateRequestorannounceOTAProviderendpointCommandParameterInfo = - new CommandParameterInfo("endpoint", Integer.class, Integer.class); - otaSoftwareUpdateRequestorannounceOTAProviderCommandParams.put( - "endpoint", otaSoftwareUpdateRequestorannounceOTAProviderendpointCommandParameterInfo); - - InteractionInfo otaSoftwareUpdateRequestorannounceOTAProviderInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OtaSoftwareUpdateRequestorCluster) cluster) - .announceOTAProvider( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("providerNodeID"), - (Integer) commandArguments.get("vendorID"), - (Integer) commandArguments.get("announcementReason"), - (Optional) commandArguments.get("metadataForNode"), - (Integer) commandArguments.get("endpoint")); - }, - () -> new DelegatedDefaultClusterCallback(), - otaSoftwareUpdateRequestorannounceOTAProviderCommandParams); - otaSoftwareUpdateRequestorClusterInteractionInfoMap.put( - "announceOTAProvider", otaSoftwareUpdateRequestorannounceOTAProviderInteractionInfo); - commandMap.put( - "otaSoftwareUpdateRequestor", otaSoftwareUpdateRequestorClusterInteractionInfoMap); - Map localizationConfigurationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("localizationConfiguration", localizationConfigurationClusterInteractionInfoMap); - Map timeFormatLocalizationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("timeFormatLocalization", timeFormatLocalizationClusterInteractionInfoMap); - Map unitLocalizationClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("unitLocalization", unitLocalizationClusterInteractionInfoMap); - Map powerSourceConfigurationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("powerSourceConfiguration", powerSourceConfigurationClusterInteractionInfoMap); - Map powerSourceClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("powerSource", powerSourceClusterInteractionInfoMap); - Map generalCommissioningClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map generalCommissioningarmFailSafeCommandParams = - new LinkedHashMap(); - CommandParameterInfo generalCommissioningarmFailSafeexpiryLengthSecondsCommandParameterInfo = - new CommandParameterInfo("expiryLengthSeconds", Integer.class, Integer.class); - generalCommissioningarmFailSafeCommandParams.put( - "expiryLengthSeconds", - generalCommissioningarmFailSafeexpiryLengthSecondsCommandParameterInfo); - - CommandParameterInfo generalCommissioningarmFailSafebreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Long.class, Long.class); - generalCommissioningarmFailSafeCommandParams.put( - "breadcrumb", generalCommissioningarmFailSafebreadcrumbCommandParameterInfo); - - InteractionInfo generalCommissioningarmFailSafeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .armFailSafe( - (ChipClusters.GeneralCommissioningCluster.ArmFailSafeResponseCallback) - callback, - (Integer) commandArguments.get("expiryLengthSeconds"), - (Long) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedGeneralCommissioningClusterArmFailSafeResponseCallback(), - generalCommissioningarmFailSafeCommandParams); - generalCommissioningClusterInteractionInfoMap.put( - "armFailSafe", generalCommissioningarmFailSafeInteractionInfo); - Map generalCommissioningsetRegulatoryConfigCommandParams = - new LinkedHashMap(); - CommandParameterInfo - generalCommissioningsetRegulatoryConfignewRegulatoryConfigCommandParameterInfo = - new CommandParameterInfo("newRegulatoryConfig", Integer.class, Integer.class); - generalCommissioningsetRegulatoryConfigCommandParams.put( - "newRegulatoryConfig", - generalCommissioningsetRegulatoryConfignewRegulatoryConfigCommandParameterInfo); - - CommandParameterInfo generalCommissioningsetRegulatoryConfigcountryCodeCommandParameterInfo = - new CommandParameterInfo("countryCode", String.class, String.class); - generalCommissioningsetRegulatoryConfigCommandParams.put( - "countryCode", generalCommissioningsetRegulatoryConfigcountryCodeCommandParameterInfo); - - CommandParameterInfo generalCommissioningsetRegulatoryConfigbreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Long.class, Long.class); - generalCommissioningsetRegulatoryConfigCommandParams.put( - "breadcrumb", generalCommissioningsetRegulatoryConfigbreadcrumbCommandParameterInfo); - - InteractionInfo generalCommissioningsetRegulatoryConfigInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .setRegulatoryConfig( - (ChipClusters.GeneralCommissioningCluster.SetRegulatoryConfigResponseCallback) - callback, - (Integer) commandArguments.get("newRegulatoryConfig"), - (String) commandArguments.get("countryCode"), - (Long) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedGeneralCommissioningClusterSetRegulatoryConfigResponseCallback(), - generalCommissioningsetRegulatoryConfigCommandParams); - generalCommissioningClusterInteractionInfoMap.put( - "setRegulatoryConfig", generalCommissioningsetRegulatoryConfigInteractionInfo); - Map generalCommissioningcommissioningCompleteCommandParams = - new LinkedHashMap(); - InteractionInfo generalCommissioningcommissioningCompleteInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster) - .commissioningComplete( - (ChipClusters.GeneralCommissioningCluster - .CommissioningCompleteResponseCallback) - callback); - }, - () -> new DelegatedGeneralCommissioningClusterCommissioningCompleteResponseCallback(), - generalCommissioningcommissioningCompleteCommandParams); - generalCommissioningClusterInteractionInfoMap.put( - "commissioningComplete", generalCommissioningcommissioningCompleteInteractionInfo); - commandMap.put("generalCommissioning", generalCommissioningClusterInteractionInfoMap); - Map networkCommissioningClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map networkCommissioningscanNetworksCommandParams = - new LinkedHashMap(); - CommandParameterInfo networkCommissioningscanNetworksssidCommandParameterInfo = - new CommandParameterInfo("ssid", Optional.class, byte[].class); - networkCommissioningscanNetworksCommandParams.put( - "ssid", networkCommissioningscanNetworksssidCommandParameterInfo); - - CommandParameterInfo networkCommissioningscanNetworksbreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Optional.class, Long.class); - networkCommissioningscanNetworksCommandParams.put( - "breadcrumb", networkCommissioningscanNetworksbreadcrumbCommandParameterInfo); - - InteractionInfo networkCommissioningscanNetworksInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .scanNetworks( - (ChipClusters.NetworkCommissioningCluster.ScanNetworksResponseCallback) - callback, - (Optional) commandArguments.get("ssid"), - (Optional) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedNetworkCommissioningClusterScanNetworksResponseCallback(), - networkCommissioningscanNetworksCommandParams); - networkCommissioningClusterInteractionInfoMap.put( - "scanNetworks", networkCommissioningscanNetworksInteractionInfo); - Map networkCommissioningaddOrUpdateWiFiNetworkCommandParams = - new LinkedHashMap(); - CommandParameterInfo networkCommissioningaddOrUpdateWiFiNetworkssidCommandParameterInfo = - new CommandParameterInfo("ssid", byte[].class, byte[].class); - networkCommissioningaddOrUpdateWiFiNetworkCommandParams.put( - "ssid", networkCommissioningaddOrUpdateWiFiNetworkssidCommandParameterInfo); - - CommandParameterInfo networkCommissioningaddOrUpdateWiFiNetworkcredentialsCommandParameterInfo = - new CommandParameterInfo("credentials", byte[].class, byte[].class); - networkCommissioningaddOrUpdateWiFiNetworkCommandParams.put( - "credentials", networkCommissioningaddOrUpdateWiFiNetworkcredentialsCommandParameterInfo); - - CommandParameterInfo networkCommissioningaddOrUpdateWiFiNetworkbreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Optional.class, Long.class); - networkCommissioningaddOrUpdateWiFiNetworkCommandParams.put( - "breadcrumb", networkCommissioningaddOrUpdateWiFiNetworkbreadcrumbCommandParameterInfo); - - InteractionInfo networkCommissioningaddOrUpdateWiFiNetworkInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .addOrUpdateWiFiNetwork( - (ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) - callback, - (byte[]) commandArguments.get("ssid"), - (byte[]) commandArguments.get("credentials"), - (Optional) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), - networkCommissioningaddOrUpdateWiFiNetworkCommandParams); - networkCommissioningClusterInteractionInfoMap.put( - "addOrUpdateWiFiNetwork", networkCommissioningaddOrUpdateWiFiNetworkInteractionInfo); - Map networkCommissioningaddOrUpdateThreadNetworkCommandParams = - new LinkedHashMap(); - CommandParameterInfo - networkCommissioningaddOrUpdateThreadNetworkoperationalDatasetCommandParameterInfo = - new CommandParameterInfo("operationalDataset", byte[].class, byte[].class); - networkCommissioningaddOrUpdateThreadNetworkCommandParams.put( - "operationalDataset", - networkCommissioningaddOrUpdateThreadNetworkoperationalDatasetCommandParameterInfo); - - CommandParameterInfo - networkCommissioningaddOrUpdateThreadNetworkbreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Optional.class, Long.class); - networkCommissioningaddOrUpdateThreadNetworkCommandParams.put( - "breadcrumb", networkCommissioningaddOrUpdateThreadNetworkbreadcrumbCommandParameterInfo); - - InteractionInfo networkCommissioningaddOrUpdateThreadNetworkInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .addOrUpdateThreadNetwork( - (ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) - callback, - (byte[]) commandArguments.get("operationalDataset"), - (Optional) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), - networkCommissioningaddOrUpdateThreadNetworkCommandParams); - networkCommissioningClusterInteractionInfoMap.put( - "addOrUpdateThreadNetwork", networkCommissioningaddOrUpdateThreadNetworkInteractionInfo); - Map networkCommissioningremoveNetworkCommandParams = - new LinkedHashMap(); - CommandParameterInfo networkCommissioningremoveNetworknetworkIDCommandParameterInfo = - new CommandParameterInfo("networkID", byte[].class, byte[].class); - networkCommissioningremoveNetworkCommandParams.put( - "networkID", networkCommissioningremoveNetworknetworkIDCommandParameterInfo); - - CommandParameterInfo networkCommissioningremoveNetworkbreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Optional.class, Long.class); - networkCommissioningremoveNetworkCommandParams.put( - "breadcrumb", networkCommissioningremoveNetworkbreadcrumbCommandParameterInfo); - - InteractionInfo networkCommissioningremoveNetworkInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .removeNetwork( - (ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) - callback, - (byte[]) commandArguments.get("networkID"), - (Optional) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), - networkCommissioningremoveNetworkCommandParams); - networkCommissioningClusterInteractionInfoMap.put( - "removeNetwork", networkCommissioningremoveNetworkInteractionInfo); - Map networkCommissioningconnectNetworkCommandParams = - new LinkedHashMap(); - CommandParameterInfo networkCommissioningconnectNetworknetworkIDCommandParameterInfo = - new CommandParameterInfo("networkID", byte[].class, byte[].class); - networkCommissioningconnectNetworkCommandParams.put( - "networkID", networkCommissioningconnectNetworknetworkIDCommandParameterInfo); - - CommandParameterInfo networkCommissioningconnectNetworkbreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Optional.class, Long.class); - networkCommissioningconnectNetworkCommandParams.put( - "breadcrumb", networkCommissioningconnectNetworkbreadcrumbCommandParameterInfo); - - InteractionInfo networkCommissioningconnectNetworkInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .connectNetwork( - (ChipClusters.NetworkCommissioningCluster.ConnectNetworkResponseCallback) - callback, - (byte[]) commandArguments.get("networkID"), - (Optional) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedNetworkCommissioningClusterConnectNetworkResponseCallback(), - networkCommissioningconnectNetworkCommandParams); - networkCommissioningClusterInteractionInfoMap.put( - "connectNetwork", networkCommissioningconnectNetworkInteractionInfo); - Map networkCommissioningreorderNetworkCommandParams = - new LinkedHashMap(); - CommandParameterInfo networkCommissioningreorderNetworknetworkIDCommandParameterInfo = - new CommandParameterInfo("networkID", byte[].class, byte[].class); - networkCommissioningreorderNetworkCommandParams.put( - "networkID", networkCommissioningreorderNetworknetworkIDCommandParameterInfo); - - CommandParameterInfo networkCommissioningreorderNetworknetworkIndexCommandParameterInfo = - new CommandParameterInfo("networkIndex", Integer.class, Integer.class); - networkCommissioningreorderNetworkCommandParams.put( - "networkIndex", networkCommissioningreorderNetworknetworkIndexCommandParameterInfo); - - CommandParameterInfo networkCommissioningreorderNetworkbreadcrumbCommandParameterInfo = - new CommandParameterInfo("breadcrumb", Optional.class, Long.class); - networkCommissioningreorderNetworkCommandParams.put( - "breadcrumb", networkCommissioningreorderNetworkbreadcrumbCommandParameterInfo); - - InteractionInfo networkCommissioningreorderNetworkInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster) - .reorderNetwork( - (ChipClusters.NetworkCommissioningCluster.NetworkConfigResponseCallback) - callback, - (byte[]) commandArguments.get("networkID"), - (Integer) commandArguments.get("networkIndex"), - (Optional) commandArguments.get("breadcrumb")); - }, - () -> new DelegatedNetworkCommissioningClusterNetworkConfigResponseCallback(), - networkCommissioningreorderNetworkCommandParams); - networkCommissioningClusterInteractionInfoMap.put( - "reorderNetwork", networkCommissioningreorderNetworkInteractionInfo); - commandMap.put("networkCommissioning", networkCommissioningClusterInteractionInfoMap); - Map diagnosticLogsClusterInteractionInfoMap = new LinkedHashMap<>(); - Map diagnosticLogsretrieveLogsRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo diagnosticLogsretrieveLogsRequestintentCommandParameterInfo = - new CommandParameterInfo("intent", Integer.class, Integer.class); - diagnosticLogsretrieveLogsRequestCommandParams.put( - "intent", diagnosticLogsretrieveLogsRequestintentCommandParameterInfo); - - CommandParameterInfo diagnosticLogsretrieveLogsRequestrequestedProtocolCommandParameterInfo = - new CommandParameterInfo("requestedProtocol", Integer.class, Integer.class); - diagnosticLogsretrieveLogsRequestCommandParams.put( - "requestedProtocol", - diagnosticLogsretrieveLogsRequestrequestedProtocolCommandParameterInfo); - - CommandParameterInfo - diagnosticLogsretrieveLogsRequesttransferFileDesignatorCommandParameterInfo = - new CommandParameterInfo("transferFileDesignator", Optional.class, String.class); - diagnosticLogsretrieveLogsRequestCommandParams.put( - "transferFileDesignator", - diagnosticLogsretrieveLogsRequesttransferFileDesignatorCommandParameterInfo); - - InteractionInfo diagnosticLogsretrieveLogsRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DiagnosticLogsCluster) cluster) - .retrieveLogsRequest( - (ChipClusters.DiagnosticLogsCluster.RetrieveLogsResponseCallback) callback, - (Integer) commandArguments.get("intent"), - (Integer) commandArguments.get("requestedProtocol"), - (Optional) commandArguments.get("transferFileDesignator")); - }, - () -> new DelegatedDiagnosticLogsClusterRetrieveLogsResponseCallback(), - diagnosticLogsretrieveLogsRequestCommandParams); - diagnosticLogsClusterInteractionInfoMap.put( - "retrieveLogsRequest", diagnosticLogsretrieveLogsRequestInteractionInfo); - commandMap.put("diagnosticLogs", diagnosticLogsClusterInteractionInfoMap); - Map generalDiagnosticsClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map generalDiagnosticstestEventTriggerCommandParams = - new LinkedHashMap(); - CommandParameterInfo generalDiagnosticstestEventTriggerenableKeyCommandParameterInfo = - new CommandParameterInfo("enableKey", byte[].class, byte[].class); - generalDiagnosticstestEventTriggerCommandParams.put( - "enableKey", generalDiagnosticstestEventTriggerenableKeyCommandParameterInfo); - - CommandParameterInfo generalDiagnosticstestEventTriggereventTriggerCommandParameterInfo = - new CommandParameterInfo("eventTrigger", Long.class, Long.class); - generalDiagnosticstestEventTriggerCommandParams.put( - "eventTrigger", generalDiagnosticstestEventTriggereventTriggerCommandParameterInfo); - - InteractionInfo generalDiagnosticstestEventTriggerInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralDiagnosticsCluster) cluster) - .testEventTrigger( - (DefaultClusterCallback) callback, - (byte[]) commandArguments.get("enableKey"), - (Long) commandArguments.get("eventTrigger")); - }, - () -> new DelegatedDefaultClusterCallback(), - generalDiagnosticstestEventTriggerCommandParams); - generalDiagnosticsClusterInteractionInfoMap.put( - "testEventTrigger", generalDiagnosticstestEventTriggerInteractionInfo); - commandMap.put("generalDiagnostics", generalDiagnosticsClusterInteractionInfoMap); - Map softwareDiagnosticsClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map softwareDiagnosticsresetWatermarksCommandParams = - new LinkedHashMap(); - InteractionInfo softwareDiagnosticsresetWatermarksInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SoftwareDiagnosticsCluster) cluster) - .resetWatermarks((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - softwareDiagnosticsresetWatermarksCommandParams); - softwareDiagnosticsClusterInteractionInfoMap.put( - "resetWatermarks", softwareDiagnosticsresetWatermarksInteractionInfo); - commandMap.put("softwareDiagnostics", softwareDiagnosticsClusterInteractionInfoMap); - Map threadNetworkDiagnosticsClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map threadNetworkDiagnosticsresetCountsCommandParams = - new LinkedHashMap(); - InteractionInfo threadNetworkDiagnosticsresetCountsInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThreadNetworkDiagnosticsCluster) cluster) - .resetCounts((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - threadNetworkDiagnosticsresetCountsCommandParams); - threadNetworkDiagnosticsClusterInteractionInfoMap.put( - "resetCounts", threadNetworkDiagnosticsresetCountsInteractionInfo); - commandMap.put("threadNetworkDiagnostics", threadNetworkDiagnosticsClusterInteractionInfoMap); - Map wiFiNetworkDiagnosticsClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map wiFiNetworkDiagnosticsresetCountsCommandParams = - new LinkedHashMap(); - InteractionInfo wiFiNetworkDiagnosticsresetCountsInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WiFiNetworkDiagnosticsCluster) cluster) - .resetCounts((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - wiFiNetworkDiagnosticsresetCountsCommandParams); - wiFiNetworkDiagnosticsClusterInteractionInfoMap.put( - "resetCounts", wiFiNetworkDiagnosticsresetCountsInteractionInfo); - commandMap.put("wiFiNetworkDiagnostics", wiFiNetworkDiagnosticsClusterInteractionInfoMap); - Map ethernetNetworkDiagnosticsClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map ethernetNetworkDiagnosticsresetCountsCommandParams = - new LinkedHashMap(); - InteractionInfo ethernetNetworkDiagnosticsresetCountsInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.EthernetNetworkDiagnosticsCluster) cluster) - .resetCounts((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - ethernetNetworkDiagnosticsresetCountsCommandParams); - ethernetNetworkDiagnosticsClusterInteractionInfoMap.put( - "resetCounts", ethernetNetworkDiagnosticsresetCountsInteractionInfo); - commandMap.put( - "ethernetNetworkDiagnostics", ethernetNetworkDiagnosticsClusterInteractionInfoMap); - Map timeSynchronizationClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map timeSynchronizationsetUTCTimeCommandParams = - new LinkedHashMap(); - CommandParameterInfo timeSynchronizationsetUTCTimeUTCTimeCommandParameterInfo = - new CommandParameterInfo("UTCTime", Long.class, Long.class); - timeSynchronizationsetUTCTimeCommandParams.put( - "UTCTime", timeSynchronizationsetUTCTimeUTCTimeCommandParameterInfo); - - CommandParameterInfo timeSynchronizationsetUTCTimegranularityCommandParameterInfo = - new CommandParameterInfo("granularity", Integer.class, Integer.class); - timeSynchronizationsetUTCTimeCommandParams.put( - "granularity", timeSynchronizationsetUTCTimegranularityCommandParameterInfo); - - CommandParameterInfo timeSynchronizationsetUTCTimetimeSourceCommandParameterInfo = - new CommandParameterInfo("timeSource", Optional.class, Integer.class); - timeSynchronizationsetUTCTimeCommandParams.put( - "timeSource", timeSynchronizationsetUTCTimetimeSourceCommandParameterInfo); - - InteractionInfo timeSynchronizationsetUTCTimeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeSynchronizationCluster) cluster) - .setUTCTime( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("UTCTime"), - (Integer) commandArguments.get("granularity"), - (Optional) commandArguments.get("timeSource")); - }, - () -> new DelegatedDefaultClusterCallback(), - timeSynchronizationsetUTCTimeCommandParams); - timeSynchronizationClusterInteractionInfoMap.put( - "setUTCTime", timeSynchronizationsetUTCTimeInteractionInfo); - Map timeSynchronizationsetTrustedTimeSourceCommandParams = - new LinkedHashMap(); - InteractionInfo timeSynchronizationsetTrustedTimeSourceInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeSynchronizationCluster) cluster) - .setTrustedTimeSource( - (DefaultClusterCallback) callback, - (ChipStructs.TimeSynchronizationClusterFabricScopedTrustedTimeSourceStruct) - commandArguments.get("trustedTimeSource")); - }, - () -> new DelegatedDefaultClusterCallback(), - timeSynchronizationsetTrustedTimeSourceCommandParams); - timeSynchronizationClusterInteractionInfoMap.put( - "setTrustedTimeSource", timeSynchronizationsetTrustedTimeSourceInteractionInfo); - Map timeSynchronizationsetTimeZoneCommandParams = - new LinkedHashMap(); - InteractionInfo timeSynchronizationsetTimeZoneInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeSynchronizationCluster) cluster) - .setTimeZone( - (ChipClusters.TimeSynchronizationCluster.SetTimeZoneResponseCallback) - callback, - (ArrayList) - commandArguments.get("timeZone")); - }, - () -> new DelegatedTimeSynchronizationClusterSetTimeZoneResponseCallback(), - timeSynchronizationsetTimeZoneCommandParams); - timeSynchronizationClusterInteractionInfoMap.put( - "setTimeZone", timeSynchronizationsetTimeZoneInteractionInfo); - Map timeSynchronizationsetDSTOffsetCommandParams = - new LinkedHashMap(); - InteractionInfo timeSynchronizationsetDSTOffsetInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeSynchronizationCluster) cluster) - .setDSTOffset( - (DefaultClusterCallback) callback, - (ArrayList) - commandArguments.get("DSTOffset")); - }, - () -> new DelegatedDefaultClusterCallback(), - timeSynchronizationsetDSTOffsetCommandParams); - timeSynchronizationClusterInteractionInfoMap.put( - "setDSTOffset", timeSynchronizationsetDSTOffsetInteractionInfo); - Map timeSynchronizationsetDefaultNTPCommandParams = - new LinkedHashMap(); - CommandParameterInfo timeSynchronizationsetDefaultNTPdefaultNTPCommandParameterInfo = - new CommandParameterInfo("defaultNTP", String.class, String.class); - timeSynchronizationsetDefaultNTPCommandParams.put( - "defaultNTP", timeSynchronizationsetDefaultNTPdefaultNTPCommandParameterInfo); - - InteractionInfo timeSynchronizationsetDefaultNTPInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeSynchronizationCluster) cluster) - .setDefaultNTP( - (DefaultClusterCallback) callback, - (String) commandArguments.get("defaultNTP")); - }, - () -> new DelegatedDefaultClusterCallback(), - timeSynchronizationsetDefaultNTPCommandParams); - timeSynchronizationClusterInteractionInfoMap.put( - "setDefaultNTP", timeSynchronizationsetDefaultNTPInteractionInfo); - commandMap.put("timeSynchronization", timeSynchronizationClusterInteractionInfoMap); - Map bridgedDeviceBasicInformationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "bridgedDeviceBasicInformation", bridgedDeviceBasicInformationClusterInteractionInfoMap); - Map switchClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("switch", switchClusterInteractionInfoMap); - Map administratorCommissioningClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map - administratorCommissioningopenCommissioningWindowCommandParams = - new LinkedHashMap(); - CommandParameterInfo - administratorCommissioningopenCommissioningWindowcommissioningTimeoutCommandParameterInfo = - new CommandParameterInfo("commissioningTimeout", Integer.class, Integer.class); - administratorCommissioningopenCommissioningWindowCommandParams.put( - "commissioningTimeout", - administratorCommissioningopenCommissioningWindowcommissioningTimeoutCommandParameterInfo); - - CommandParameterInfo - administratorCommissioningopenCommissioningWindowPAKEPasscodeVerifierCommandParameterInfo = - new CommandParameterInfo("PAKEPasscodeVerifier", byte[].class, byte[].class); - administratorCommissioningopenCommissioningWindowCommandParams.put( - "PAKEPasscodeVerifier", - administratorCommissioningopenCommissioningWindowPAKEPasscodeVerifierCommandParameterInfo); - - CommandParameterInfo - administratorCommissioningopenCommissioningWindowdiscriminatorCommandParameterInfo = - new CommandParameterInfo("discriminator", Integer.class, Integer.class); - administratorCommissioningopenCommissioningWindowCommandParams.put( - "discriminator", - administratorCommissioningopenCommissioningWindowdiscriminatorCommandParameterInfo); - - CommandParameterInfo - administratorCommissioningopenCommissioningWindowiterationsCommandParameterInfo = - new CommandParameterInfo("iterations", Long.class, Long.class); - administratorCommissioningopenCommissioningWindowCommandParams.put( - "iterations", - administratorCommissioningopenCommissioningWindowiterationsCommandParameterInfo); - - CommandParameterInfo administratorCommissioningopenCommissioningWindowsaltCommandParameterInfo = - new CommandParameterInfo("salt", byte[].class, byte[].class); - administratorCommissioningopenCommissioningWindowCommandParams.put( - "salt", administratorCommissioningopenCommissioningWindowsaltCommandParameterInfo); - - InteractionInfo administratorCommissioningopenCommissioningWindowInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .openCommissioningWindow( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("commissioningTimeout"), - (byte[]) commandArguments.get("PAKEPasscodeVerifier"), - (Integer) commandArguments.get("discriminator"), - (Long) commandArguments.get("iterations"), - (byte[]) commandArguments.get("salt"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - administratorCommissioningopenCommissioningWindowCommandParams); - administratorCommissioningClusterInteractionInfoMap.put( - "openCommissioningWindow", - administratorCommissioningopenCommissioningWindowInteractionInfo); - Map - administratorCommissioningopenBasicCommissioningWindowCommandParams = - new LinkedHashMap(); - CommandParameterInfo - administratorCommissioningopenBasicCommissioningWindowcommissioningTimeoutCommandParameterInfo = - new CommandParameterInfo("commissioningTimeout", Integer.class, Integer.class); - administratorCommissioningopenBasicCommissioningWindowCommandParams.put( - "commissioningTimeout", - administratorCommissioningopenBasicCommissioningWindowcommissioningTimeoutCommandParameterInfo); - - InteractionInfo administratorCommissioningopenBasicCommissioningWindowInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .openBasicCommissioningWindow( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("commissioningTimeout"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - administratorCommissioningopenBasicCommissioningWindowCommandParams); - administratorCommissioningClusterInteractionInfoMap.put( - "openBasicCommissioningWindow", - administratorCommissioningopenBasicCommissioningWindowInteractionInfo); - Map administratorCommissioningrevokeCommissioningCommandParams = - new LinkedHashMap(); - InteractionInfo administratorCommissioningrevokeCommissioningInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AdministratorCommissioningCluster) cluster) - .revokeCommissioning((DefaultClusterCallback) callback, 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - administratorCommissioningrevokeCommissioningCommandParams); - administratorCommissioningClusterInteractionInfoMap.put( - "revokeCommissioning", administratorCommissioningrevokeCommissioningInteractionInfo); - commandMap.put( - "administratorCommissioning", administratorCommissioningClusterInteractionInfoMap); - Map operationalCredentialsClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map operationalCredentialsattestationRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo - operationalCredentialsattestationRequestattestationNonceCommandParameterInfo = - new CommandParameterInfo("attestationNonce", byte[].class, byte[].class); - operationalCredentialsattestationRequestCommandParams.put( - "attestationNonce", - operationalCredentialsattestationRequestattestationNonceCommandParameterInfo); - - InteractionInfo operationalCredentialsattestationRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .attestationRequest( - (ChipClusters.OperationalCredentialsCluster.AttestationResponseCallback) - callback, - (byte[]) commandArguments.get("attestationNonce")); - }, - () -> new DelegatedOperationalCredentialsClusterAttestationResponseCallback(), - operationalCredentialsattestationRequestCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "attestationRequest", operationalCredentialsattestationRequestInteractionInfo); - Map operationalCredentialscertificateChainRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo - operationalCredentialscertificateChainRequestcertificateTypeCommandParameterInfo = - new CommandParameterInfo("certificateType", Integer.class, Integer.class); - operationalCredentialscertificateChainRequestCommandParams.put( - "certificateType", - operationalCredentialscertificateChainRequestcertificateTypeCommandParameterInfo); - - InteractionInfo operationalCredentialscertificateChainRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .certificateChainRequest( - (ChipClusters.OperationalCredentialsCluster.CertificateChainResponseCallback) - callback, - (Integer) commandArguments.get("certificateType")); - }, - () -> new DelegatedOperationalCredentialsClusterCertificateChainResponseCallback(), - operationalCredentialscertificateChainRequestCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "certificateChainRequest", operationalCredentialscertificateChainRequestInteractionInfo); - Map operationalCredentialsCSRRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo operationalCredentialsCSRRequestCSRNonceCommandParameterInfo = - new CommandParameterInfo("CSRNonce", byte[].class, byte[].class); - operationalCredentialsCSRRequestCommandParams.put( - "CSRNonce", operationalCredentialsCSRRequestCSRNonceCommandParameterInfo); - - CommandParameterInfo operationalCredentialsCSRRequestisForUpdateNOCCommandParameterInfo = - new CommandParameterInfo("isForUpdateNOC", Optional.class, Boolean.class); - operationalCredentialsCSRRequestCommandParams.put( - "isForUpdateNOC", operationalCredentialsCSRRequestisForUpdateNOCCommandParameterInfo); - - InteractionInfo operationalCredentialsCSRRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .CSRRequest( - (ChipClusters.OperationalCredentialsCluster.CSRResponseCallback) callback, - (byte[]) commandArguments.get("CSRNonce"), - (Optional) commandArguments.get("isForUpdateNOC")); - }, - () -> new DelegatedOperationalCredentialsClusterCSRResponseCallback(), - operationalCredentialsCSRRequestCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "CSRRequest", operationalCredentialsCSRRequestInteractionInfo); - Map operationalCredentialsaddNOCCommandParams = - new LinkedHashMap(); - CommandParameterInfo operationalCredentialsaddNOCNOCValueCommandParameterInfo = - new CommandParameterInfo("NOCValue", byte[].class, byte[].class); - operationalCredentialsaddNOCCommandParams.put( - "NOCValue", operationalCredentialsaddNOCNOCValueCommandParameterInfo); - - CommandParameterInfo operationalCredentialsaddNOCICACValueCommandParameterInfo = - new CommandParameterInfo("ICACValue", Optional.class, byte[].class); - operationalCredentialsaddNOCCommandParams.put( - "ICACValue", operationalCredentialsaddNOCICACValueCommandParameterInfo); - - CommandParameterInfo operationalCredentialsaddNOCIPKValueCommandParameterInfo = - new CommandParameterInfo("IPKValue", byte[].class, byte[].class); - operationalCredentialsaddNOCCommandParams.put( - "IPKValue", operationalCredentialsaddNOCIPKValueCommandParameterInfo); - - CommandParameterInfo operationalCredentialsaddNOCcaseAdminSubjectCommandParameterInfo = - new CommandParameterInfo("caseAdminSubject", Long.class, Long.class); - operationalCredentialsaddNOCCommandParams.put( - "caseAdminSubject", operationalCredentialsaddNOCcaseAdminSubjectCommandParameterInfo); - - CommandParameterInfo operationalCredentialsaddNOCadminVendorIdCommandParameterInfo = - new CommandParameterInfo("adminVendorId", Integer.class, Integer.class); - operationalCredentialsaddNOCCommandParams.put( - "adminVendorId", operationalCredentialsaddNOCadminVendorIdCommandParameterInfo); - - InteractionInfo operationalCredentialsaddNOCInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .addNOC( - (ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback, - (byte[]) commandArguments.get("NOCValue"), - (Optional) commandArguments.get("ICACValue"), - (byte[]) commandArguments.get("IPKValue"), - (Long) commandArguments.get("caseAdminSubject"), - (Integer) commandArguments.get("adminVendorId")); - }, - () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), - operationalCredentialsaddNOCCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "addNOC", operationalCredentialsaddNOCInteractionInfo); - Map operationalCredentialsupdateNOCCommandParams = - new LinkedHashMap(); - CommandParameterInfo operationalCredentialsupdateNOCNOCValueCommandParameterInfo = - new CommandParameterInfo("NOCValue", byte[].class, byte[].class); - operationalCredentialsupdateNOCCommandParams.put( - "NOCValue", operationalCredentialsupdateNOCNOCValueCommandParameterInfo); - - CommandParameterInfo operationalCredentialsupdateNOCICACValueCommandParameterInfo = - new CommandParameterInfo("ICACValue", Optional.class, byte[].class); - operationalCredentialsupdateNOCCommandParams.put( - "ICACValue", operationalCredentialsupdateNOCICACValueCommandParameterInfo); - - InteractionInfo operationalCredentialsupdateNOCInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .updateNOC( - (ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback, - (byte[]) commandArguments.get("NOCValue"), - (Optional) commandArguments.get("ICACValue")); - }, - () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), - operationalCredentialsupdateNOCCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "updateNOC", operationalCredentialsupdateNOCInteractionInfo); - Map operationalCredentialsupdateFabricLabelCommandParams = - new LinkedHashMap(); - CommandParameterInfo operationalCredentialsupdateFabricLabellabelCommandParameterInfo = - new CommandParameterInfo("label", String.class, String.class); - operationalCredentialsupdateFabricLabelCommandParams.put( - "label", operationalCredentialsupdateFabricLabellabelCommandParameterInfo); - - InteractionInfo operationalCredentialsupdateFabricLabelInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .updateFabricLabel( - (ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback, - (String) commandArguments.get("label")); - }, - () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), - operationalCredentialsupdateFabricLabelCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "updateFabricLabel", operationalCredentialsupdateFabricLabelInteractionInfo); - Map operationalCredentialsremoveFabricCommandParams = - new LinkedHashMap(); - CommandParameterInfo operationalCredentialsremoveFabricfabricIndexCommandParameterInfo = - new CommandParameterInfo("fabricIndex", Integer.class, Integer.class); - operationalCredentialsremoveFabricCommandParams.put( - "fabricIndex", operationalCredentialsremoveFabricfabricIndexCommandParameterInfo); - - InteractionInfo operationalCredentialsremoveFabricInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .removeFabric( - (ChipClusters.OperationalCredentialsCluster.NOCResponseCallback) callback, - (Integer) commandArguments.get("fabricIndex")); - }, - () -> new DelegatedOperationalCredentialsClusterNOCResponseCallback(), - operationalCredentialsremoveFabricCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "removeFabric", operationalCredentialsremoveFabricInteractionInfo); - Map operationalCredentialsaddTrustedRootCertificateCommandParams = - new LinkedHashMap(); - CommandParameterInfo - operationalCredentialsaddTrustedRootCertificaterootCACertificateCommandParameterInfo = - new CommandParameterInfo("rootCACertificate", byte[].class, byte[].class); - operationalCredentialsaddTrustedRootCertificateCommandParams.put( - "rootCACertificate", - operationalCredentialsaddTrustedRootCertificaterootCACertificateCommandParameterInfo); - - InteractionInfo operationalCredentialsaddTrustedRootCertificateInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OperationalCredentialsCluster) cluster) - .addTrustedRootCertificate( - (DefaultClusterCallback) callback, - (byte[]) commandArguments.get("rootCACertificate")); - }, - () -> new DelegatedDefaultClusterCallback(), - operationalCredentialsaddTrustedRootCertificateCommandParams); - operationalCredentialsClusterInteractionInfoMap.put( - "addTrustedRootCertificate", - operationalCredentialsaddTrustedRootCertificateInteractionInfo); - commandMap.put("operationalCredentials", operationalCredentialsClusterInteractionInfoMap); - Map groupKeyManagementClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map groupKeyManagementkeySetWriteCommandParams = - new LinkedHashMap(); - InteractionInfo groupKeyManagementkeySetWriteInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .keySetWrite( - (DefaultClusterCallback) callback, - (ChipStructs.GroupKeyManagementClusterGroupKeySetStruct) - commandArguments.get("groupKeySet")); - }, - () -> new DelegatedDefaultClusterCallback(), - groupKeyManagementkeySetWriteCommandParams); - groupKeyManagementClusterInteractionInfoMap.put( - "keySetWrite", groupKeyManagementkeySetWriteInteractionInfo); - Map groupKeyManagementkeySetReadCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupKeyManagementkeySetReadgroupKeySetIDCommandParameterInfo = - new CommandParameterInfo("groupKeySetID", Integer.class, Integer.class); - groupKeyManagementkeySetReadCommandParams.put( - "groupKeySetID", groupKeyManagementkeySetReadgroupKeySetIDCommandParameterInfo); - - InteractionInfo groupKeyManagementkeySetReadInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .keySetRead( - (ChipClusters.GroupKeyManagementCluster.KeySetReadResponseCallback) callback, - (Integer) commandArguments.get("groupKeySetID")); - }, - () -> new DelegatedGroupKeyManagementClusterKeySetReadResponseCallback(), - groupKeyManagementkeySetReadCommandParams); - groupKeyManagementClusterInteractionInfoMap.put( - "keySetRead", groupKeyManagementkeySetReadInteractionInfo); - Map groupKeyManagementkeySetRemoveCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupKeyManagementkeySetRemovegroupKeySetIDCommandParameterInfo = - new CommandParameterInfo("groupKeySetID", Integer.class, Integer.class); - groupKeyManagementkeySetRemoveCommandParams.put( - "groupKeySetID", groupKeyManagementkeySetRemovegroupKeySetIDCommandParameterInfo); - - InteractionInfo groupKeyManagementkeySetRemoveInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .keySetRemove( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("groupKeySetID")); - }, - () -> new DelegatedDefaultClusterCallback(), - groupKeyManagementkeySetRemoveCommandParams); - groupKeyManagementClusterInteractionInfoMap.put( - "keySetRemove", groupKeyManagementkeySetRemoveInteractionInfo); - Map groupKeyManagementkeySetReadAllIndicesCommandParams = - new LinkedHashMap(); - CommandParameterInfo groupKeyManagementkeySetReadAllIndicesgroupKeySetIDsCommandParameterInfo = - new CommandParameterInfo("groupKeySetIDs", ArrayList.class, Integer.class); - groupKeyManagementkeySetReadAllIndicesCommandParams.put( - "groupKeySetIDs", groupKeyManagementkeySetReadAllIndicesgroupKeySetIDsCommandParameterInfo); - - InteractionInfo groupKeyManagementkeySetReadAllIndicesInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GroupKeyManagementCluster) cluster) - .keySetReadAllIndices( - (ChipClusters.GroupKeyManagementCluster.KeySetReadAllIndicesResponseCallback) - callback, - (ArrayList) commandArguments.get("groupKeySetIDs")); - }, - () -> new DelegatedGroupKeyManagementClusterKeySetReadAllIndicesResponseCallback(), - groupKeyManagementkeySetReadAllIndicesCommandParams); - groupKeyManagementClusterInteractionInfoMap.put( - "keySetReadAllIndices", groupKeyManagementkeySetReadAllIndicesInteractionInfo); - commandMap.put("groupKeyManagement", groupKeyManagementClusterInteractionInfoMap); - Map fixedLabelClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("fixedLabel", fixedLabelClusterInteractionInfoMap); - Map userLabelClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("userLabel", userLabelClusterInteractionInfoMap); - Map proxyConfigurationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("proxyConfiguration", proxyConfigurationClusterInteractionInfoMap); - Map proxyDiscoveryClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("proxyDiscovery", proxyDiscoveryClusterInteractionInfoMap); - Map proxyValidClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("proxyValid", proxyValidClusterInteractionInfoMap); - Map booleanStateClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("booleanState", booleanStateClusterInteractionInfoMap); - Map icdManagementClusterInteractionInfoMap = new LinkedHashMap<>(); - Map icdManagementregisterClientCommandParams = - new LinkedHashMap(); - CommandParameterInfo icdManagementregisterClientcheckInNodeIDCommandParameterInfo = - new CommandParameterInfo("checkInNodeID", Long.class, Long.class); - icdManagementregisterClientCommandParams.put( - "checkInNodeID", icdManagementregisterClientcheckInNodeIDCommandParameterInfo); - - CommandParameterInfo icdManagementregisterClientmonitoredSubjectCommandParameterInfo = - new CommandParameterInfo("monitoredSubject", Long.class, Long.class); - icdManagementregisterClientCommandParams.put( - "monitoredSubject", icdManagementregisterClientmonitoredSubjectCommandParameterInfo); - - CommandParameterInfo icdManagementregisterClientkeyCommandParameterInfo = - new CommandParameterInfo("key", byte[].class, byte[].class); - icdManagementregisterClientCommandParams.put( - "key", icdManagementregisterClientkeyCommandParameterInfo); - - CommandParameterInfo icdManagementregisterClientverificationKeyCommandParameterInfo = - new CommandParameterInfo("verificationKey", Optional.class, byte[].class); - icdManagementregisterClientCommandParams.put( - "verificationKey", icdManagementregisterClientverificationKeyCommandParameterInfo); - - InteractionInfo icdManagementregisterClientInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IcdManagementCluster) cluster) - .registerClient( - (ChipClusters.IcdManagementCluster.RegisterClientResponseCallback) callback, - (Long) commandArguments.get("checkInNodeID"), - (Long) commandArguments.get("monitoredSubject"), - (byte[]) commandArguments.get("key"), - (Optional) commandArguments.get("verificationKey")); - }, - () -> new DelegatedIcdManagementClusterRegisterClientResponseCallback(), - icdManagementregisterClientCommandParams); - icdManagementClusterInteractionInfoMap.put( - "registerClient", icdManagementregisterClientInteractionInfo); - Map icdManagementunregisterClientCommandParams = - new LinkedHashMap(); - CommandParameterInfo icdManagementunregisterClientcheckInNodeIDCommandParameterInfo = - new CommandParameterInfo("checkInNodeID", Long.class, Long.class); - icdManagementunregisterClientCommandParams.put( - "checkInNodeID", icdManagementunregisterClientcheckInNodeIDCommandParameterInfo); - - CommandParameterInfo icdManagementunregisterClientkeyCommandParameterInfo = - new CommandParameterInfo("key", Optional.class, byte[].class); - icdManagementunregisterClientCommandParams.put( - "key", icdManagementunregisterClientkeyCommandParameterInfo); - - InteractionInfo icdManagementunregisterClientInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IcdManagementCluster) cluster) - .unregisterClient( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("checkInNodeID"), - (Optional) commandArguments.get("key")); - }, - () -> new DelegatedDefaultClusterCallback(), - icdManagementunregisterClientCommandParams); - icdManagementClusterInteractionInfoMap.put( - "unregisterClient", icdManagementunregisterClientInteractionInfo); - Map icdManagementstayActiveRequestCommandParams = - new LinkedHashMap(); - InteractionInfo icdManagementstayActiveRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IcdManagementCluster) cluster) - .stayActiveRequest((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - icdManagementstayActiveRequestCommandParams); - icdManagementClusterInteractionInfoMap.put( - "stayActiveRequest", icdManagementstayActiveRequestInteractionInfo); - commandMap.put("icdManagement", icdManagementClusterInteractionInfoMap); - Map modeSelectClusterInteractionInfoMap = new LinkedHashMap<>(); - Map modeSelectchangeToModeCommandParams = - new LinkedHashMap(); - CommandParameterInfo modeSelectchangeToModenewModeCommandParameterInfo = - new CommandParameterInfo("newMode", Integer.class, Integer.class); - modeSelectchangeToModeCommandParams.put( - "newMode", modeSelectchangeToModenewModeCommandParameterInfo); - - InteractionInfo modeSelectchangeToModeInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster) - .changeToMode( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("newMode")); - }, - () -> new DelegatedDefaultClusterCallback(), - modeSelectchangeToModeCommandParams); - modeSelectClusterInteractionInfoMap.put("changeToMode", modeSelectchangeToModeInteractionInfo); - commandMap.put("modeSelect", modeSelectClusterInteractionInfoMap); - Map temperatureControlClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("temperatureControl", temperatureControlClusterInteractionInfoMap); - Map refrigeratorAlarmClusterInteractionInfoMap = new LinkedHashMap<>(); - Map refrigeratorAlarmresetCommandParams = - new LinkedHashMap(); - CommandParameterInfo refrigeratorAlarmresetalarmsCommandParameterInfo = - new CommandParameterInfo("alarms", Long.class, Long.class); - refrigeratorAlarmresetCommandParams.put( - "alarms", refrigeratorAlarmresetalarmsCommandParameterInfo); - - CommandParameterInfo refrigeratorAlarmresetmaskCommandParameterInfo = - new CommandParameterInfo("mask", Optional.class, Long.class); - refrigeratorAlarmresetCommandParams.put("mask", refrigeratorAlarmresetmaskCommandParameterInfo); - - InteractionInfo refrigeratorAlarmresetInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.RefrigeratorAlarmCluster) cluster) - .reset( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("alarms"), - (Optional) commandArguments.get("mask")); - }, - () -> new DelegatedDefaultClusterCallback(), - refrigeratorAlarmresetCommandParams); - refrigeratorAlarmClusterInteractionInfoMap.put("reset", refrigeratorAlarmresetInteractionInfo); - commandMap.put("refrigeratorAlarm", refrigeratorAlarmClusterInteractionInfoMap); - Map airQualityClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("airQuality", airQualityClusterInteractionInfoMap); - Map smokeCoAlarmClusterInteractionInfoMap = new LinkedHashMap<>(); - Map smokeCoAlarmselfTestRequestCommandParams = - new LinkedHashMap(); - InteractionInfo smokeCoAlarmselfTestRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.SmokeCoAlarmCluster) cluster) - .selfTestRequest((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - smokeCoAlarmselfTestRequestCommandParams); - smokeCoAlarmClusterInteractionInfoMap.put( - "selfTestRequest", smokeCoAlarmselfTestRequestInteractionInfo); - commandMap.put("smokeCoAlarm", smokeCoAlarmClusterInteractionInfoMap); - Map operationalStateClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("operationalState", operationalStateClusterInteractionInfoMap); - Map hepaFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("hepaFilterMonitoring", hepaFilterMonitoringClusterInteractionInfoMap); - Map activatedCarbonFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "activatedCarbonFilterMonitoring", - activatedCarbonFilterMonitoringClusterInteractionInfoMap); - Map ceramicFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("ceramicFilterMonitoring", ceramicFilterMonitoringClusterInteractionInfoMap); - Map electrostaticFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "electrostaticFilterMonitoring", electrostaticFilterMonitoringClusterInteractionInfoMap); - Map uvFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("uvFilterMonitoring", uvFilterMonitoringClusterInteractionInfoMap); - Map ionizingFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("ionizingFilterMonitoring", ionizingFilterMonitoringClusterInteractionInfoMap); - Map zeoliteFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("zeoliteFilterMonitoring", zeoliteFilterMonitoringClusterInteractionInfoMap); - Map ozoneFilterMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("ozoneFilterMonitoring", ozoneFilterMonitoringClusterInteractionInfoMap); - Map waterTankMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("waterTankMonitoring", waterTankMonitoringClusterInteractionInfoMap); - Map fuelTankMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("fuelTankMonitoring", fuelTankMonitoringClusterInteractionInfoMap); - Map inkCartridgeMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("inkCartridgeMonitoring", inkCartridgeMonitoringClusterInteractionInfoMap); - Map tonerCartridgeMonitoringClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("tonerCartridgeMonitoring", tonerCartridgeMonitoringClusterInteractionInfoMap); - Map doorLockClusterInteractionInfoMap = new LinkedHashMap<>(); - Map doorLocklockDoorCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocklockDoorPINCodeCommandParameterInfo = - new CommandParameterInfo("PINCode", Optional.class, byte[].class); - doorLocklockDoorCommandParams.put("PINCode", doorLocklockDoorPINCodeCommandParameterInfo); - - InteractionInfo doorLocklockDoorInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .lockDoor( - (DefaultClusterCallback) callback, - (Optional) commandArguments.get("PINCode"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLocklockDoorCommandParams); - doorLockClusterInteractionInfoMap.put("lockDoor", doorLocklockDoorInteractionInfo); - Map doorLockunlockDoorCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockunlockDoorPINCodeCommandParameterInfo = - new CommandParameterInfo("PINCode", Optional.class, byte[].class); - doorLockunlockDoorCommandParams.put("PINCode", doorLockunlockDoorPINCodeCommandParameterInfo); - - InteractionInfo doorLockunlockDoorInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .unlockDoor( - (DefaultClusterCallback) callback, - (Optional) commandArguments.get("PINCode"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLockunlockDoorCommandParams); - doorLockClusterInteractionInfoMap.put("unlockDoor", doorLockunlockDoorInteractionInfo); - Map doorLockunlockWithTimeoutCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockunlockWithTimeouttimeoutCommandParameterInfo = - new CommandParameterInfo("timeout", Integer.class, Integer.class); - doorLockunlockWithTimeoutCommandParams.put( - "timeout", doorLockunlockWithTimeouttimeoutCommandParameterInfo); - - CommandParameterInfo doorLockunlockWithTimeoutPINCodeCommandParameterInfo = - new CommandParameterInfo("PINCode", Optional.class, byte[].class); - doorLockunlockWithTimeoutCommandParams.put( - "PINCode", doorLockunlockWithTimeoutPINCodeCommandParameterInfo); - - InteractionInfo doorLockunlockWithTimeoutInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .unlockWithTimeout( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("timeout"), - (Optional) commandArguments.get("PINCode"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLockunlockWithTimeoutCommandParams); - doorLockClusterInteractionInfoMap.put( - "unlockWithTimeout", doorLockunlockWithTimeoutInteractionInfo); - Map doorLocksetWeekDayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocksetWeekDayScheduleweekDayIndexCommandParameterInfo = - new CommandParameterInfo("weekDayIndex", Integer.class, Integer.class); - doorLocksetWeekDayScheduleCommandParams.put( - "weekDayIndex", doorLocksetWeekDayScheduleweekDayIndexCommandParameterInfo); - - CommandParameterInfo doorLocksetWeekDayScheduleuserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLocksetWeekDayScheduleCommandParams.put( - "userIndex", doorLocksetWeekDayScheduleuserIndexCommandParameterInfo); - - CommandParameterInfo doorLocksetWeekDayScheduledaysMaskCommandParameterInfo = - new CommandParameterInfo("daysMask", Integer.class, Integer.class); - doorLocksetWeekDayScheduleCommandParams.put( - "daysMask", doorLocksetWeekDayScheduledaysMaskCommandParameterInfo); - - CommandParameterInfo doorLocksetWeekDaySchedulestartHourCommandParameterInfo = - new CommandParameterInfo("startHour", Integer.class, Integer.class); - doorLocksetWeekDayScheduleCommandParams.put( - "startHour", doorLocksetWeekDaySchedulestartHourCommandParameterInfo); - - CommandParameterInfo doorLocksetWeekDaySchedulestartMinuteCommandParameterInfo = - new CommandParameterInfo("startMinute", Integer.class, Integer.class); - doorLocksetWeekDayScheduleCommandParams.put( - "startMinute", doorLocksetWeekDaySchedulestartMinuteCommandParameterInfo); - - CommandParameterInfo doorLocksetWeekDayScheduleendHourCommandParameterInfo = - new CommandParameterInfo("endHour", Integer.class, Integer.class); - doorLocksetWeekDayScheduleCommandParams.put( - "endHour", doorLocksetWeekDayScheduleendHourCommandParameterInfo); - - CommandParameterInfo doorLocksetWeekDayScheduleendMinuteCommandParameterInfo = - new CommandParameterInfo("endMinute", Integer.class, Integer.class); - doorLocksetWeekDayScheduleCommandParams.put( - "endMinute", doorLocksetWeekDayScheduleendMinuteCommandParameterInfo); - - InteractionInfo doorLocksetWeekDayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .setWeekDaySchedule( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("weekDayIndex"), - (Integer) commandArguments.get("userIndex"), - (Integer) commandArguments.get("daysMask"), - (Integer) commandArguments.get("startHour"), - (Integer) commandArguments.get("startMinute"), - (Integer) commandArguments.get("endHour"), - (Integer) commandArguments.get("endMinute")); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLocksetWeekDayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "setWeekDaySchedule", doorLocksetWeekDayScheduleInteractionInfo); - Map doorLockgetWeekDayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockgetWeekDayScheduleweekDayIndexCommandParameterInfo = - new CommandParameterInfo("weekDayIndex", Integer.class, Integer.class); - doorLockgetWeekDayScheduleCommandParams.put( - "weekDayIndex", doorLockgetWeekDayScheduleweekDayIndexCommandParameterInfo); - - CommandParameterInfo doorLockgetWeekDayScheduleuserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLockgetWeekDayScheduleCommandParams.put( - "userIndex", doorLockgetWeekDayScheduleuserIndexCommandParameterInfo); - - InteractionInfo doorLockgetWeekDayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .getWeekDaySchedule( - (ChipClusters.DoorLockCluster.GetWeekDayScheduleResponseCallback) callback, - (Integer) commandArguments.get("weekDayIndex"), - (Integer) commandArguments.get("userIndex")); - }, - () -> new DelegatedDoorLockClusterGetWeekDayScheduleResponseCallback(), - doorLockgetWeekDayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "getWeekDaySchedule", doorLockgetWeekDayScheduleInteractionInfo); - Map doorLockclearWeekDayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockclearWeekDayScheduleweekDayIndexCommandParameterInfo = - new CommandParameterInfo("weekDayIndex", Integer.class, Integer.class); - doorLockclearWeekDayScheduleCommandParams.put( - "weekDayIndex", doorLockclearWeekDayScheduleweekDayIndexCommandParameterInfo); - - CommandParameterInfo doorLockclearWeekDayScheduleuserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLockclearWeekDayScheduleCommandParams.put( - "userIndex", doorLockclearWeekDayScheduleuserIndexCommandParameterInfo); - - InteractionInfo doorLockclearWeekDayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .clearWeekDaySchedule( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("weekDayIndex"), - (Integer) commandArguments.get("userIndex")); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLockclearWeekDayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "clearWeekDaySchedule", doorLockclearWeekDayScheduleInteractionInfo); - Map doorLocksetYearDayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocksetYearDayScheduleyearDayIndexCommandParameterInfo = - new CommandParameterInfo("yearDayIndex", Integer.class, Integer.class); - doorLocksetYearDayScheduleCommandParams.put( - "yearDayIndex", doorLocksetYearDayScheduleyearDayIndexCommandParameterInfo); - - CommandParameterInfo doorLocksetYearDayScheduleuserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLocksetYearDayScheduleCommandParams.put( - "userIndex", doorLocksetYearDayScheduleuserIndexCommandParameterInfo); - - CommandParameterInfo doorLocksetYearDaySchedulelocalStartTimeCommandParameterInfo = - new CommandParameterInfo("localStartTime", Long.class, Long.class); - doorLocksetYearDayScheduleCommandParams.put( - "localStartTime", doorLocksetYearDaySchedulelocalStartTimeCommandParameterInfo); - - CommandParameterInfo doorLocksetYearDaySchedulelocalEndTimeCommandParameterInfo = - new CommandParameterInfo("localEndTime", Long.class, Long.class); - doorLocksetYearDayScheduleCommandParams.put( - "localEndTime", doorLocksetYearDaySchedulelocalEndTimeCommandParameterInfo); - - InteractionInfo doorLocksetYearDayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .setYearDaySchedule( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("yearDayIndex"), - (Integer) commandArguments.get("userIndex"), - (Long) commandArguments.get("localStartTime"), - (Long) commandArguments.get("localEndTime")); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLocksetYearDayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "setYearDaySchedule", doorLocksetYearDayScheduleInteractionInfo); - Map doorLockgetYearDayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockgetYearDayScheduleyearDayIndexCommandParameterInfo = - new CommandParameterInfo("yearDayIndex", Integer.class, Integer.class); - doorLockgetYearDayScheduleCommandParams.put( - "yearDayIndex", doorLockgetYearDayScheduleyearDayIndexCommandParameterInfo); - - CommandParameterInfo doorLockgetYearDayScheduleuserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLockgetYearDayScheduleCommandParams.put( - "userIndex", doorLockgetYearDayScheduleuserIndexCommandParameterInfo); - - InteractionInfo doorLockgetYearDayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .getYearDaySchedule( - (ChipClusters.DoorLockCluster.GetYearDayScheduleResponseCallback) callback, - (Integer) commandArguments.get("yearDayIndex"), - (Integer) commandArguments.get("userIndex")); - }, - () -> new DelegatedDoorLockClusterGetYearDayScheduleResponseCallback(), - doorLockgetYearDayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "getYearDaySchedule", doorLockgetYearDayScheduleInteractionInfo); - Map doorLockclearYearDayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockclearYearDayScheduleyearDayIndexCommandParameterInfo = - new CommandParameterInfo("yearDayIndex", Integer.class, Integer.class); - doorLockclearYearDayScheduleCommandParams.put( - "yearDayIndex", doorLockclearYearDayScheduleyearDayIndexCommandParameterInfo); - - CommandParameterInfo doorLockclearYearDayScheduleuserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLockclearYearDayScheduleCommandParams.put( - "userIndex", doorLockclearYearDayScheduleuserIndexCommandParameterInfo); - - InteractionInfo doorLockclearYearDayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .clearYearDaySchedule( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("yearDayIndex"), - (Integer) commandArguments.get("userIndex")); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLockclearYearDayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "clearYearDaySchedule", doorLockclearYearDayScheduleInteractionInfo); - Map doorLocksetHolidayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocksetHolidayScheduleholidayIndexCommandParameterInfo = - new CommandParameterInfo("holidayIndex", Integer.class, Integer.class); - doorLocksetHolidayScheduleCommandParams.put( - "holidayIndex", doorLocksetHolidayScheduleholidayIndexCommandParameterInfo); - - CommandParameterInfo doorLocksetHolidaySchedulelocalStartTimeCommandParameterInfo = - new CommandParameterInfo("localStartTime", Long.class, Long.class); - doorLocksetHolidayScheduleCommandParams.put( - "localStartTime", doorLocksetHolidaySchedulelocalStartTimeCommandParameterInfo); - - CommandParameterInfo doorLocksetHolidaySchedulelocalEndTimeCommandParameterInfo = - new CommandParameterInfo("localEndTime", Long.class, Long.class); - doorLocksetHolidayScheduleCommandParams.put( - "localEndTime", doorLocksetHolidaySchedulelocalEndTimeCommandParameterInfo); - - CommandParameterInfo doorLocksetHolidayScheduleoperatingModeCommandParameterInfo = - new CommandParameterInfo("operatingMode", Integer.class, Integer.class); - doorLocksetHolidayScheduleCommandParams.put( - "operatingMode", doorLocksetHolidayScheduleoperatingModeCommandParameterInfo); - - InteractionInfo doorLocksetHolidayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .setHolidaySchedule( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("holidayIndex"), - (Long) commandArguments.get("localStartTime"), - (Long) commandArguments.get("localEndTime"), - (Integer) commandArguments.get("operatingMode")); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLocksetHolidayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "setHolidaySchedule", doorLocksetHolidayScheduleInteractionInfo); - Map doorLockgetHolidayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockgetHolidayScheduleholidayIndexCommandParameterInfo = - new CommandParameterInfo("holidayIndex", Integer.class, Integer.class); - doorLockgetHolidayScheduleCommandParams.put( - "holidayIndex", doorLockgetHolidayScheduleholidayIndexCommandParameterInfo); - - InteractionInfo doorLockgetHolidayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .getHolidaySchedule( - (ChipClusters.DoorLockCluster.GetHolidayScheduleResponseCallback) callback, - (Integer) commandArguments.get("holidayIndex")); - }, - () -> new DelegatedDoorLockClusterGetHolidayScheduleResponseCallback(), - doorLockgetHolidayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "getHolidaySchedule", doorLockgetHolidayScheduleInteractionInfo); - Map doorLockclearHolidayScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockclearHolidayScheduleholidayIndexCommandParameterInfo = - new CommandParameterInfo("holidayIndex", Integer.class, Integer.class); - doorLockclearHolidayScheduleCommandParams.put( - "holidayIndex", doorLockclearHolidayScheduleholidayIndexCommandParameterInfo); - - InteractionInfo doorLockclearHolidayScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .clearHolidaySchedule( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("holidayIndex")); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLockclearHolidayScheduleCommandParams); - doorLockClusterInteractionInfoMap.put( - "clearHolidaySchedule", doorLockclearHolidayScheduleInteractionInfo); - Map doorLocksetUserCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocksetUseroperationTypeCommandParameterInfo = - new CommandParameterInfo("operationType", Integer.class, Integer.class); - doorLocksetUserCommandParams.put( - "operationType", doorLocksetUseroperationTypeCommandParameterInfo); - - CommandParameterInfo doorLocksetUseruserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLocksetUserCommandParams.put("userIndex", doorLocksetUseruserIndexCommandParameterInfo); - - CommandParameterInfo doorLocksetUseruserNameCommandParameterInfo = - new CommandParameterInfo("userName", String.class, String.class); - doorLocksetUserCommandParams.put("userName", doorLocksetUseruserNameCommandParameterInfo); - - CommandParameterInfo doorLocksetUseruserUniqueIDCommandParameterInfo = - new CommandParameterInfo("userUniqueID", Long.class, Long.class); - doorLocksetUserCommandParams.put( - "userUniqueID", doorLocksetUseruserUniqueIDCommandParameterInfo); - - CommandParameterInfo doorLocksetUseruserStatusCommandParameterInfo = - new CommandParameterInfo("userStatus", Integer.class, Integer.class); - doorLocksetUserCommandParams.put("userStatus", doorLocksetUseruserStatusCommandParameterInfo); - - CommandParameterInfo doorLocksetUseruserTypeCommandParameterInfo = - new CommandParameterInfo("userType", Integer.class, Integer.class); - doorLocksetUserCommandParams.put("userType", doorLocksetUseruserTypeCommandParameterInfo); - - CommandParameterInfo doorLocksetUsercredentialRuleCommandParameterInfo = - new CommandParameterInfo("credentialRule", Integer.class, Integer.class); - doorLocksetUserCommandParams.put( - "credentialRule", doorLocksetUsercredentialRuleCommandParameterInfo); - - InteractionInfo doorLocksetUserInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .setUser( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("operationType"), - (Integer) commandArguments.get("userIndex"), - (String) commandArguments.get("userName"), - (Long) commandArguments.get("userUniqueID"), - (Integer) commandArguments.get("userStatus"), - (Integer) commandArguments.get("userType"), - (Integer) commandArguments.get("credentialRule"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLocksetUserCommandParams); - doorLockClusterInteractionInfoMap.put("setUser", doorLocksetUserInteractionInfo); - Map doorLockgetUserCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockgetUseruserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLockgetUserCommandParams.put("userIndex", doorLockgetUseruserIndexCommandParameterInfo); - - InteractionInfo doorLockgetUserInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .getUser( - (ChipClusters.DoorLockCluster.GetUserResponseCallback) callback, - (Integer) commandArguments.get("userIndex")); - }, - () -> new DelegatedDoorLockClusterGetUserResponseCallback(), - doorLockgetUserCommandParams); - doorLockClusterInteractionInfoMap.put("getUser", doorLockgetUserInteractionInfo); - Map doorLockclearUserCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLockclearUseruserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLockclearUserCommandParams.put("userIndex", doorLockclearUseruserIndexCommandParameterInfo); - - InteractionInfo doorLockclearUserInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .clearUser( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("userIndex"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLockclearUserCommandParams); - doorLockClusterInteractionInfoMap.put("clearUser", doorLockclearUserInteractionInfo); - Map doorLocksetCredentialCommandParams = - new LinkedHashMap(); - CommandParameterInfo doorLocksetCredentialoperationTypeCommandParameterInfo = - new CommandParameterInfo("operationType", Integer.class, Integer.class); - doorLocksetCredentialCommandParams.put( - "operationType", doorLocksetCredentialoperationTypeCommandParameterInfo); - - CommandParameterInfo doorLocksetCredentialcredentialDataCommandParameterInfo = - new CommandParameterInfo("credentialData", byte[].class, byte[].class); - doorLocksetCredentialCommandParams.put( - "credentialData", doorLocksetCredentialcredentialDataCommandParameterInfo); - - CommandParameterInfo doorLocksetCredentialuserIndexCommandParameterInfo = - new CommandParameterInfo("userIndex", Integer.class, Integer.class); - doorLocksetCredentialCommandParams.put( - "userIndex", doorLocksetCredentialuserIndexCommandParameterInfo); - - CommandParameterInfo doorLocksetCredentialuserStatusCommandParameterInfo = - new CommandParameterInfo("userStatus", Integer.class, Integer.class); - doorLocksetCredentialCommandParams.put( - "userStatus", doorLocksetCredentialuserStatusCommandParameterInfo); - - CommandParameterInfo doorLocksetCredentialuserTypeCommandParameterInfo = - new CommandParameterInfo("userType", Integer.class, Integer.class); - doorLocksetCredentialCommandParams.put( - "userType", doorLocksetCredentialuserTypeCommandParameterInfo); - - InteractionInfo doorLocksetCredentialInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .setCredential( - (ChipClusters.DoorLockCluster.SetCredentialResponseCallback) callback, - (Integer) commandArguments.get("operationType"), - (ChipStructs.DoorLockClusterCredentialStruct) - commandArguments.get("credential"), - (byte[]) commandArguments.get("credentialData"), - (Integer) commandArguments.get("userIndex"), - (Integer) commandArguments.get("userStatus"), - (Integer) commandArguments.get("userType"), - 10000); - }, - () -> new DelegatedDoorLockClusterSetCredentialResponseCallback(), - doorLocksetCredentialCommandParams); - doorLockClusterInteractionInfoMap.put("setCredential", doorLocksetCredentialInteractionInfo); - Map doorLockgetCredentialStatusCommandParams = - new LinkedHashMap(); - InteractionInfo doorLockgetCredentialStatusInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .getCredentialStatus( - (ChipClusters.DoorLockCluster.GetCredentialStatusResponseCallback) callback, - (ChipStructs.DoorLockClusterCredentialStruct) - commandArguments.get("credential")); - }, - () -> new DelegatedDoorLockClusterGetCredentialStatusResponseCallback(), - doorLockgetCredentialStatusCommandParams); - doorLockClusterInteractionInfoMap.put( - "getCredentialStatus", doorLockgetCredentialStatusInteractionInfo); - Map doorLockclearCredentialCommandParams = - new LinkedHashMap(); - InteractionInfo doorLockclearCredentialInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster) - .clearCredential( - (DefaultClusterCallback) callback, - (ChipStructs.DoorLockClusterCredentialStruct) - commandArguments.get("credential"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - doorLockclearCredentialCommandParams); - doorLockClusterInteractionInfoMap.put( - "clearCredential", doorLockclearCredentialInteractionInfo); - commandMap.put("doorLock", doorLockClusterInteractionInfoMap); - Map windowCoveringClusterInteractionInfoMap = new LinkedHashMap<>(); - Map windowCoveringupOrOpenCommandParams = - new LinkedHashMap(); - InteractionInfo windowCoveringupOrOpenInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .upOrOpen((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - windowCoveringupOrOpenCommandParams); - windowCoveringClusterInteractionInfoMap.put("upOrOpen", windowCoveringupOrOpenInteractionInfo); - Map windowCoveringdownOrCloseCommandParams = - new LinkedHashMap(); - InteractionInfo windowCoveringdownOrCloseInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .downOrClose((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - windowCoveringdownOrCloseCommandParams); - windowCoveringClusterInteractionInfoMap.put( - "downOrClose", windowCoveringdownOrCloseInteractionInfo); - Map windowCoveringstopMotionCommandParams = - new LinkedHashMap(); - InteractionInfo windowCoveringstopMotionInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .stopMotion((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - windowCoveringstopMotionCommandParams); - windowCoveringClusterInteractionInfoMap.put( - "stopMotion", windowCoveringstopMotionInteractionInfo); - Map windowCoveringgoToLiftValueCommandParams = - new LinkedHashMap(); - CommandParameterInfo windowCoveringgoToLiftValueliftValueCommandParameterInfo = - new CommandParameterInfo("liftValue", Integer.class, Integer.class); - windowCoveringgoToLiftValueCommandParams.put( - "liftValue", windowCoveringgoToLiftValueliftValueCommandParameterInfo); - - InteractionInfo windowCoveringgoToLiftValueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .goToLiftValue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("liftValue")); - }, - () -> new DelegatedDefaultClusterCallback(), - windowCoveringgoToLiftValueCommandParams); - windowCoveringClusterInteractionInfoMap.put( - "goToLiftValue", windowCoveringgoToLiftValueInteractionInfo); - Map windowCoveringgoToLiftPercentageCommandParams = - new LinkedHashMap(); - CommandParameterInfo - windowCoveringgoToLiftPercentageliftPercent100thsValueCommandParameterInfo = - new CommandParameterInfo("liftPercent100thsValue", Integer.class, Integer.class); - windowCoveringgoToLiftPercentageCommandParams.put( - "liftPercent100thsValue", - windowCoveringgoToLiftPercentageliftPercent100thsValueCommandParameterInfo); - - InteractionInfo windowCoveringgoToLiftPercentageInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .goToLiftPercentage( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("liftPercent100thsValue")); - }, - () -> new DelegatedDefaultClusterCallback(), - windowCoveringgoToLiftPercentageCommandParams); - windowCoveringClusterInteractionInfoMap.put( - "goToLiftPercentage", windowCoveringgoToLiftPercentageInteractionInfo); - Map windowCoveringgoToTiltValueCommandParams = - new LinkedHashMap(); - CommandParameterInfo windowCoveringgoToTiltValuetiltValueCommandParameterInfo = - new CommandParameterInfo("tiltValue", Integer.class, Integer.class); - windowCoveringgoToTiltValueCommandParams.put( - "tiltValue", windowCoveringgoToTiltValuetiltValueCommandParameterInfo); - - InteractionInfo windowCoveringgoToTiltValueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .goToTiltValue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("tiltValue")); - }, - () -> new DelegatedDefaultClusterCallback(), - windowCoveringgoToTiltValueCommandParams); - windowCoveringClusterInteractionInfoMap.put( - "goToTiltValue", windowCoveringgoToTiltValueInteractionInfo); - Map windowCoveringgoToTiltPercentageCommandParams = - new LinkedHashMap(); - CommandParameterInfo - windowCoveringgoToTiltPercentagetiltPercent100thsValueCommandParameterInfo = - new CommandParameterInfo("tiltPercent100thsValue", Integer.class, Integer.class); - windowCoveringgoToTiltPercentageCommandParams.put( - "tiltPercent100thsValue", - windowCoveringgoToTiltPercentagetiltPercent100thsValueCommandParameterInfo); - - InteractionInfo windowCoveringgoToTiltPercentageInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster) - .goToTiltPercentage( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("tiltPercent100thsValue")); - }, - () -> new DelegatedDefaultClusterCallback(), - windowCoveringgoToTiltPercentageCommandParams); - windowCoveringClusterInteractionInfoMap.put( - "goToTiltPercentage", windowCoveringgoToTiltPercentageInteractionInfo); - commandMap.put("windowCovering", windowCoveringClusterInteractionInfoMap); - Map barrierControlClusterInteractionInfoMap = new LinkedHashMap<>(); - Map barrierControlbarrierControlGoToPercentCommandParams = - new LinkedHashMap(); - CommandParameterInfo barrierControlbarrierControlGoToPercentpercentOpenCommandParameterInfo = - new CommandParameterInfo("percentOpen", Integer.class, Integer.class); - barrierControlbarrierControlGoToPercentCommandParams.put( - "percentOpen", barrierControlbarrierControlGoToPercentpercentOpenCommandParameterInfo); - - InteractionInfo barrierControlbarrierControlGoToPercentInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .barrierControlGoToPercent( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("percentOpen")); - }, - () -> new DelegatedDefaultClusterCallback(), - barrierControlbarrierControlGoToPercentCommandParams); - barrierControlClusterInteractionInfoMap.put( - "barrierControlGoToPercent", barrierControlbarrierControlGoToPercentInteractionInfo); - Map barrierControlbarrierControlStopCommandParams = - new LinkedHashMap(); - InteractionInfo barrierControlbarrierControlStopInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BarrierControlCluster) cluster) - .barrierControlStop((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - barrierControlbarrierControlStopCommandParams); - barrierControlClusterInteractionInfoMap.put( - "barrierControlStop", barrierControlbarrierControlStopInteractionInfo); - commandMap.put("barrierControl", barrierControlClusterInteractionInfoMap); - Map pumpConfigurationAndControlClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "pumpConfigurationAndControl", pumpConfigurationAndControlClusterInteractionInfoMap); - Map thermostatClusterInteractionInfoMap = new LinkedHashMap<>(); - Map thermostatsetpointRaiseLowerCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatsetpointRaiseLowermodeCommandParameterInfo = - new CommandParameterInfo("mode", Integer.class, Integer.class); - thermostatsetpointRaiseLowerCommandParams.put( - "mode", thermostatsetpointRaiseLowermodeCommandParameterInfo); - - CommandParameterInfo thermostatsetpointRaiseLoweramountCommandParameterInfo = - new CommandParameterInfo("amount", Integer.class, Integer.class); - thermostatsetpointRaiseLowerCommandParams.put( - "amount", thermostatsetpointRaiseLoweramountCommandParameterInfo); - - InteractionInfo thermostatsetpointRaiseLowerInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .setpointRaiseLower( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("mode"), - (Integer) commandArguments.get("amount")); - }, - () -> new DelegatedDefaultClusterCallback(), - thermostatsetpointRaiseLowerCommandParams); - thermostatClusterInteractionInfoMap.put( - "setpointRaiseLower", thermostatsetpointRaiseLowerInteractionInfo); - Map thermostatsetWeeklyScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo - thermostatsetWeeklySchedulenumberOfTransitionsForSequenceCommandParameterInfo = - new CommandParameterInfo( - "numberOfTransitionsForSequence", Integer.class, Integer.class); - thermostatsetWeeklyScheduleCommandParams.put( - "numberOfTransitionsForSequence", - thermostatsetWeeklySchedulenumberOfTransitionsForSequenceCommandParameterInfo); - - CommandParameterInfo thermostatsetWeeklyScheduledayOfWeekForSequenceCommandParameterInfo = - new CommandParameterInfo("dayOfWeekForSequence", Integer.class, Integer.class); - thermostatsetWeeklyScheduleCommandParams.put( - "dayOfWeekForSequence", - thermostatsetWeeklyScheduledayOfWeekForSequenceCommandParameterInfo); - - CommandParameterInfo thermostatsetWeeklySchedulemodeForSequenceCommandParameterInfo = - new CommandParameterInfo("modeForSequence", Integer.class, Integer.class); - thermostatsetWeeklyScheduleCommandParams.put( - "modeForSequence", thermostatsetWeeklySchedulemodeForSequenceCommandParameterInfo); - - InteractionInfo thermostatsetWeeklyScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .setWeeklySchedule( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("numberOfTransitionsForSequence"), - (Integer) commandArguments.get("dayOfWeekForSequence"), - (Integer) commandArguments.get("modeForSequence"), - (ArrayList) - commandArguments.get("transitions")); - }, - () -> new DelegatedDefaultClusterCallback(), - thermostatsetWeeklyScheduleCommandParams); - thermostatClusterInteractionInfoMap.put( - "setWeeklySchedule", thermostatsetWeeklyScheduleInteractionInfo); - Map thermostatgetWeeklyScheduleCommandParams = - new LinkedHashMap(); - CommandParameterInfo thermostatgetWeeklyScheduledaysToReturnCommandParameterInfo = - new CommandParameterInfo("daysToReturn", Integer.class, Integer.class); - thermostatgetWeeklyScheduleCommandParams.put( - "daysToReturn", thermostatgetWeeklyScheduledaysToReturnCommandParameterInfo); - - CommandParameterInfo thermostatgetWeeklySchedulemodeToReturnCommandParameterInfo = - new CommandParameterInfo("modeToReturn", Integer.class, Integer.class); - thermostatgetWeeklyScheduleCommandParams.put( - "modeToReturn", thermostatgetWeeklySchedulemodeToReturnCommandParameterInfo); - - InteractionInfo thermostatgetWeeklyScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .getWeeklySchedule( - (ChipClusters.ThermostatCluster.GetWeeklyScheduleResponseCallback) callback, - (Integer) commandArguments.get("daysToReturn"), - (Integer) commandArguments.get("modeToReturn")); - }, - () -> new DelegatedThermostatClusterGetWeeklyScheduleResponseCallback(), - thermostatgetWeeklyScheduleCommandParams); - thermostatClusterInteractionInfoMap.put( - "getWeeklySchedule", thermostatgetWeeklyScheduleInteractionInfo); - Map thermostatclearWeeklyScheduleCommandParams = - new LinkedHashMap(); - InteractionInfo thermostatclearWeeklyScheduleInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster) - .clearWeeklySchedule((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - thermostatclearWeeklyScheduleCommandParams); - thermostatClusterInteractionInfoMap.put( - "clearWeeklySchedule", thermostatclearWeeklyScheduleInteractionInfo); - commandMap.put("thermostat", thermostatClusterInteractionInfoMap); - Map fanControlClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("fanControl", fanControlClusterInteractionInfoMap); - Map thermostatUserInterfaceConfigurationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "thermostatUserInterfaceConfiguration", - thermostatUserInterfaceConfigurationClusterInteractionInfoMap); - Map colorControlClusterInteractionInfoMap = new LinkedHashMap<>(); - Map colorControlmoveToHueCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveToHuehueCommandParameterInfo = - new CommandParameterInfo("hue", Integer.class, Integer.class); - colorControlmoveToHueCommandParams.put("hue", colorControlmoveToHuehueCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHuedirectionCommandParameterInfo = - new CommandParameterInfo("direction", Integer.class, Integer.class); - colorControlmoveToHueCommandParams.put( - "direction", colorControlmoveToHuedirectionCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHuetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlmoveToHueCommandParams.put( - "transitionTime", colorControlmoveToHuetransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHueoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveToHueCommandParams.put( - "optionsMask", colorControlmoveToHueoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHueoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveToHueCommandParams.put( - "optionsOverride", colorControlmoveToHueoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveToHueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveToHue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("hue"), - (Integer) commandArguments.get("direction"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveToHueCommandParams); - colorControlClusterInteractionInfoMap.put("moveToHue", colorControlmoveToHueInteractionInfo); - Map colorControlmoveHueCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveHuemoveModeCommandParameterInfo = - new CommandParameterInfo("moveMode", Integer.class, Integer.class); - colorControlmoveHueCommandParams.put( - "moveMode", colorControlmoveHuemoveModeCommandParameterInfo); - - CommandParameterInfo colorControlmoveHuerateCommandParameterInfo = - new CommandParameterInfo("rate", Integer.class, Integer.class); - colorControlmoveHueCommandParams.put("rate", colorControlmoveHuerateCommandParameterInfo); - - CommandParameterInfo colorControlmoveHueoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveHueCommandParams.put( - "optionsMask", colorControlmoveHueoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveHueoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveHueCommandParams.put( - "optionsOverride", colorControlmoveHueoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveHueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveHue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("moveMode"), - (Integer) commandArguments.get("rate"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveHueCommandParams); - colorControlClusterInteractionInfoMap.put("moveHue", colorControlmoveHueInteractionInfo); - Map colorControlstepHueCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlstepHuestepModeCommandParameterInfo = - new CommandParameterInfo("stepMode", Integer.class, Integer.class); - colorControlstepHueCommandParams.put( - "stepMode", colorControlstepHuestepModeCommandParameterInfo); - - CommandParameterInfo colorControlstepHuestepSizeCommandParameterInfo = - new CommandParameterInfo("stepSize", Integer.class, Integer.class); - colorControlstepHueCommandParams.put( - "stepSize", colorControlstepHuestepSizeCommandParameterInfo); - - CommandParameterInfo colorControlstepHuetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlstepHueCommandParams.put( - "transitionTime", colorControlstepHuetransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlstepHueoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlstepHueCommandParams.put( - "optionsMask", colorControlstepHueoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlstepHueoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlstepHueCommandParams.put( - "optionsOverride", colorControlstepHueoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlstepHueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .stepHue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("stepMode"), - (Integer) commandArguments.get("stepSize"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlstepHueCommandParams); - colorControlClusterInteractionInfoMap.put("stepHue", colorControlstepHueInteractionInfo); - Map colorControlmoveToSaturationCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveToSaturationsaturationCommandParameterInfo = - new CommandParameterInfo("saturation", Integer.class, Integer.class); - colorControlmoveToSaturationCommandParams.put( - "saturation", colorControlmoveToSaturationsaturationCommandParameterInfo); - - CommandParameterInfo colorControlmoveToSaturationtransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlmoveToSaturationCommandParams.put( - "transitionTime", colorControlmoveToSaturationtransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlmoveToSaturationoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveToSaturationCommandParams.put( - "optionsMask", colorControlmoveToSaturationoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveToSaturationoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveToSaturationCommandParams.put( - "optionsOverride", colorControlmoveToSaturationoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveToSaturationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveToSaturation( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("saturation"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveToSaturationCommandParams); - colorControlClusterInteractionInfoMap.put( - "moveToSaturation", colorControlmoveToSaturationInteractionInfo); - Map colorControlmoveSaturationCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveSaturationmoveModeCommandParameterInfo = - new CommandParameterInfo("moveMode", Integer.class, Integer.class); - colorControlmoveSaturationCommandParams.put( - "moveMode", colorControlmoveSaturationmoveModeCommandParameterInfo); - - CommandParameterInfo colorControlmoveSaturationrateCommandParameterInfo = - new CommandParameterInfo("rate", Integer.class, Integer.class); - colorControlmoveSaturationCommandParams.put( - "rate", colorControlmoveSaturationrateCommandParameterInfo); - - CommandParameterInfo colorControlmoveSaturationoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveSaturationCommandParams.put( - "optionsMask", colorControlmoveSaturationoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveSaturationoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveSaturationCommandParams.put( - "optionsOverride", colorControlmoveSaturationoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveSaturationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveSaturation( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("moveMode"), - (Integer) commandArguments.get("rate"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveSaturationCommandParams); - colorControlClusterInteractionInfoMap.put( - "moveSaturation", colorControlmoveSaturationInteractionInfo); - Map colorControlstepSaturationCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlstepSaturationstepModeCommandParameterInfo = - new CommandParameterInfo("stepMode", Integer.class, Integer.class); - colorControlstepSaturationCommandParams.put( - "stepMode", colorControlstepSaturationstepModeCommandParameterInfo); - - CommandParameterInfo colorControlstepSaturationstepSizeCommandParameterInfo = - new CommandParameterInfo("stepSize", Integer.class, Integer.class); - colorControlstepSaturationCommandParams.put( - "stepSize", colorControlstepSaturationstepSizeCommandParameterInfo); - - CommandParameterInfo colorControlstepSaturationtransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlstepSaturationCommandParams.put( - "transitionTime", colorControlstepSaturationtransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlstepSaturationoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlstepSaturationCommandParams.put( - "optionsMask", colorControlstepSaturationoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlstepSaturationoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlstepSaturationCommandParams.put( - "optionsOverride", colorControlstepSaturationoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlstepSaturationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .stepSaturation( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("stepMode"), - (Integer) commandArguments.get("stepSize"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlstepSaturationCommandParams); - colorControlClusterInteractionInfoMap.put( - "stepSaturation", colorControlstepSaturationInteractionInfo); - Map colorControlmoveToHueAndSaturationCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveToHueAndSaturationhueCommandParameterInfo = - new CommandParameterInfo("hue", Integer.class, Integer.class); - colorControlmoveToHueAndSaturationCommandParams.put( - "hue", colorControlmoveToHueAndSaturationhueCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHueAndSaturationsaturationCommandParameterInfo = - new CommandParameterInfo("saturation", Integer.class, Integer.class); - colorControlmoveToHueAndSaturationCommandParams.put( - "saturation", colorControlmoveToHueAndSaturationsaturationCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHueAndSaturationtransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlmoveToHueAndSaturationCommandParams.put( - "transitionTime", colorControlmoveToHueAndSaturationtransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHueAndSaturationoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveToHueAndSaturationCommandParams.put( - "optionsMask", colorControlmoveToHueAndSaturationoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveToHueAndSaturationoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveToHueAndSaturationCommandParams.put( - "optionsOverride", colorControlmoveToHueAndSaturationoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveToHueAndSaturationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveToHueAndSaturation( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("hue"), - (Integer) commandArguments.get("saturation"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveToHueAndSaturationCommandParams); - colorControlClusterInteractionInfoMap.put( - "moveToHueAndSaturation", colorControlmoveToHueAndSaturationInteractionInfo); - Map colorControlmoveToColorCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveToColorcolorXCommandParameterInfo = - new CommandParameterInfo("colorX", Integer.class, Integer.class); - colorControlmoveToColorCommandParams.put( - "colorX", colorControlmoveToColorcolorXCommandParameterInfo); - - CommandParameterInfo colorControlmoveToColorcolorYCommandParameterInfo = - new CommandParameterInfo("colorY", Integer.class, Integer.class); - colorControlmoveToColorCommandParams.put( - "colorY", colorControlmoveToColorcolorYCommandParameterInfo); - - CommandParameterInfo colorControlmoveToColortransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlmoveToColorCommandParams.put( - "transitionTime", colorControlmoveToColortransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlmoveToColoroptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveToColorCommandParams.put( - "optionsMask", colorControlmoveToColoroptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveToColoroptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveToColorCommandParams.put( - "optionsOverride", colorControlmoveToColoroptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveToColorInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveToColor( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("colorX"), - (Integer) commandArguments.get("colorY"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveToColorCommandParams); - colorControlClusterInteractionInfoMap.put( - "moveToColor", colorControlmoveToColorInteractionInfo); - Map colorControlmoveColorCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveColorrateXCommandParameterInfo = - new CommandParameterInfo("rateX", Integer.class, Integer.class); - colorControlmoveColorCommandParams.put("rateX", colorControlmoveColorrateXCommandParameterInfo); - - CommandParameterInfo colorControlmoveColorrateYCommandParameterInfo = - new CommandParameterInfo("rateY", Integer.class, Integer.class); - colorControlmoveColorCommandParams.put("rateY", colorControlmoveColorrateYCommandParameterInfo); - - CommandParameterInfo colorControlmoveColoroptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveColorCommandParams.put( - "optionsMask", colorControlmoveColoroptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveColoroptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveColorCommandParams.put( - "optionsOverride", colorControlmoveColoroptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveColorInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveColor( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("rateX"), - (Integer) commandArguments.get("rateY"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveColorCommandParams); - colorControlClusterInteractionInfoMap.put("moveColor", colorControlmoveColorInteractionInfo); - Map colorControlstepColorCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlstepColorstepXCommandParameterInfo = - new CommandParameterInfo("stepX", Integer.class, Integer.class); - colorControlstepColorCommandParams.put("stepX", colorControlstepColorstepXCommandParameterInfo); - - CommandParameterInfo colorControlstepColorstepYCommandParameterInfo = - new CommandParameterInfo("stepY", Integer.class, Integer.class); - colorControlstepColorCommandParams.put("stepY", colorControlstepColorstepYCommandParameterInfo); - - CommandParameterInfo colorControlstepColortransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlstepColorCommandParams.put( - "transitionTime", colorControlstepColortransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlstepColoroptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlstepColorCommandParams.put( - "optionsMask", colorControlstepColoroptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlstepColoroptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlstepColorCommandParams.put( - "optionsOverride", colorControlstepColoroptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlstepColorInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .stepColor( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("stepX"), - (Integer) commandArguments.get("stepY"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlstepColorCommandParams); - colorControlClusterInteractionInfoMap.put("stepColor", colorControlstepColorInteractionInfo); - Map colorControlmoveToColorTemperatureCommandParams = - new LinkedHashMap(); - CommandParameterInfo - colorControlmoveToColorTemperaturecolorTemperatureMiredsCommandParameterInfo = - new CommandParameterInfo("colorTemperatureMireds", Integer.class, Integer.class); - colorControlmoveToColorTemperatureCommandParams.put( - "colorTemperatureMireds", - colorControlmoveToColorTemperaturecolorTemperatureMiredsCommandParameterInfo); - - CommandParameterInfo colorControlmoveToColorTemperaturetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlmoveToColorTemperatureCommandParams.put( - "transitionTime", colorControlmoveToColorTemperaturetransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlmoveToColorTemperatureoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveToColorTemperatureCommandParams.put( - "optionsMask", colorControlmoveToColorTemperatureoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveToColorTemperatureoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveToColorTemperatureCommandParams.put( - "optionsOverride", colorControlmoveToColorTemperatureoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveToColorTemperatureInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveToColorTemperature( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("colorTemperatureMireds"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveToColorTemperatureCommandParams); - colorControlClusterInteractionInfoMap.put( - "moveToColorTemperature", colorControlmoveToColorTemperatureInteractionInfo); - Map colorControlenhancedMoveToHueCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlenhancedMoveToHueenhancedHueCommandParameterInfo = - new CommandParameterInfo("enhancedHue", Integer.class, Integer.class); - colorControlenhancedMoveToHueCommandParams.put( - "enhancedHue", colorControlenhancedMoveToHueenhancedHueCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveToHuedirectionCommandParameterInfo = - new CommandParameterInfo("direction", Integer.class, Integer.class); - colorControlenhancedMoveToHueCommandParams.put( - "direction", colorControlenhancedMoveToHuedirectionCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveToHuetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlenhancedMoveToHueCommandParams.put( - "transitionTime", colorControlenhancedMoveToHuetransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveToHueoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlenhancedMoveToHueCommandParams.put( - "optionsMask", colorControlenhancedMoveToHueoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveToHueoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlenhancedMoveToHueCommandParams.put( - "optionsOverride", colorControlenhancedMoveToHueoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlenhancedMoveToHueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .enhancedMoveToHue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("enhancedHue"), - (Integer) commandArguments.get("direction"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlenhancedMoveToHueCommandParams); - colorControlClusterInteractionInfoMap.put( - "enhancedMoveToHue", colorControlenhancedMoveToHueInteractionInfo); - Map colorControlenhancedMoveHueCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlenhancedMoveHuemoveModeCommandParameterInfo = - new CommandParameterInfo("moveMode", Integer.class, Integer.class); - colorControlenhancedMoveHueCommandParams.put( - "moveMode", colorControlenhancedMoveHuemoveModeCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveHuerateCommandParameterInfo = - new CommandParameterInfo("rate", Integer.class, Integer.class); - colorControlenhancedMoveHueCommandParams.put( - "rate", colorControlenhancedMoveHuerateCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveHueoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlenhancedMoveHueCommandParams.put( - "optionsMask", colorControlenhancedMoveHueoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveHueoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlenhancedMoveHueCommandParams.put( - "optionsOverride", colorControlenhancedMoveHueoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlenhancedMoveHueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .enhancedMoveHue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("moveMode"), - (Integer) commandArguments.get("rate"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlenhancedMoveHueCommandParams); - colorControlClusterInteractionInfoMap.put( - "enhancedMoveHue", colorControlenhancedMoveHueInteractionInfo); - Map colorControlenhancedStepHueCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlenhancedStepHuestepModeCommandParameterInfo = - new CommandParameterInfo("stepMode", Integer.class, Integer.class); - colorControlenhancedStepHueCommandParams.put( - "stepMode", colorControlenhancedStepHuestepModeCommandParameterInfo); - - CommandParameterInfo colorControlenhancedStepHuestepSizeCommandParameterInfo = - new CommandParameterInfo("stepSize", Integer.class, Integer.class); - colorControlenhancedStepHueCommandParams.put( - "stepSize", colorControlenhancedStepHuestepSizeCommandParameterInfo); - - CommandParameterInfo colorControlenhancedStepHuetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlenhancedStepHueCommandParams.put( - "transitionTime", colorControlenhancedStepHuetransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlenhancedStepHueoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlenhancedStepHueCommandParams.put( - "optionsMask", colorControlenhancedStepHueoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlenhancedStepHueoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlenhancedStepHueCommandParams.put( - "optionsOverride", colorControlenhancedStepHueoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlenhancedStepHueInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .enhancedStepHue( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("stepMode"), - (Integer) commandArguments.get("stepSize"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlenhancedStepHueCommandParams); - colorControlClusterInteractionInfoMap.put( - "enhancedStepHue", colorControlenhancedStepHueInteractionInfo); - Map colorControlenhancedMoveToHueAndSaturationCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlenhancedMoveToHueAndSaturationenhancedHueCommandParameterInfo = - new CommandParameterInfo("enhancedHue", Integer.class, Integer.class); - colorControlenhancedMoveToHueAndSaturationCommandParams.put( - "enhancedHue", colorControlenhancedMoveToHueAndSaturationenhancedHueCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveToHueAndSaturationsaturationCommandParameterInfo = - new CommandParameterInfo("saturation", Integer.class, Integer.class); - colorControlenhancedMoveToHueAndSaturationCommandParams.put( - "saturation", colorControlenhancedMoveToHueAndSaturationsaturationCommandParameterInfo); - - CommandParameterInfo - colorControlenhancedMoveToHueAndSaturationtransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlenhancedMoveToHueAndSaturationCommandParams.put( - "transitionTime", - colorControlenhancedMoveToHueAndSaturationtransitionTimeCommandParameterInfo); - - CommandParameterInfo colorControlenhancedMoveToHueAndSaturationoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlenhancedMoveToHueAndSaturationCommandParams.put( - "optionsMask", colorControlenhancedMoveToHueAndSaturationoptionsMaskCommandParameterInfo); - - CommandParameterInfo - colorControlenhancedMoveToHueAndSaturationoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlenhancedMoveToHueAndSaturationCommandParams.put( - "optionsOverride", - colorControlenhancedMoveToHueAndSaturationoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlenhancedMoveToHueAndSaturationInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .enhancedMoveToHueAndSaturation( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("enhancedHue"), - (Integer) commandArguments.get("saturation"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlenhancedMoveToHueAndSaturationCommandParams); - colorControlClusterInteractionInfoMap.put( - "enhancedMoveToHueAndSaturation", - colorControlenhancedMoveToHueAndSaturationInteractionInfo); - Map colorControlcolorLoopSetCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlcolorLoopSetupdateFlagsCommandParameterInfo = - new CommandParameterInfo("updateFlags", Integer.class, Integer.class); - colorControlcolorLoopSetCommandParams.put( - "updateFlags", colorControlcolorLoopSetupdateFlagsCommandParameterInfo); - - CommandParameterInfo colorControlcolorLoopSetactionCommandParameterInfo = - new CommandParameterInfo("action", Integer.class, Integer.class); - colorControlcolorLoopSetCommandParams.put( - "action", colorControlcolorLoopSetactionCommandParameterInfo); - - CommandParameterInfo colorControlcolorLoopSetdirectionCommandParameterInfo = - new CommandParameterInfo("direction", Integer.class, Integer.class); - colorControlcolorLoopSetCommandParams.put( - "direction", colorControlcolorLoopSetdirectionCommandParameterInfo); - - CommandParameterInfo colorControlcolorLoopSettimeCommandParameterInfo = - new CommandParameterInfo("time", Integer.class, Integer.class); - colorControlcolorLoopSetCommandParams.put( - "time", colorControlcolorLoopSettimeCommandParameterInfo); - - CommandParameterInfo colorControlcolorLoopSetstartHueCommandParameterInfo = - new CommandParameterInfo("startHue", Integer.class, Integer.class); - colorControlcolorLoopSetCommandParams.put( - "startHue", colorControlcolorLoopSetstartHueCommandParameterInfo); - - CommandParameterInfo colorControlcolorLoopSetoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlcolorLoopSetCommandParams.put( - "optionsMask", colorControlcolorLoopSetoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlcolorLoopSetoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlcolorLoopSetCommandParams.put( - "optionsOverride", colorControlcolorLoopSetoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlcolorLoopSetInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .colorLoopSet( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("updateFlags"), - (Integer) commandArguments.get("action"), - (Integer) commandArguments.get("direction"), - (Integer) commandArguments.get("time"), - (Integer) commandArguments.get("startHue"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlcolorLoopSetCommandParams); - colorControlClusterInteractionInfoMap.put( - "colorLoopSet", colorControlcolorLoopSetInteractionInfo); - Map colorControlstopMoveStepCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlstopMoveStepoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlstopMoveStepCommandParams.put( - "optionsMask", colorControlstopMoveStepoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlstopMoveStepoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlstopMoveStepCommandParams.put( - "optionsOverride", colorControlstopMoveStepoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlstopMoveStepInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .stopMoveStep( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlstopMoveStepCommandParams); - colorControlClusterInteractionInfoMap.put( - "stopMoveStep", colorControlstopMoveStepInteractionInfo); - Map colorControlmoveColorTemperatureCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlmoveColorTemperaturemoveModeCommandParameterInfo = - new CommandParameterInfo("moveMode", Integer.class, Integer.class); - colorControlmoveColorTemperatureCommandParams.put( - "moveMode", colorControlmoveColorTemperaturemoveModeCommandParameterInfo); - - CommandParameterInfo colorControlmoveColorTemperaturerateCommandParameterInfo = - new CommandParameterInfo("rate", Integer.class, Integer.class); - colorControlmoveColorTemperatureCommandParams.put( - "rate", colorControlmoveColorTemperaturerateCommandParameterInfo); - - CommandParameterInfo - colorControlmoveColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo = - new CommandParameterInfo("colorTemperatureMinimumMireds", Integer.class, Integer.class); - colorControlmoveColorTemperatureCommandParams.put( - "colorTemperatureMinimumMireds", - colorControlmoveColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo); - - CommandParameterInfo - colorControlmoveColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo = - new CommandParameterInfo("colorTemperatureMaximumMireds", Integer.class, Integer.class); - colorControlmoveColorTemperatureCommandParams.put( - "colorTemperatureMaximumMireds", - colorControlmoveColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo); - - CommandParameterInfo colorControlmoveColorTemperatureoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlmoveColorTemperatureCommandParams.put( - "optionsMask", colorControlmoveColorTemperatureoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlmoveColorTemperatureoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlmoveColorTemperatureCommandParams.put( - "optionsOverride", colorControlmoveColorTemperatureoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlmoveColorTemperatureInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .moveColorTemperature( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("moveMode"), - (Integer) commandArguments.get("rate"), - (Integer) commandArguments.get("colorTemperatureMinimumMireds"), - (Integer) commandArguments.get("colorTemperatureMaximumMireds"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlmoveColorTemperatureCommandParams); - colorControlClusterInteractionInfoMap.put( - "moveColorTemperature", colorControlmoveColorTemperatureInteractionInfo); - Map colorControlstepColorTemperatureCommandParams = - new LinkedHashMap(); - CommandParameterInfo colorControlstepColorTemperaturestepModeCommandParameterInfo = - new CommandParameterInfo("stepMode", Integer.class, Integer.class); - colorControlstepColorTemperatureCommandParams.put( - "stepMode", colorControlstepColorTemperaturestepModeCommandParameterInfo); - - CommandParameterInfo colorControlstepColorTemperaturestepSizeCommandParameterInfo = - new CommandParameterInfo("stepSize", Integer.class, Integer.class); - colorControlstepColorTemperatureCommandParams.put( - "stepSize", colorControlstepColorTemperaturestepSizeCommandParameterInfo); - - CommandParameterInfo colorControlstepColorTemperaturetransitionTimeCommandParameterInfo = - new CommandParameterInfo("transitionTime", Integer.class, Integer.class); - colorControlstepColorTemperatureCommandParams.put( - "transitionTime", colorControlstepColorTemperaturetransitionTimeCommandParameterInfo); - - CommandParameterInfo - colorControlstepColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo = - new CommandParameterInfo("colorTemperatureMinimumMireds", Integer.class, Integer.class); - colorControlstepColorTemperatureCommandParams.put( - "colorTemperatureMinimumMireds", - colorControlstepColorTemperaturecolorTemperatureMinimumMiredsCommandParameterInfo); - - CommandParameterInfo - colorControlstepColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo = - new CommandParameterInfo("colorTemperatureMaximumMireds", Integer.class, Integer.class); - colorControlstepColorTemperatureCommandParams.put( - "colorTemperatureMaximumMireds", - colorControlstepColorTemperaturecolorTemperatureMaximumMiredsCommandParameterInfo); - - CommandParameterInfo colorControlstepColorTemperatureoptionsMaskCommandParameterInfo = - new CommandParameterInfo("optionsMask", Integer.class, Integer.class); - colorControlstepColorTemperatureCommandParams.put( - "optionsMask", colorControlstepColorTemperatureoptionsMaskCommandParameterInfo); - - CommandParameterInfo colorControlstepColorTemperatureoptionsOverrideCommandParameterInfo = - new CommandParameterInfo("optionsOverride", Integer.class, Integer.class); - colorControlstepColorTemperatureCommandParams.put( - "optionsOverride", colorControlstepColorTemperatureoptionsOverrideCommandParameterInfo); - - InteractionInfo colorControlstepColorTemperatureInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster) - .stepColorTemperature( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("stepMode"), - (Integer) commandArguments.get("stepSize"), - (Integer) commandArguments.get("transitionTime"), - (Integer) commandArguments.get("colorTemperatureMinimumMireds"), - (Integer) commandArguments.get("colorTemperatureMaximumMireds"), - (Integer) commandArguments.get("optionsMask"), - (Integer) commandArguments.get("optionsOverride")); - }, - () -> new DelegatedDefaultClusterCallback(), - colorControlstepColorTemperatureCommandParams); - colorControlClusterInteractionInfoMap.put( - "stepColorTemperature", colorControlstepColorTemperatureInteractionInfo); - commandMap.put("colorControl", colorControlClusterInteractionInfoMap); - Map ballastConfigurationClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("ballastConfiguration", ballastConfigurationClusterInteractionInfoMap); - Map illuminanceMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("illuminanceMeasurement", illuminanceMeasurementClusterInteractionInfoMap); - Map temperatureMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("temperatureMeasurement", temperatureMeasurementClusterInteractionInfoMap); - Map pressureMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("pressureMeasurement", pressureMeasurementClusterInteractionInfoMap); - Map flowMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("flowMeasurement", flowMeasurementClusterInteractionInfoMap); - Map relativeHumidityMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "relativeHumidityMeasurement", relativeHumidityMeasurementClusterInteractionInfoMap); - Map occupancySensingClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("occupancySensing", occupancySensingClusterInteractionInfoMap); - Map carbonMonoxideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "carbonMonoxideConcentrationMeasurement", - carbonMonoxideConcentrationMeasurementClusterInteractionInfoMap); - Map carbonDioxideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "carbonDioxideConcentrationMeasurement", - carbonDioxideConcentrationMeasurementClusterInteractionInfoMap); - Map ethyleneConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "ethyleneConcentrationMeasurement", - ethyleneConcentrationMeasurementClusterInteractionInfoMap); - Map ethyleneOxideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "ethyleneOxideConcentrationMeasurement", - ethyleneOxideConcentrationMeasurementClusterInteractionInfoMap); - Map hydrogenConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "hydrogenConcentrationMeasurement", - hydrogenConcentrationMeasurementClusterInteractionInfoMap); - Map hydrogenSulfideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "hydrogenSulfideConcentrationMeasurement", - hydrogenSulfideConcentrationMeasurementClusterInteractionInfoMap); - Map nitricOxideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "nitricOxideConcentrationMeasurement", - nitricOxideConcentrationMeasurementClusterInteractionInfoMap); - Map nitrogenDioxideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "nitrogenDioxideConcentrationMeasurement", - nitrogenDioxideConcentrationMeasurementClusterInteractionInfoMap); - Map oxygenConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "oxygenConcentrationMeasurement", oxygenConcentrationMeasurementClusterInteractionInfoMap); - Map ozoneConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "ozoneConcentrationMeasurement", ozoneConcentrationMeasurementClusterInteractionInfoMap); - Map sulfurDioxideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "sulfurDioxideConcentrationMeasurement", - sulfurDioxideConcentrationMeasurementClusterInteractionInfoMap); - Map dissolvedOxygenConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "dissolvedOxygenConcentrationMeasurement", - dissolvedOxygenConcentrationMeasurementClusterInteractionInfoMap); - Map bromateConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "bromateConcentrationMeasurement", - bromateConcentrationMeasurementClusterInteractionInfoMap); - Map chloraminesConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "chloraminesConcentrationMeasurement", - chloraminesConcentrationMeasurementClusterInteractionInfoMap); - Map chlorineConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "chlorineConcentrationMeasurement", - chlorineConcentrationMeasurementClusterInteractionInfoMap); - Map - fecalColiformEColiConcentrationMeasurementClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put( - "fecalColiformEColiConcentrationMeasurement", - fecalColiformEColiConcentrationMeasurementClusterInteractionInfoMap); - Map fluorideConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "fluorideConcentrationMeasurement", - fluorideConcentrationMeasurementClusterInteractionInfoMap); - Map haloaceticAcidsConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "haloaceticAcidsConcentrationMeasurement", - haloaceticAcidsConcentrationMeasurementClusterInteractionInfoMap); - Map - totalTrihalomethanesConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "totalTrihalomethanesConcentrationMeasurement", - totalTrihalomethanesConcentrationMeasurementClusterInteractionInfoMap); - Map - totalColiformBacteriaConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "totalColiformBacteriaConcentrationMeasurement", - totalColiformBacteriaConcentrationMeasurementClusterInteractionInfoMap); - Map turbidityConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "turbidityConcentrationMeasurement", - turbidityConcentrationMeasurementClusterInteractionInfoMap); - Map copperConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "copperConcentrationMeasurement", copperConcentrationMeasurementClusterInteractionInfoMap); - Map leadConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "leadConcentrationMeasurement", leadConcentrationMeasurementClusterInteractionInfoMap); - Map manganeseConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "manganeseConcentrationMeasurement", - manganeseConcentrationMeasurementClusterInteractionInfoMap); - Map sulfateConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "sulfateConcentrationMeasurement", - sulfateConcentrationMeasurementClusterInteractionInfoMap); - Map - bromodichloromethaneConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "bromodichloromethaneConcentrationMeasurement", - bromodichloromethaneConcentrationMeasurementClusterInteractionInfoMap); - Map bromoformConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "bromoformConcentrationMeasurement", - bromoformConcentrationMeasurementClusterInteractionInfoMap); - Map - chlorodibromomethaneConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "chlorodibromomethaneConcentrationMeasurement", - chlorodibromomethaneConcentrationMeasurementClusterInteractionInfoMap); - Map chloroformConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "chloroformConcentrationMeasurement", - chloroformConcentrationMeasurementClusterInteractionInfoMap); - Map sodiumConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "sodiumConcentrationMeasurement", sodiumConcentrationMeasurementClusterInteractionInfoMap); - Map pm25ConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "pm25ConcentrationMeasurement", pm25ConcentrationMeasurementClusterInteractionInfoMap); - Map formaldehydeConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "formaldehydeConcentrationMeasurement", - formaldehydeConcentrationMeasurementClusterInteractionInfoMap); - Map pm1ConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "pm1ConcentrationMeasurement", pm1ConcentrationMeasurementClusterInteractionInfoMap); - Map pm10ConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "pm10ConcentrationMeasurement", pm10ConcentrationMeasurementClusterInteractionInfoMap); - Map - totalVolatileOrganicCompoundsConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "totalVolatileOrganicCompoundsConcentrationMeasurement", - totalVolatileOrganicCompoundsConcentrationMeasurementClusterInteractionInfoMap); - Map radonConcentrationMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put( - "radonConcentrationMeasurement", radonConcentrationMeasurementClusterInteractionInfoMap); - Map wakeOnLanClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("wakeOnLan", wakeOnLanClusterInteractionInfoMap); - Map channelClusterInteractionInfoMap = new LinkedHashMap<>(); - Map channelchangeChannelCommandParams = - new LinkedHashMap(); - CommandParameterInfo channelchangeChannelmatchCommandParameterInfo = - new CommandParameterInfo("match", String.class, String.class); - channelchangeChannelCommandParams.put("match", channelchangeChannelmatchCommandParameterInfo); - - InteractionInfo channelchangeChannelInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .changeChannel( - (ChipClusters.ChannelCluster.ChangeChannelResponseCallback) callback, - (String) commandArguments.get("match")); - }, - () -> new DelegatedChannelClusterChangeChannelResponseCallback(), - channelchangeChannelCommandParams); - channelClusterInteractionInfoMap.put("changeChannel", channelchangeChannelInteractionInfo); - Map channelchangeChannelByNumberCommandParams = - new LinkedHashMap(); - CommandParameterInfo channelchangeChannelByNumbermajorNumberCommandParameterInfo = - new CommandParameterInfo("majorNumber", Integer.class, Integer.class); - channelchangeChannelByNumberCommandParams.put( - "majorNumber", channelchangeChannelByNumbermajorNumberCommandParameterInfo); - - CommandParameterInfo channelchangeChannelByNumberminorNumberCommandParameterInfo = - new CommandParameterInfo("minorNumber", Integer.class, Integer.class); - channelchangeChannelByNumberCommandParams.put( - "minorNumber", channelchangeChannelByNumberminorNumberCommandParameterInfo); - - InteractionInfo channelchangeChannelByNumberInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .changeChannelByNumber( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("majorNumber"), - (Integer) commandArguments.get("minorNumber")); - }, - () -> new DelegatedDefaultClusterCallback(), - channelchangeChannelByNumberCommandParams); - channelClusterInteractionInfoMap.put( - "changeChannelByNumber", channelchangeChannelByNumberInteractionInfo); - Map channelskipChannelCommandParams = - new LinkedHashMap(); - CommandParameterInfo channelskipChannelcountCommandParameterInfo = - new CommandParameterInfo("count", Integer.class, Integer.class); - channelskipChannelCommandParams.put("count", channelskipChannelcountCommandParameterInfo); - - InteractionInfo channelskipChannelInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ChannelCluster) cluster) - .skipChannel( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("count")); - }, - () -> new DelegatedDefaultClusterCallback(), - channelskipChannelCommandParams); - channelClusterInteractionInfoMap.put("skipChannel", channelskipChannelInteractionInfo); - commandMap.put("channel", channelClusterInteractionInfoMap); - Map targetNavigatorClusterInteractionInfoMap = new LinkedHashMap<>(); - Map targetNavigatornavigateTargetCommandParams = - new LinkedHashMap(); - CommandParameterInfo targetNavigatornavigateTargettargetCommandParameterInfo = - new CommandParameterInfo("target", Integer.class, Integer.class); - targetNavigatornavigateTargetCommandParams.put( - "target", targetNavigatornavigateTargettargetCommandParameterInfo); - - CommandParameterInfo targetNavigatornavigateTargetdataCommandParameterInfo = - new CommandParameterInfo("data", Optional.class, String.class); - targetNavigatornavigateTargetCommandParams.put( - "data", targetNavigatornavigateTargetdataCommandParameterInfo); - - InteractionInfo targetNavigatornavigateTargetInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TargetNavigatorCluster) cluster) - .navigateTarget( - (ChipClusters.TargetNavigatorCluster.NavigateTargetResponseCallback) callback, - (Integer) commandArguments.get("target"), - (Optional) commandArguments.get("data")); - }, - () -> new DelegatedTargetNavigatorClusterNavigateTargetResponseCallback(), - targetNavigatornavigateTargetCommandParams); - targetNavigatorClusterInteractionInfoMap.put( - "navigateTarget", targetNavigatornavigateTargetInteractionInfo); - commandMap.put("targetNavigator", targetNavigatorClusterInteractionInfoMap); - Map mediaPlaybackClusterInteractionInfoMap = new LinkedHashMap<>(); - Map mediaPlaybackplayCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybackplayInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .play((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackplayCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("play", mediaPlaybackplayInteractionInfo); - Map mediaPlaybackpauseCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybackpauseInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .pause((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackpauseCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("pause", mediaPlaybackpauseInteractionInfo); - Map mediaPlaybackstopCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybackstopInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .stop((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackstopCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("stop", mediaPlaybackstopInteractionInfo); - Map mediaPlaybackstartOverCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybackstartOverInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .startOver((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackstartOverCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("startOver", mediaPlaybackstartOverInteractionInfo); - Map mediaPlaybackpreviousCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybackpreviousInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .previous((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackpreviousCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("previous", mediaPlaybackpreviousInteractionInfo); - Map mediaPlaybacknextCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybacknextInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .next((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybacknextCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("next", mediaPlaybacknextInteractionInfo); - Map mediaPlaybackrewindCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybackrewindInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .rewind((ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackrewindCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("rewind", mediaPlaybackrewindInteractionInfo); - Map mediaPlaybackfastForwardCommandParams = - new LinkedHashMap(); - InteractionInfo mediaPlaybackfastForwardInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .fastForward( - (ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackfastForwardCommandParams); - mediaPlaybackClusterInteractionInfoMap.put( - "fastForward", mediaPlaybackfastForwardInteractionInfo); - Map mediaPlaybackskipForwardCommandParams = - new LinkedHashMap(); - CommandParameterInfo mediaPlaybackskipForwarddeltaPositionMillisecondsCommandParameterInfo = - new CommandParameterInfo("deltaPositionMilliseconds", Long.class, Long.class); - mediaPlaybackskipForwardCommandParams.put( - "deltaPositionMilliseconds", - mediaPlaybackskipForwarddeltaPositionMillisecondsCommandParameterInfo); - - InteractionInfo mediaPlaybackskipForwardInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .skipForward( - (ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback, - (Long) commandArguments.get("deltaPositionMilliseconds")); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackskipForwardCommandParams); - mediaPlaybackClusterInteractionInfoMap.put( - "skipForward", mediaPlaybackskipForwardInteractionInfo); - Map mediaPlaybackskipBackwardCommandParams = - new LinkedHashMap(); - CommandParameterInfo mediaPlaybackskipBackwarddeltaPositionMillisecondsCommandParameterInfo = - new CommandParameterInfo("deltaPositionMilliseconds", Long.class, Long.class); - mediaPlaybackskipBackwardCommandParams.put( - "deltaPositionMilliseconds", - mediaPlaybackskipBackwarddeltaPositionMillisecondsCommandParameterInfo); - - InteractionInfo mediaPlaybackskipBackwardInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .skipBackward( - (ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback, - (Long) commandArguments.get("deltaPositionMilliseconds")); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackskipBackwardCommandParams); - mediaPlaybackClusterInteractionInfoMap.put( - "skipBackward", mediaPlaybackskipBackwardInteractionInfo); - Map mediaPlaybackseekCommandParams = - new LinkedHashMap(); - CommandParameterInfo mediaPlaybackseekpositionCommandParameterInfo = - new CommandParameterInfo("position", Long.class, Long.class); - mediaPlaybackseekCommandParams.put("position", mediaPlaybackseekpositionCommandParameterInfo); - - InteractionInfo mediaPlaybackseekInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaPlaybackCluster) cluster) - .seek( - (ChipClusters.MediaPlaybackCluster.PlaybackResponseCallback) callback, - (Long) commandArguments.get("position")); - }, - () -> new DelegatedMediaPlaybackClusterPlaybackResponseCallback(), - mediaPlaybackseekCommandParams); - mediaPlaybackClusterInteractionInfoMap.put("seek", mediaPlaybackseekInteractionInfo); - commandMap.put("mediaPlayback", mediaPlaybackClusterInteractionInfoMap); - Map mediaInputClusterInteractionInfoMap = new LinkedHashMap<>(); - Map mediaInputselectInputCommandParams = - new LinkedHashMap(); - CommandParameterInfo mediaInputselectInputindexCommandParameterInfo = - new CommandParameterInfo("index", Integer.class, Integer.class); - mediaInputselectInputCommandParams.put("index", mediaInputselectInputindexCommandParameterInfo); - - InteractionInfo mediaInputselectInputInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .selectInput( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("index")); - }, - () -> new DelegatedDefaultClusterCallback(), - mediaInputselectInputCommandParams); - mediaInputClusterInteractionInfoMap.put("selectInput", mediaInputselectInputInteractionInfo); - Map mediaInputshowInputStatusCommandParams = - new LinkedHashMap(); - InteractionInfo mediaInputshowInputStatusInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .showInputStatus((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - mediaInputshowInputStatusCommandParams); - mediaInputClusterInteractionInfoMap.put( - "showInputStatus", mediaInputshowInputStatusInteractionInfo); - Map mediaInputhideInputStatusCommandParams = - new LinkedHashMap(); - InteractionInfo mediaInputhideInputStatusInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .hideInputStatus((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - mediaInputhideInputStatusCommandParams); - mediaInputClusterInteractionInfoMap.put( - "hideInputStatus", mediaInputhideInputStatusInteractionInfo); - Map mediaInputrenameInputCommandParams = - new LinkedHashMap(); - CommandParameterInfo mediaInputrenameInputindexCommandParameterInfo = - new CommandParameterInfo("index", Integer.class, Integer.class); - mediaInputrenameInputCommandParams.put("index", mediaInputrenameInputindexCommandParameterInfo); - - CommandParameterInfo mediaInputrenameInputnameCommandParameterInfo = - new CommandParameterInfo("name", String.class, String.class); - mediaInputrenameInputCommandParams.put("name", mediaInputrenameInputnameCommandParameterInfo); - - InteractionInfo mediaInputrenameInputInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.MediaInputCluster) cluster) - .renameInput( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("index"), - (String) commandArguments.get("name")); - }, - () -> new DelegatedDefaultClusterCallback(), - mediaInputrenameInputCommandParams); - mediaInputClusterInteractionInfoMap.put("renameInput", mediaInputrenameInputInteractionInfo); - commandMap.put("mediaInput", mediaInputClusterInteractionInfoMap); - Map lowPowerClusterInteractionInfoMap = new LinkedHashMap<>(); - Map lowPowersleepCommandParams = - new LinkedHashMap(); - InteractionInfo lowPowersleepInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LowPowerCluster) cluster).sleep((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - lowPowersleepCommandParams); - lowPowerClusterInteractionInfoMap.put("sleep", lowPowersleepInteractionInfo); - commandMap.put("lowPower", lowPowerClusterInteractionInfoMap); - Map keypadInputClusterInteractionInfoMap = new LinkedHashMap<>(); - Map keypadInputsendKeyCommandParams = - new LinkedHashMap(); - CommandParameterInfo keypadInputsendKeykeyCodeCommandParameterInfo = - new CommandParameterInfo("keyCode", Integer.class, Integer.class); - keypadInputsendKeyCommandParams.put("keyCode", keypadInputsendKeykeyCodeCommandParameterInfo); - - InteractionInfo keypadInputsendKeyInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.KeypadInputCluster) cluster) - .sendKey( - (ChipClusters.KeypadInputCluster.SendKeyResponseCallback) callback, - (Integer) commandArguments.get("keyCode")); - }, - () -> new DelegatedKeypadInputClusterSendKeyResponseCallback(), - keypadInputsendKeyCommandParams); - keypadInputClusterInteractionInfoMap.put("sendKey", keypadInputsendKeyInteractionInfo); - commandMap.put("keypadInput", keypadInputClusterInteractionInfoMap); - Map contentLauncherClusterInteractionInfoMap = new LinkedHashMap<>(); - Map contentLauncherlaunchContentCommandParams = - new LinkedHashMap(); - CommandParameterInfo contentLauncherlaunchContentautoPlayCommandParameterInfo = - new CommandParameterInfo("autoPlay", Boolean.class, Boolean.class); - contentLauncherlaunchContentCommandParams.put( - "autoPlay", contentLauncherlaunchContentautoPlayCommandParameterInfo); - - CommandParameterInfo contentLauncherlaunchContentdataCommandParameterInfo = - new CommandParameterInfo("data", Optional.class, String.class); - contentLauncherlaunchContentCommandParams.put( - "data", contentLauncherlaunchContentdataCommandParameterInfo); - - InteractionInfo contentLauncherlaunchContentInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .launchContent( - (ChipClusters.ContentLauncherCluster.LauncherResponseCallback) callback, - (ChipStructs.ContentLauncherClusterContentSearchStruct) - commandArguments.get("search"), - (Boolean) commandArguments.get("autoPlay"), - (Optional) commandArguments.get("data")); - }, - () -> new DelegatedContentLauncherClusterLauncherResponseCallback(), - contentLauncherlaunchContentCommandParams); - contentLauncherClusterInteractionInfoMap.put( - "launchContent", contentLauncherlaunchContentInteractionInfo); - Map contentLauncherlaunchURLCommandParams = - new LinkedHashMap(); - CommandParameterInfo contentLauncherlaunchURLcontentURLCommandParameterInfo = - new CommandParameterInfo("contentURL", String.class, String.class); - contentLauncherlaunchURLCommandParams.put( - "contentURL", contentLauncherlaunchURLcontentURLCommandParameterInfo); - - CommandParameterInfo contentLauncherlaunchURLdisplayStringCommandParameterInfo = - new CommandParameterInfo("displayString", Optional.class, String.class); - contentLauncherlaunchURLCommandParams.put( - "displayString", contentLauncherlaunchURLdisplayStringCommandParameterInfo); - - InteractionInfo contentLauncherlaunchURLInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster) - .launchURL( - (ChipClusters.ContentLauncherCluster.LauncherResponseCallback) callback, - (String) commandArguments.get("contentURL"), - (Optional) commandArguments.get("displayString"), - (Optional) - commandArguments.get("brandingInformation")); - }, - () -> new DelegatedContentLauncherClusterLauncherResponseCallback(), - contentLauncherlaunchURLCommandParams); - contentLauncherClusterInteractionInfoMap.put( - "launchURL", contentLauncherlaunchURLInteractionInfo); - commandMap.put("contentLauncher", contentLauncherClusterInteractionInfoMap); - Map audioOutputClusterInteractionInfoMap = new LinkedHashMap<>(); - Map audioOutputselectOutputCommandParams = - new LinkedHashMap(); - CommandParameterInfo audioOutputselectOutputindexCommandParameterInfo = - new CommandParameterInfo("index", Integer.class, Integer.class); - audioOutputselectOutputCommandParams.put( - "index", audioOutputselectOutputindexCommandParameterInfo); - - InteractionInfo audioOutputselectOutputInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .selectOutput( - (DefaultClusterCallback) callback, (Integer) commandArguments.get("index")); - }, - () -> new DelegatedDefaultClusterCallback(), - audioOutputselectOutputCommandParams); - audioOutputClusterInteractionInfoMap.put( - "selectOutput", audioOutputselectOutputInteractionInfo); - Map audioOutputrenameOutputCommandParams = - new LinkedHashMap(); - CommandParameterInfo audioOutputrenameOutputindexCommandParameterInfo = - new CommandParameterInfo("index", Integer.class, Integer.class); - audioOutputrenameOutputCommandParams.put( - "index", audioOutputrenameOutputindexCommandParameterInfo); - - CommandParameterInfo audioOutputrenameOutputnameCommandParameterInfo = - new CommandParameterInfo("name", String.class, String.class); - audioOutputrenameOutputCommandParams.put( - "name", audioOutputrenameOutputnameCommandParameterInfo); - - InteractionInfo audioOutputrenameOutputInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AudioOutputCluster) cluster) - .renameOutput( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("index"), - (String) commandArguments.get("name")); - }, - () -> new DelegatedDefaultClusterCallback(), - audioOutputrenameOutputCommandParams); - audioOutputClusterInteractionInfoMap.put( - "renameOutput", audioOutputrenameOutputInteractionInfo); - commandMap.put("audioOutput", audioOutputClusterInteractionInfoMap); - Map applicationLauncherClusterInteractionInfoMap = - new LinkedHashMap<>(); - Map applicationLauncherlaunchAppCommandParams = - new LinkedHashMap(); - CommandParameterInfo applicationLauncherlaunchAppdataCommandParameterInfo = - new CommandParameterInfo("data", Optional.class, byte[].class); - applicationLauncherlaunchAppCommandParams.put( - "data", applicationLauncherlaunchAppdataCommandParameterInfo); - - InteractionInfo applicationLauncherlaunchAppInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .launchApp( - (ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback) callback, - (Optional) - commandArguments.get("application"), - (Optional) commandArguments.get("data")); - }, - () -> new DelegatedApplicationLauncherClusterLauncherResponseCallback(), - applicationLauncherlaunchAppCommandParams); - applicationLauncherClusterInteractionInfoMap.put( - "launchApp", applicationLauncherlaunchAppInteractionInfo); - Map applicationLauncherstopAppCommandParams = - new LinkedHashMap(); - InteractionInfo applicationLauncherstopAppInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .stopApp( - (ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback) callback, - (Optional) - commandArguments.get("application")); - }, - () -> new DelegatedApplicationLauncherClusterLauncherResponseCallback(), - applicationLauncherstopAppCommandParams); - applicationLauncherClusterInteractionInfoMap.put( - "stopApp", applicationLauncherstopAppInteractionInfo); - Map applicationLauncherhideAppCommandParams = - new LinkedHashMap(); - InteractionInfo applicationLauncherhideAppInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ApplicationLauncherCluster) cluster) - .hideApp( - (ChipClusters.ApplicationLauncherCluster.LauncherResponseCallback) callback, - (Optional) - commandArguments.get("application")); - }, - () -> new DelegatedApplicationLauncherClusterLauncherResponseCallback(), - applicationLauncherhideAppCommandParams); - applicationLauncherClusterInteractionInfoMap.put( - "hideApp", applicationLauncherhideAppInteractionInfo); - commandMap.put("applicationLauncher", applicationLauncherClusterInteractionInfoMap); - Map applicationBasicClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("applicationBasic", applicationBasicClusterInteractionInfoMap); - Map accountLoginClusterInteractionInfoMap = new LinkedHashMap<>(); - Map accountLogingetSetupPINCommandParams = - new LinkedHashMap(); - CommandParameterInfo accountLogingetSetupPINtempAccountIdentifierCommandParameterInfo = - new CommandParameterInfo("tempAccountIdentifier", String.class, String.class); - accountLogingetSetupPINCommandParams.put( - "tempAccountIdentifier", accountLogingetSetupPINtempAccountIdentifierCommandParameterInfo); - - InteractionInfo accountLogingetSetupPINInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .getSetupPIN( - (ChipClusters.AccountLoginCluster.GetSetupPINResponseCallback) callback, - (String) commandArguments.get("tempAccountIdentifier"), - 10000); - }, - () -> new DelegatedAccountLoginClusterGetSetupPINResponseCallback(), - accountLogingetSetupPINCommandParams); - accountLoginClusterInteractionInfoMap.put( - "getSetupPIN", accountLogingetSetupPINInteractionInfo); - Map accountLoginloginCommandParams = - new LinkedHashMap(); - CommandParameterInfo accountLoginlogintempAccountIdentifierCommandParameterInfo = - new CommandParameterInfo("tempAccountIdentifier", String.class, String.class); - accountLoginloginCommandParams.put( - "tempAccountIdentifier", accountLoginlogintempAccountIdentifierCommandParameterInfo); - - CommandParameterInfo accountLoginloginsetupPINCommandParameterInfo = - new CommandParameterInfo("setupPIN", String.class, String.class); - accountLoginloginCommandParams.put("setupPIN", accountLoginloginsetupPINCommandParameterInfo); - - InteractionInfo accountLoginloginInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .login( - (DefaultClusterCallback) callback, - (String) commandArguments.get("tempAccountIdentifier"), - (String) commandArguments.get("setupPIN"), - 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - accountLoginloginCommandParams); - accountLoginClusterInteractionInfoMap.put("login", accountLoginloginInteractionInfo); - Map accountLoginlogoutCommandParams = - new LinkedHashMap(); - InteractionInfo accountLoginlogoutInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.AccountLoginCluster) cluster) - .logout((DefaultClusterCallback) callback, 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - accountLoginlogoutCommandParams); - accountLoginClusterInteractionInfoMap.put("logout", accountLoginlogoutInteractionInfo); - commandMap.put("accountLogin", accountLoginClusterInteractionInfoMap); - Map electricalMeasurementClusterInteractionInfoMap = - new LinkedHashMap<>(); - commandMap.put("electricalMeasurement", electricalMeasurementClusterInteractionInfoMap); - Map unitTestingClusterInteractionInfoMap = new LinkedHashMap<>(); - Map unitTestingtestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).test((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - unitTestingtestCommandParams); - unitTestingClusterInteractionInfoMap.put("test", unitTestingtestInteractionInfo); - Map unitTestingtestNotHandledCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestNotHandledInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testNotHandled((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - unitTestingtestNotHandledCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testNotHandled", unitTestingtestNotHandledInteractionInfo); - Map unitTestingtestSpecificCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestSpecificInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testSpecific( - (ChipClusters.UnitTestingCluster.TestSpecificResponseCallback) callback); - }, - () -> new DelegatedUnitTestingClusterTestSpecificResponseCallback(), - unitTestingtestSpecificCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testSpecific", unitTestingtestSpecificInteractionInfo); - Map unitTestingtestUnknownCommandCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestUnknownCommandInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testUnknownCommand((DefaultClusterCallback) callback); - }, - () -> new DelegatedDefaultClusterCallback(), - unitTestingtestUnknownCommandCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testUnknownCommand", unitTestingtestUnknownCommandInteractionInfo); - Map unitTestingtestAddArgumentsCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingtestAddArgumentsarg1CommandParameterInfo = - new CommandParameterInfo("arg1", Integer.class, Integer.class); - unitTestingtestAddArgumentsCommandParams.put( - "arg1", unitTestingtestAddArgumentsarg1CommandParameterInfo); - - CommandParameterInfo unitTestingtestAddArgumentsarg2CommandParameterInfo = - new CommandParameterInfo("arg2", Integer.class, Integer.class); - unitTestingtestAddArgumentsCommandParams.put( - "arg2", unitTestingtestAddArgumentsarg2CommandParameterInfo); - - InteractionInfo unitTestingtestAddArgumentsInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testAddArguments( - (ChipClusters.UnitTestingCluster.TestAddArgumentsResponseCallback) callback, - (Integer) commandArguments.get("arg1"), - (Integer) commandArguments.get("arg2")); - }, - () -> new DelegatedUnitTestingClusterTestAddArgumentsResponseCallback(), - unitTestingtestAddArgumentsCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testAddArguments", unitTestingtestAddArgumentsInteractionInfo); - Map unitTestingtestStructArgumentRequestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestStructArgumentRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testStructArgumentRequest( - (ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback, - (ChipStructs.UnitTestingClusterSimpleStruct) commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), - unitTestingtestStructArgumentRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testStructArgumentRequest", unitTestingtestStructArgumentRequestInteractionInfo); - Map unitTestingtestNestedStructArgumentRequestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestNestedStructArgumentRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testNestedStructArgumentRequest( - (ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback, - (ChipStructs.UnitTestingClusterNestedStruct) commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), - unitTestingtestNestedStructArgumentRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testNestedStructArgumentRequest", - unitTestingtestNestedStructArgumentRequestInteractionInfo); - Map unitTestingtestListStructArgumentRequestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestListStructArgumentRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testListStructArgumentRequest( - (ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback, - (ArrayList) - commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), - unitTestingtestListStructArgumentRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testListStructArgumentRequest", unitTestingtestListStructArgumentRequestInteractionInfo); - Map unitTestingtestListInt8UArgumentRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingtestListInt8UArgumentRequestarg1CommandParameterInfo = - new CommandParameterInfo("arg1", ArrayList.class, Integer.class); - unitTestingtestListInt8UArgumentRequestCommandParams.put( - "arg1", unitTestingtestListInt8UArgumentRequestarg1CommandParameterInfo); - - InteractionInfo unitTestingtestListInt8UArgumentRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testListInt8UArgumentRequest( - (ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback, - (ArrayList) commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), - unitTestingtestListInt8UArgumentRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testListInt8UArgumentRequest", unitTestingtestListInt8UArgumentRequestInteractionInfo); - Map unitTestingtestNestedStructListArgumentRequestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestNestedStructListArgumentRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testNestedStructListArgumentRequest( - (ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback, - (ChipStructs.UnitTestingClusterNestedStructList) - commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), - unitTestingtestNestedStructListArgumentRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testNestedStructListArgumentRequest", - unitTestingtestNestedStructListArgumentRequestInteractionInfo); - Map - unitTestingtestListNestedStructListArgumentRequestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtestListNestedStructListArgumentRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testListNestedStructListArgumentRequest( - (ChipClusters.UnitTestingCluster.BooleanResponseCallback) callback, - (ArrayList) - commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterBooleanResponseCallback(), - unitTestingtestListNestedStructListArgumentRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testListNestedStructListArgumentRequest", - unitTestingtestListNestedStructListArgumentRequestInteractionInfo); - Map unitTestingtestListInt8UReverseRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingtestListInt8UReverseRequestarg1CommandParameterInfo = - new CommandParameterInfo("arg1", ArrayList.class, Integer.class); - unitTestingtestListInt8UReverseRequestCommandParams.put( - "arg1", unitTestingtestListInt8UReverseRequestarg1CommandParameterInfo); - - InteractionInfo unitTestingtestListInt8UReverseRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testListInt8UReverseRequest( - (ChipClusters.UnitTestingCluster.TestListInt8UReverseResponseCallback) - callback, - (ArrayList) commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterTestListInt8UReverseResponseCallback(), - unitTestingtestListInt8UReverseRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testListInt8UReverseRequest", unitTestingtestListInt8UReverseRequestInteractionInfo); - Map unitTestingtestEnumsRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingtestEnumsRequestarg1CommandParameterInfo = - new CommandParameterInfo("arg1", Integer.class, Integer.class); - unitTestingtestEnumsRequestCommandParams.put( - "arg1", unitTestingtestEnumsRequestarg1CommandParameterInfo); - - CommandParameterInfo unitTestingtestEnumsRequestarg2CommandParameterInfo = - new CommandParameterInfo("arg2", Integer.class, Integer.class); - unitTestingtestEnumsRequestCommandParams.put( - "arg2", unitTestingtestEnumsRequestarg2CommandParameterInfo); - - InteractionInfo unitTestingtestEnumsRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testEnumsRequest( - (ChipClusters.UnitTestingCluster.TestEnumsResponseCallback) callback, - (Integer) commandArguments.get("arg1"), - (Integer) commandArguments.get("arg2")); - }, - () -> new DelegatedUnitTestingClusterTestEnumsResponseCallback(), - unitTestingtestEnumsRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testEnumsRequest", unitTestingtestEnumsRequestInteractionInfo); - Map unitTestingtestNullableOptionalRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingtestNullableOptionalRequestarg1CommandParameterInfo = - new CommandParameterInfo("arg1", Optional.class, Integer.class); - unitTestingtestNullableOptionalRequestCommandParams.put( - "arg1", unitTestingtestNullableOptionalRequestarg1CommandParameterInfo); - - InteractionInfo unitTestingtestNullableOptionalRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testNullableOptionalRequest( - (ChipClusters.UnitTestingCluster.TestNullableOptionalResponseCallback) - callback, - (Optional) commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterTestNullableOptionalResponseCallback(), - unitTestingtestNullableOptionalRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testNullableOptionalRequest", unitTestingtestNullableOptionalRequestInteractionInfo); - Map unitTestingsimpleStructEchoRequestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingsimpleStructEchoRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .simpleStructEchoRequest( - (ChipClusters.UnitTestingCluster.SimpleStructResponseCallback) callback, - (ChipStructs.UnitTestingClusterSimpleStruct) commandArguments.get("arg1")); - }, - () -> new DelegatedUnitTestingClusterSimpleStructResponseCallback(), - unitTestingsimpleStructEchoRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "simpleStructEchoRequest", unitTestingsimpleStructEchoRequestInteractionInfo); - Map unitTestingtimedInvokeRequestCommandParams = - new LinkedHashMap(); - InteractionInfo unitTestingtimedInvokeRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .timedInvokeRequest((DefaultClusterCallback) callback, 10000); - }, - () -> new DelegatedDefaultClusterCallback(), - unitTestingtimedInvokeRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "timedInvokeRequest", unitTestingtimedInvokeRequestInteractionInfo); - Map unitTestingtestSimpleOptionalArgumentRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingtestSimpleOptionalArgumentRequestarg1CommandParameterInfo = - new CommandParameterInfo("arg1", Optional.class, Boolean.class); - unitTestingtestSimpleOptionalArgumentRequestCommandParams.put( - "arg1", unitTestingtestSimpleOptionalArgumentRequestarg1CommandParameterInfo); - - InteractionInfo unitTestingtestSimpleOptionalArgumentRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testSimpleOptionalArgumentRequest( - (DefaultClusterCallback) callback, - (Optional) commandArguments.get("arg1")); - }, - () -> new DelegatedDefaultClusterCallback(), - unitTestingtestSimpleOptionalArgumentRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testSimpleOptionalArgumentRequest", - unitTestingtestSimpleOptionalArgumentRequestInteractionInfo); - Map unitTestingtestEmitTestEventRequestCommandParams = - new LinkedHashMap(); - CommandParameterInfo unitTestingtestEmitTestEventRequestarg1CommandParameterInfo = - new CommandParameterInfo("arg1", Integer.class, Integer.class); - unitTestingtestEmitTestEventRequestCommandParams.put( - "arg1", unitTestingtestEmitTestEventRequestarg1CommandParameterInfo); - - CommandParameterInfo unitTestingtestEmitTestEventRequestarg2CommandParameterInfo = - new CommandParameterInfo("arg2", Integer.class, Integer.class); - unitTestingtestEmitTestEventRequestCommandParams.put( - "arg2", unitTestingtestEmitTestEventRequestarg2CommandParameterInfo); - - CommandParameterInfo unitTestingtestEmitTestEventRequestarg3CommandParameterInfo = - new CommandParameterInfo("arg3", Boolean.class, Boolean.class); - unitTestingtestEmitTestEventRequestCommandParams.put( - "arg3", unitTestingtestEmitTestEventRequestarg3CommandParameterInfo); - - InteractionInfo unitTestingtestEmitTestEventRequestInteractionInfo = - new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster) - .testEmitTestEventRequest( - (ChipClusters.UnitTestingCluster.TestEmitTestEventResponseCallback) callback, - (Integer) commandArguments.get("arg1"), - (Integer) commandArguments.get("arg2"), - (Boolean) commandArguments.get("arg3")); - }, - () -> new DelegatedUnitTestingClusterTestEmitTestEventResponseCallback(), - unitTestingtestEmitTestEventRequestCommandParams); - unitTestingClusterInteractionInfoMap.put( - "testEmitTestEventRequest", unitTestingtestEmitTestEventRequestInteractionInfo); - commandMap.put("unitTesting", unitTestingClusterInteractionInfoMap); - Map faultInjectionClusterInteractionInfoMap = new LinkedHashMap<>(); - commandMap.put("faultInjection", faultInjectionClusterInteractionInfoMap); - return commandMap; - } -}